Bluetooth L2CAP Slab-Use-After-Free Vulnerability in Linux Package

linux Updated 02 Oct 2025

Summary

01/04/2025
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2025-21969: In the Linux kernel, the following vulnerability has been resolved: Bluetooth: L2CAP: Fix slab-use-after-free Read in l2cap_send_cmd After the hci sync command releases l2cap_conn, the hci receive data work queue referen... Affects linux versions < 6.12.20-1. Fixed in 6.12.20-1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Linux package is a core component of the Debian operating system, responsible for managing hardware and system resources. It provides essential functionalities such as process management, memory management, and device control. This package is critical for system stability and performance, making it a prime target for vulnerabilities that could compromise system integrity.

Vulnerability Detail

The vulnerability identified as DEBIAN-CVE-2025-21969 is a slab-use-after-free issue in the Bluetooth L2CAP subsystem of the Linux kernel. This flaw occurs when the hci sync command releases the l2cap_conn structure, but the hci receive data work queue still references this released structure when sending data to the upper layer. This can lead to potential memory corruption and system instability, allowing an attacker to exploit the flaw to execute arbitrary code or crash the system.

How To Fix

Minimum fixed version

6.12.20-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can disable Bluetooth functionality if it is not required for their operations. This can be done by executing the command:

sudo systemctl stop bluetooth' to stop the Bluetooth service until the package is updated.

Conclusion

The Bluetooth L2CAP slab-use-after-free vulnerability in the Linux package poses significant risks to system integrity and security. Users are strongly advised to update their systems to the latest patched version to mitigate these risks. Temporary workarounds, such as disabling Bluetooth, can provide additional protection until updates are applied.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

A slab-use-after-free vulnerability occurs when a program continues to use a memory area after it has been freed, potentially leading to memory corruption and exploitation.

You can use Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without requiring any signup.

Exploitation of this vulnerability could allow an attacker to execute arbitrary code, leading to system crashes or unauthorized access to sensitive information.

Yes, the permanent fix is to update the Linux package to version 6.12.20-1 or later, which addresses the vulnerability.

If immediate updates are not possible, consider disabling Bluetooth functionality as a temporary measure to reduce exposure to the vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.12.20-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback