CVE-2022-3640
Linux Kernel vulnerability analysis and mitigation

Overview

A critical vulnerability identified as CVE-2022-3640 was discovered in the Linux Kernel's Bluetooth subsystem. The vulnerability affects the l2capconndel function in the net/bluetooth/l2cap_core.c file. This use-after-free vulnerability was discovered in October 2022 and impacts various Linux distributions (CVE Mitre, NVD).

Technical details

The vulnerability occurs in the Bluetooth L2CAP subsystem when l2caprecvframe() is invoked to receive data with cid L2CAPCIDA2MP. If the channel does not exist, it creates one without performing a hold operation, leaving the channel reference count at 1. When hcierrorreset() is triggered, l2capconndel() calls the A2MP close hook function to release the channel, leading to a use-after-free condition during l2capchanunlock(chan) (Kernel Commit).

Impact

The vulnerability could be exploited to cause a denial of service through system crash or memory corruption, or potentially lead to privilege escalation. The issue is particularly concerning for systems with Bluetooth capabilities enabled (Debian LTS).

Mitigation and workarounds

The vulnerability has been patched in various Linux distributions. The fix involves adding a proper channel hold operation in the l2capdatachannel function. Users are recommended to update their kernel to the patched versions. For example, Debian 10 users should upgrade to linux-5.10 version 5.10.158-2~deb10u1, while Fedora users should upgrade to kernel version 6.0.8 (Debian LTS, Fedora Update).

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-40205HIGH7.8
  • Linux KernelLinux Kernel
  • linux-azure-6.14
NoYesNov 12, 2025
CVE-2025-40211HIGH7.1
  • Linux KernelLinux Kernel
  • linux-gcp-5.15
NoYesNov 21, 2025
CVE-2025-40206MEDIUM5.5
  • Linux KernelLinux Kernel
  • linux-raspi
NoYesNov 12, 2025
CVE-2025-40210MEDIUM5.1
  • Linux KernelLinux Kernel
  • linux-realtime
NoYesNov 21, 2025
CVE-2025-40212N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-64k-modules
NoYesNov 24, 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