Bluetooth: Fix Dangling sco_conn and Use-After-Free in sco_sock_timeout

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1003897: Bluetooth: fix dangling sco_conn and use-after-free in sco_sock_timeout. Affects Kernel versions >= bc4b08383046f3282b6fa58cfcef05bd13e52b93, < 390d82733a953c1fabf3de9c9618091a7a9c90a6. 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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The vulnerability affects the Kernel package in the Linux ecosystem. The Kernel is the core component of the operating system that manages system resources and provides an interface for other software to interact with the hardware. It includes various subsystems, including Bluetooth support. Bluetooth is a wireless communication protocol commonly used for short-range data exchange between devices. The vulnerability in the sco_sock_timeout function of the Bluetooth subsystem can lead to a dangling sco_conn and a use-after-free condition. This vulnerability could potentially be exploited by an attacker to execute arbitrary code or cause a denial-of-service (DoS) condition.

Vulnerability Detail

The vulnerability arises from a flaw in the sco_sock_timeout function of the Bluetooth subsystem. It was introduced in version v4.19.207 of the Linux Kernel by commit bc4b08383046f3282b6fa58cfcef05bd13e52b93 and fixed in version v4.19.247 by commit 390d82733a953c1fabf3de9c9618091a7a9c90a6. The vulnerability can result in a dangling sco_conn, which refers to a Bluetooth SCO (Synchronous Connection-Oriented) connection that is no longer valid. Additionally, it can lead to a use-after-free condition, where a reference to a freed memory object is still accessed. These issues can be exploited by an attacker to manipulate memory and potentially execute arbitrary code or cause a DoS condition.

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

There is no specific workaround mentioned for this vulnerability.

Conclusion

The vulnerability in the sco_sock_timeout function of the Bluetooth subsystem in the Linux Kernel can lead to a dangling sco_conn and a use-after-free condition. It is recommended to update the Kernel package to version v4.19.247 or later to fix this vulnerability. No specific workaround is mentioned. If you have further questions or need assistance with vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can potentially allow an attacker to execute arbitrary code or cause a denial-of-service (DoS) condition.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will analyze the dependencies and alert you if any vulnerabilities are found.

At the time of this report, there are no known public exploits for this vulnerability. However, it is always recommended to apply security patches promptly to mitigate potential risks.

Yes, this vulnerability can be exploited remotely if the affected system has Bluetooth functionality exposed to the network.

For more details about this vulnerability, you can refer to the source link provided in the database_specific section of this report.

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