CVE-2021-3752
Linux Kernel vulnerability analysis and mitigation

Overview

A use-after-free vulnerability was discovered in the Linux kernel's Bluetooth subsystem, specifically in the way user calls connect to the socket and disconnect simultaneously due to a race condition. The vulnerability was assigned CVE-2021-3752 and was discovered by Likang Luo of NSFOCUS Security Team. The issue affects Linux kernel versions prior to 5.15.3 (CVE MITRE, NVD).

Technical details

The vulnerability occurs in the Bluetooth L2CAP implementation where a race condition exists between connecting to a socket and disconnecting. When l2cap_sock_teardown_cb() is executed, the sock is marked as SOCK_ZAPPED and can be treated as killable in l2cap_sock_kill() if sock_orphan() has executed. If the socket is closed through sock_close(), which calls l2cap_sock_kill(), and if another thread reaches l2cap_sock_teardown_cb() again, a use-after-free condition occurs. The vulnerability has a CVSS v3.1 base score of 7.1 (HIGH) (NETAPP).

Impact

This vulnerability allows a local user to crash the system or escalate their privileges. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability (CVE MITRE).

Mitigation and workarounds

The vulnerability has been fixed in Linux kernel version 5.15.3. The fix involves setting chan->data to NULL if the sock is destructed, to prevent teardown operations in l2cap_sock_teardown_cb(), and avoiding killing an already killed socket in l2cap_sock_close_cb(). Various Linux distributions have backported the fix to their supported kernel versions (Debian Security).

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-68753HIGH7.8
  • Linux KernelLinux Kernel
  • linux-realtime
NoYesJan 05, 2026
CVE-2025-68756HIGH7.1
  • Linux KernelLinux Kernel
  • linux-oracle
NoYesJan 05, 2026
CVE-2025-68764MEDIUM5.5
  • Linux KernelLinux Kernel
  • linux-realtime
NoYesJan 05, 2026
CVE-2025-68758MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-core
NoYesJan 05, 2026
CVE-2025-68762N/AN/A
  • Linux KernelLinux Kernel
  • kernel
NoYesJan 05, 2026

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