Critical Btrfs Device Name Disclosure in Linux Kernel - CVE-2021-47599

linux Updated 02 Oct 2025

Summary

19/06/2024
N/A
No i
Medium
4.7

CVE-2021-47599: In the Linux kernel, the following vulnerability has been resolved: btrfs: use latest_dev in btrfs_show_devname The test case btrfs/238 reports the warning below: WARNING: CPU: 3 PID: 481 at fs/btrfs/super.c:2509 btrfs_s... Affects linux versions 5.10.103-1 – 6.9.9-1. 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 Linux kernel is a core component of many operating systems, providing essential services for hardware management and system operations. The Btrfs (B-tree file system) is a modern file system for Linux that offers advanced features like snapshots, dynamic inode allocation, and built-in RAID capabilities. However, it is susceptible to vulnerabilities that can lead to system instability or data exposure, such as the one identified in CVE-2021-47599.

Vulnerability Detail

CVE-2021-47599 is a vulnerability in the Btrfs file system implementation within the Linux kernel. It arises when the function btrfs_show_devname attempts to access device names after the devices have been moved to a different list during the btrfs_prepare_sprout() operation. This results in a warning being triggered, indicating that no devices were found. The potential ramifications include system warnings and possible confusion during system operations, although it does not directly lead to data corruption or unauthorized access.

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

Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to apply the kernel update as described in the 'how_to_fix' section.

Conclusion

CVE-2021-47599 is a notable vulnerability in the Linux kernel's Btrfs file system that can lead to misleading warnings during system operations. It is crucial for users to update their kernels to the fixed versions to ensure system stability and avoid confusion. Monitoring tools like Vulert can assist in keeping track of such vulnerabilities in real-time.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2021-47599 is a vulnerability in the Linux kernel's Btrfs file system that can cause warnings related to device names when certain operations are performed.

While it does not lead to data corruption or unauthorized access, it can cause system warnings that may confuse administrators during system operations.

You should upgrade your Linux kernel to at least version 5.15.15-1 to mitigate this vulnerability.

Yes, you can use tools like Vulert, which monitors open-source vulnerabilities in your software using a manifest file like package-lock.json.

You can check if your application is affected by using the Vulert playground at Vulert Scanner without needing to sign up.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

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