{"id":"CVE-2022-50386","aliases":["CVE-2022-50386"],"related":[],"kind":"vulnerability","state":"published","title":"Bluetooth: L2CAP: Fix user-after-free","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: L2CAP: Fix user-after-free\n\nThis uses l2cap_chan_hold_unless_zero() after calling\n__l2cap_get_chan_blah() to prevent the following trace:\n\nBluetooth: l2cap_core.c:static void l2cap_chan_destroy(struct kref\n*kref)\nBluetooth: chan 0000000023c4974d\nBluetooth: parent 00000000ae861c08\n==================================================================\nBUG: KASAN: use-after-free in __mutex_waiter_is_first\nkernel/locking/mutex.c:191 [inline]\nBUG: KASAN: use-after-free in __mutex_lock_common\nkernel/locking/mutex.c:671 [inline]\nBUG: KASAN: use-after-free in __mutex_lock+0x278/0x400\nkernel/locking/mutex.c:729\nRead of size 8 at addr ffff888006a49b08 by task kworker/u3:2/389","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: L2CAP: Fix user-after-free\n\nThis uses l2cap_chan_hold_unless_zero() after calling\n__l2cap_get_chan_blah() to prevent the following trace:\n\nBluetooth: l2cap_core.c:static void l2cap_chan_destroy(struct kref\n*kref)\nBluetooth: chan 0000000023c4974d\nBluetooth: parent 00000000ae861c08\n==================================================================\nBUG: KASAN: use-after-free in __mutex_waiter_is_first\nkernel/locking/mutex.c:191 [inline]\nBUG: KASAN: use-after-free in __mutex_lock_common\nkernel/locking/mutex.c:671 [inline]\nBUG: KASAN: use-after-free in __mutex_lock+0x278/0x400\nkernel/locking/mutex.c:729\nRead of size 8 at addr ffff888006a49b08 by task kworker/u3:2/389","source":"cvelist"}],"published":"2025-09-18T13:33:07.191Z","modified":"2026-08-05T08:58:30.414Z","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"},{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8,"rating":"HIGH"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"git","introduced":"3df91ea20e744344100b10ae69a17211fcf5b207","fixed":"11e40d6c0823f699d8ad501e48d1c3ae4be386cd","status":"affected"},{"type":"git","introduced":"3df91ea20e744344100b10ae69a17211fcf5b207","fixed":"843fc4e386dd84b806a7f07fb062d8c3a44e5364","status":"affected"},{"type":"git","introduced":"3df91ea20e744344100b10ae69a17211fcf5b207","fixed":"d91fc2836562f299f34e361e089e9fe154da4f73","status":"affected"},{"type":"git","introduced":"3df91ea20e744344100b10ae69a17211fcf5b207","fixed":"7d6f9cb24d2b2f6b6370eac074e2e6b1bafdad45","status":"affected"},{"type":"git","introduced":"3df91ea20e744344100b10ae69a17211fcf5b207","fixed":"0c108cf3ad386e0084277093b55a351c49e0be27","status":"affected"},{"type":"git","introduced":"3df91ea20e744344100b10ae69a17211fcf5b207","fixed":"d1e894f950ad48897d1a7cb05909ea29d8c3810e","status":"affected"},{"type":"git","introduced":"3df91ea20e744344100b10ae69a17211fcf5b207","fixed":"6ffde6e03085874ae22263ff4cef4869f797e84f","status":"affected"},{"type":"git","introduced":"3df91ea20e744344100b10ae69a17211fcf5b207","fixed":"15fc21695eb606bdc5d483b92118ee42610a952d","status":"affected"},{"type":"git","introduced":"3df91ea20e744344100b10ae69a17211fcf5b207","fixed":"35fcbc4243aad7e7d020b7c1dfb14bb888b20a4f","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.4","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.4","status":"unaffected"},{"type":"semver","introduced":"4.9.331","lastAffected":"4.9.*","status":"unaffected"},{"type":"semver","introduced":"4.14.296","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.262","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.220","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.150","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.75","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.19.17","lastAffected":"5.19.*","status":"unaffected"},{"type":"semver","introduced":"6.0.3","lastAffected":"6.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"4.9.331"},{"status":"affected","introduced":"4.10","fixed":"4.14.296"},{"status":"affected","introduced":"4.15","fixed":"4.19.262"},{"status":"affected","introduced":"4.20","fixed":"5.4.220"},{"status":"affected","introduced":"5.5","fixed":"5.10.150"},{"status":"affected","introduced":"5.11","fixed":"5.15.75"},{"status":"affected","introduced":"5.16","fixed":"5.19.17"},{"status":"affected","introduced":"6.0","fixed":"6.0.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/11e40d6c0823f699d8ad501e48d1c3ae4be386cd","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/843fc4e386dd84b806a7f07fb062d8c3a44e5364","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d91fc2836562f299f34e361e089e9fe154da4f73","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7d6f9cb24d2b2f6b6370eac074e2e6b1bafdad45","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0c108cf3ad386e0084277093b55a351c49e0be27","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d1e894f950ad48897d1a7cb05909ea29d8c3810e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6ffde6e03085874ae22263ff4cef4869f797e84f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/15fc21695eb606bdc5d483b92118ee42610a952d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/35fcbc4243aad7e7d020b7c1dfb14bb888b20a4f","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-01-14T18:49:08.856Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50386","url":"https://www.cve.org/CVERecord?id=CVE-2022-50386","licence":"CVE Terms of Use","modified":"2026-08-05T08:58:30.414Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50386","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50386","licence":"Public domain","modified":"2026-08-04T10:18:13.947Z"}],"updatedAt":"2026-11-25T22:58:21.192Z","epss":{"score":0.00554,"percentile":0.39966,"date":"2026-11-30T12:00:22.000Z"}}