Fix dangling sco_conn and use-after-free in sco_sock_timeout in Kernel

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1003771: Bluetooth: fix dangling sco_conn and use-after-free in sco_sock_timeout. Affects Kernel versions >= 5ccb04c6e1fb7b97fa2e1785b67c3a1cb3527ef7, < 6f55fac0af3531cf60d11369454c41f5fc81ab3f. No fix is published. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Kernel is a crucial component of the Linux operating system that manages the system's resources and facilitates communication between hardware and software. It provides essential functionalities such as process management, memory management, and device drivers. The vulnerability in question affects the Kernel's Bluetooth module, which is responsible for handling Bluetooth communication. Bluetooth is a wireless technology used for short-range communication between devices. This vulnerability specifically impacts the sco_sock_timeout function in the Bluetooth module.

Vulnerability Detail

The sco_sock_timeout function in the Bluetooth module of the Kernel suffers from two issues: a dangling sco_conn and a use-after-free vulnerability. A dangling sco_conn occurs when a pointer to a Bluetooth SCO (Synchronous Connection-Oriented) connection is not properly cleaned up, leading to potential memory corruption or information disclosure. The use-after-free vulnerability arises when a reference to a freed memory object is still accessed, potentially resulting in a crash or arbitrary code execution. Exploiting these vulnerabilities could allow an attacker to manipulate Bluetooth connections and potentially compromise the system's security or stability.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a workaround, users can disable Bluetooth functionality on their systems until the Kernel update is applied. This can be done by turning off Bluetooth adapters or disabling Bluetooth services. However, this workaround may impact the usability of Bluetooth-dependent features or devices.

Conclusion

In conclusion, the Kernel's Bluetooth module is vulnerable to a dangling sco_conn and use-after-free issue in the sco_sock_timeout function. This vulnerability can potentially be exploited to manipulate Bluetooth connections and compromise system security or stability. To mitigate this risk, it is crucial to update the Linux Kernel to version v5.4.198 or later. Disabling Bluetooth functionality can serve as a temporary workaround, but it may impact the usability of Bluetooth-dependent features or devices. For further assistance or support in addressing this vulnerability, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

This vulnerability could potentially allow an attacker to manipulate Bluetooth connections and compromise the system's security or stability. It may lead to memory corruption, information disclosure, crashes, or even arbitrary code execution.

You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your manifest file (e.g., package-lock.json) to the playground, and it will analyze the dependencies and alert you if any vulnerable versions are detected.

At the time of this report, there are no known public exploits for this vulnerability. However, it is essential to apply the recommended Kernel update promptly to mitigate the risk.

As a temporary measure, you can disable Bluetooth functionality on your system until the Kernel update is applied. This can be done by turning off Bluetooth adapters or disabling Bluetooth services. However, keep in mind that this may impact the usability of Bluetooth-dependent features or devices.

You can find more information about the Kernel update, including the specific commit that addresses this vulnerability, in the Linux Kernel's official repository at https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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