A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: hci_conn: return ERR_PTR instead of NULL when there is no link
hci_connect_sco currently returns NULL when there is no link (i.e. when hci_conn_link() returns NULL).
sco_connect() expects an ERR_PTR in case of any error (see line 266 in sco.c). Thus, hcon set as NULL passes through to sco_conn_add(), which tries to get hcon->hdev, resulting in dereferencing a NULL pointer as reported by syzkaller.
The same issue exists for iso_connect_cis() calling hci_connect_cis().
Thus, make hci_connect_sco() and hci_connect_cis() return ERR_PTR instead of NULL.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
References
- git.kernel.org /stable/c/357ab53c83a5322437fa434e9a9e3e0bafe6b383
- git.kernel.org /stable/c/b4066eb04bb67e7ff66e5aaab0db4a753f37eaad
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning