CVE-2023-54209 Details
Description
In the Linux kernel, the following vulnerability has been resolved: block: fix blktrace debugfs entries leakage Commit 99d055b4fd4b ("block: remove per-disk debugfs files in blk_unregister_queue") moves blk_trace_shutdown() from blk_release_queue() to blk_unregister_queue(), this is safe if blktrace is created through sysfs, however, there is a regression in corner case. blktrace can still be enabled after del_gendisk() through ioctl if the disk is opened before del_gendisk(), and if blktrace is not shutdown through ioctl before closing the disk, debugfs entries will be leaked. Fix this problem by shutdown blktrace in disk_release(), this is safe because blk_trace_remove() is reentrant.
A vulnerability in the Linux kernel's handling of blktrace can lead to a leakage of debugfs entries. This issue arises in a specific scenario where blktrace is enabled via ioctl after the disk has been marked for deletion with del_gendisk(), but before the corresponding debugfs entries have been removed. The vulnerability affects the stable versions of the Linux kernel.
The vulnerability has been addressed by modifying the disk_release function to include a call to blk_trace_remove, ensuring that blktrace is properly shut down before the disk is fully closed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 30, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/7149e57cf01184fba175589f8fbe9fbf33be02e1 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/942e81650b81b4ca62f1d8c61de455c9e7c7e6ca | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/aa07e56c6a9c7558165690d14eed4fe8babf34fb | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/dd7de3704af9989b780693d51eaea49a665bd9c2 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 28, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 30, 2025 | New CVE Received | kernel.org |
Volerion