CVE-2022-3564
Linux Kernel vulnerability analysis and mitigation

Overview

A critical vulnerability (CVE-2022-3564) was discovered in the Linux Kernel's Bluetooth L2CAP subsystem, specifically affecting the l2capreassemblesdu function in net/bluetooth/l2cap_core.c. The vulnerability was discovered on October 17, 2022, and involves a race condition that leads to a use-after-free condition (NVD, Ubuntu Security).

Technical details

The vulnerability stems from a race condition between two parallel flows: 1) l2capreassemblesdu -> chan->ops->recv (l2capsockrecvcb) -> _sockqueuercvskb, and 2) btsockrecvmsg -> skbrecvdatagram, skbfreedatagram. An SKB can be queued by the first flow and immediately dequeued and freed by the second flow, leading to a use-after-free condition when callers of l2capreassemblesdu continue accessing struct l2capctrl that resides in the SKB's CB (Kernel Commit). The vulnerability has been assigned a CVSS 3.1 base score of 7.1 (High) (NetApp Security).

Impact

When successfully exploited, this vulnerability could lead to denial of service (system crash or memory corruption), information disclosure, or potentially privilege escalation. The vulnerability affects systems with Bluetooth capabilities and could be triggered by a local attacker (Ubuntu Security, Debian LTS).

Mitigation and workarounds

The vulnerability has been fixed in various Linux kernel versions across different distributions. For example, Red Hat Enterprise Linux 9.0 received the fix in kernel version 5.14.0-70.49.1.rt21.120.el90, Ubuntu 22.04 LTS in version 5.15.0-56.62, and Debian 10 in version 4.19.269-1 (Red Hat CVE, Debian LTS). The fix involves keeping a local copy of struct l2capctrl to avoid the race condition.

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40343MEDIUM6.4
  • Linux KernelLinux Kernel
  • linux-gcp-5.15
NoYesDec 09, 2025
CVE-2025-40342MEDIUM6.4
  • Linux KernelLinux Kernel
  • kernel-64k-debug-core
NoYesDec 09, 2025
CVE-2025-40340MEDIUM6.4
  • Linux KernelLinux Kernel
  • kernel-rt-debug-kvm
NoYesDec 09, 2025
CVE-2025-40341MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-64k
NoYesDec 09, 2025
CVE-2025-40344N/AN/A
  • Linux KernelLinux Kernel
  • linux-azure-fde-6.14
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management