Bluetooth: L2CAP: hold chan in l2cap_ecred_conn_rsp()
- CVE-2026-142907
- GHSA-hqm5-4pxf-7954
- EUVD-2026-142316
Description
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: L2CAP: hold chan in l2cap_ecred_conn_rsp() l2cap_chan_del() calls l2cap_chan_put() to drop the conn->chan_l reference. If this was the last reference, UAF follows. l2cap_ecred_conn_rsp() iterates chan_l list and calls l2cap_chan_del() on some members, without holding chan reference. Fix by holding refcount while using chan after l2cap_chan_del(). Since orig is looked up by dcid provided by remote, it's also possible orig == chan, so reference needs to be held also after orig use.
Text from the CVE.org record.
Recommendation
Linux
- If you run 6.18.xupdate to 6.18.65 or laterPatch update: breaking changes are unlikely
- If you run 6.12.xupdate to 6.12.119 or laterPatch update: breaking changes are unlikely
- If you run 6.6.xupdate to 6.6.163 or laterPatch update: breaking changes are unlikely
- If you run 6.1.xupdate to 6.1.193 or laterPatch update: breaking changes are unlikely
- If you run 5.15.xupdate to 5.15.226 or laterPatch update: breaking changes are unlikely
- If you run 5.10.xupdate to 5.10.275 or laterPatch update: breaking changes are unlikely
Some affected versions have no stated fix.
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
Linux
Affected versions Fixed in from 6.18.35 to before 6.18.65 6.18.65 from 6.12.93 to before 6.12.119 6.12.119 from 6.6.143 to before 6.6.163 6.6.163 from 6.1.176 to before 6.1.193 6.1.193 from 5.15.210 to before 5.15.226 5.15.226 from 5.10.259 to before 5.10.275 5.10.275 from 7.0.12 to before 7.1 none stated 7.1 none stated and 9 more
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.