CVE-2022-50386
HighIn the Linux kernel, the following vulnerability has been resolved: Bluetooth: L2CAP: Fix user-after-free This uses l2cap_chan_hold_unless_zero() after calling __l2cap_get_chan_blah() to prevent the following trace: Bluetooth: l2cap_core.c:static void l2cap_chan_destroy(struct kref *kref) Bluetooth: chan 0000000023c4974d Bluetooth: parent 00000000ae861c08 ================================================================== BUG: KASAN: use-after-free in __mutex_waiter_is_first kernel/locking/mutex.c:191 [inline] BUG: KASAN: use-after-free in __mutex_lock_common kernel/locking/mutex.c:671 [inline] BUG: KASAN: use-after-free in __mutex_lock+0x278/0x400 kernel/locking/mutex.c:729 Read of size 8 at addr ffff888006a49b08 by task kworker/u3:2/389
CVSS 3.1 score
8.0
CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness type
CWE-416CVE-2022-50386 is a Use After Free vulnerability
What is Use After Free?
The product references memory after it has been freed, which may cause it to crash, use unexpected values, or execute code. Learn more on MITRE CWE
Affected versions
Linux kernel versions
3.4
and later are affected. Fixed in
4.9.331,
4.14.296,
4.19.262,
5.4.220,
5.10.150,
5.15.75,
5.19.17,
6.0.3,
6.1
and their respective stable series.
References
The following references provide additional information about CVE-2022-50386 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
PatchKernel patch commithttps://git.kernel.org/stable/c/0c108cf3ad386e0084277093b55a351c49e0be27
-
PatchKernel patch commithttps://git.kernel.org/stable/c/11e40d6c0823f699d8ad501e48d1c3ae4be386cd
-
PatchKernel patch commithttps://git.kernel.org/stable/c/15fc21695eb606bdc5d483b92118ee42610a952d
Frequently asked questions
-
What is CVE-2022-50386?
CVE-2022-50386 is a High severity Linux kernel vulnerability with a CVSS score of 8.0 out of 10 , classified as an Use After Free flaw (CWE-416) . It affects Linux kernel versions from 3.4 onward and has been patched in 4.9.331, 4.14.296, 4.19.262 and others. CVE-2022-50386 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2022-50386?
CVE-2022-50386 has a CVSS score of 8.0 out of 10, rated High severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. -
Is there a patch available for CVE-2022-50386?
Yes — CVE-2022-50386 has been patched. Fixed versions include 4.9.331, 4.14.296, 4.19.262 and others. If you are running Linux kernel 3.4 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2022-50386 actively exploited?
No — CVE-2022-50386 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
-
What is Use After Free (CWE-416)?
The product references memory after it has been freed, which may cause it to crash, use unexpected values, or execute code. View CWE-416 on MITRE CWE →