CVE-2022-50386: Bluetooth: L2CAP: Fix user-after-free

Published Sep 18, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

Bluetooth: L2CAP: Fix user-after-free

This uses l2capchanholdunlesszero() after calling l2capgetchanblah() to prevent the following trace:

Bluetooth: l2capcore.c:static void l2capchandestroy(struct kref kref) Bluetooth: chan 0000000023c4974d Bluetooth: parent 00000000ae861c08 ================================================================== BUG: KASAN: use-after-free in mutexwaiterisfirst kernel/locking/mutex.c:191 [inline] BUG: KASAN: use-after-free in mutexlockcommon kernel/locking/mutex.c:671 [inline] BUG: KASAN: use-after-free in mutexlock+0x278/0x400 kernel/locking/mutex.c:729 Read of size 8 at addr ffff888006a49b08 by task kworker/u3:2/389

Affected Software

10 affected components
Linux Linux kernel
Linux Linux kernel<4.9.331
Linux Linux kernel>=4.10<4.14.296
Linux Linux kernel>=4.15<4.19.262
Linux Linux kernel>=4.20<5.4.220
Linux Linux kernel>=5.5<5.10.150
Linux Linux kernel>=5.11<5.15.75
Linux Linux kernel>=5.16<5.19.17
Linux Linux kernel>=6.0<6.0.3
IBM Cloud Pak for Data System<=11.3.0.2-IF1

Event History

Sep 18, 2025
CVE Published
via MITRE·01:33 PM
Data Sourced
via MITRE·01:33 PM
DescriptionSeverity
Data Sourced
via Red Hat·02:04 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·02:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Aug 28, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2022-50386?

CVE-2022-50386 has been classified as a medium severity vulnerability in the Linux kernel.

2

What impact does CVE-2022-50386 have on affected systems?

CVE-2022-50386 can lead to user-after-free issues in Bluetooth L2CAP, potentially allowing an attacker to execute arbitrary code.

3

How do I fix CVE-2022-50386?

To fix CVE-2022-50386, users should update to the latest patched version of the Linux kernel provided by their distribution.

4

Which versions of the Linux kernel are affected by CVE-2022-50386?

CVE-2022-50386 impacts specific versions of the Linux kernel where Bluetooth L2CAP is utilized.

5

Is there a known exploit for CVE-2022-50386?

As of now, there are no publicly known exploits specifically targeting CVE-2022-50386.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203