{"id":"CVE-2026-74540","aliases":["CVE-2026-74540"],"related":[],"kind":"vulnerability","state":"published","title":"Bluetooth: L2CAP: fix UAF in l2cap_le_connect_rsp","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: L2CAP: fix UAF in l2cap_le_connect_rsp\n\nl2cap_le_connect_rsp() obtains a channel via\n__l2cap_get_chan_by_ident() but neither holds a reference nor uses\nl2cap_chan_hold_unless_zero() before locking and operating on it.\nA concurrent l2cap_chan_del() triggered by a remote disconnect can\nfree the channel between the lookup and l2cap_chan_lock(), causing\na use-after-free.\n\nThe BR/EDR counterpart l2cap_connect_rsp() and the sibling handler\nl2cap_le_command_rej() already use l2cap_chan_hold_unless_zero()\nto safely hold a reference, but l2cap_le_connect_rsp() was left\nunprotected.\n\nFix by adding l2cap_chan_hold_unless_zero() after the ident lookup\nand l2cap_chan_put() on the exit path, consistent with other L2CAP\nresponse handlers.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: L2CAP: fix UAF in l2cap_le_connect_rsp\n\nl2cap_le_connect_rsp() obtains a channel via\n__l2cap_get_chan_by_ident() but neither holds a reference nor uses\nl2cap_chan_hold_unless_zero() before locking and operating on it.\nA concurrent l2cap_chan_del() triggered by a remote disconnect can\nfree the channel between the lookup and l2cap_chan_lock(), causing\na use-after-free.\n\nThe BR/EDR counterpart l2cap_connect_rsp() and the sibling handler\nl2cap_le_command_rej() already use l2cap_chan_hold_unless_zero()\nto safely hold a reference, but l2cap_le_connect_rsp() was left\nunprotected.\n\nFix by adding l2cap_chan_hold_unless_zero() after the ident lookup\nand l2cap_chan_put() on the exit path, consistent with other L2CAP\nresponse handlers.","source":"cvelist"}],"published":"2026-08-15T12:27:51.522Z","modified":"2026-10-16T20:17:36.427Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"f1496dee9cbde2a62821f4441dadb0d3360f60c3","fixed":"15d6c2367217a6a20b1abae9f38ded716bf620f1","status":"affected"},{"type":"git","introduced":"f1496dee9cbde2a62821f4441dadb0d3360f60c3","fixed":"1818180fe12d6cec7a437bc59cde8efdf6b10250","status":"affected"},{"type":"git","introduced":"f1496dee9cbde2a62821f4441dadb0d3360f60c3","fixed":"8325eafb38c3dee5af329266393763693d17381b","status":"affected"},{"type":"git","introduced":"f1496dee9cbde2a62821f4441dadb0d3360f60c3","fixed":"fd4c1e301bdec60a40728ea37de531cbccda501a","status":"affected"},{"type":"git","introduced":"f1496dee9cbde2a62821f4441dadb0d3360f60c3","fixed":"522b730c62c53a1981604fd73524697fd347830d","status":"affected"},{"type":"git","introduced":"f1496dee9cbde2a62821f4441dadb0d3360f60c3","fixed":"58e3c5289ad230a7e24ae4b0c7b43f5ee6e32136","status":"affected"},{"type":"git","introduced":"f1496dee9cbde2a62821f4441dadb0d3360f60c3","fixed":"09f447accc2570751e7d17f0dc0788b40d3edade","status":"affected"},{"type":"git","introduced":"f1496dee9cbde2a62821f4441dadb0d3360f60c3","fixed":"c4740e7f23ff9a8210198d8b4703259e21b9f69d","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.14","status":"unaffected"},{"type":"semver","introduced":"5.10.265","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.216","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.183","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.151","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.103","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.44","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.8","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/15d6c2367217a6a20b1abae9f38ded716bf620f1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1818180fe12d6cec7a437bc59cde8efdf6b10250","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8325eafb38c3dee5af329266393763693d17381b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fd4c1e301bdec60a40728ea37de531cbccda501a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/522b730c62c53a1981604fd73524697fd347830d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/58e3c5289ad230a7e24ae4b0c7b43f5ee6e32136","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/09f447accc2570751e7d17f0dc0788b40d3edade","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c4740e7f23ff9a8210198d8b4703259e21b9f69d","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T18:59:42.755Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74540","url":"https://www.cve.org/CVERecord?id=CVE-2026-74540","licence":"CVE Terms of Use","modified":"2026-10-16T19:05:54.604Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74540","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74540","licence":"Public domain","modified":"2026-10-16T20:17:36.427Z"}],"updatedAt":"2026-11-25T22:59:33.250Z","epss":{"score":0.00255,"percentile":0.18226,"date":"2026-12-01T12:00:22.000Z"}}