Bluetooth cmtp File Refcount Vulnerability in Linux Kernel

Kernel Updated 02 Oct 2025

Summary

04/06/2021
N/A
No i
Unrated
Not published

GSD-2021-1000603: Bluetooth: cmtp: fix file refcount when cmtp_attach_device fails. Affects Kernel versions < 1b364f8ede200e79e25df0df588fcedc322518fb. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

The Linux Kernel is a widely used open-source operating system kernel that serves as the foundation for various Linux distributions. It provides essential functionality for hardware abstraction, process management, memory management, and device drivers. The Bluetooth subsystem in the Linux Kernel enables communication between devices using Bluetooth technology. The cmtp module within the Bluetooth subsystem is responsible for handling the Cable Replacement Protocol (CMTP) used for file transfer over Bluetooth connections.

Vulnerability Detail

The Bluetooth cmtp module in the Linux Kernel is affected by a vulnerability that can lead to a file reference count issue. When the cmtp_attach_device function fails, it fails to properly handle the file reference count, leading to a potential use-after-free vulnerability. An attacker could exploit this vulnerability to execute arbitrary code or cause a denial-of-service condition. The impact and attack plausibility of this vulnerability have not been proven.

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 known workaround available for this vulnerability.

Conclusion

The Bluetooth cmtp file refcount vulnerability in the Linux Kernel can potentially allow an attacker to execute arbitrary code or cause a denial-of-service condition. It is crucial to update the Linux Kernel to version v5.10.42 or later to mitigate this vulnerability. If you need further assistance or support in addressing this vulnerability, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability could potentially allow an attacker to execute arbitrary code or cause a denial-of-service condition.

You can use the Vulert Playground at Vulert Scanner to check if your Linux Kernel version is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will provide real-time alerts for open-source vulnerabilities, including this one.

No known exploit for this vulnerability has been reported at this time.

Unfortunately, there are no known workarounds or mitigations available for this vulnerability. It is highly recommended to update the Linux Kernel as soon as possible to address this issue.

You can find more information about this vulnerability in the Open Source Vulnerability Database (OSVDB) entry at https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1000xxx/GSD-2021-1000603.json

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

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