CVE-2023-54209

published 30 Dec 2025 · updated 11 May 2026

block: fix blktrace debugfs entries leakage

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 7149e57cf01184fba175589f8fbe9fbf33be02e1, Kernel 942e81650b81b4ca62f1d8c61de455c9e7c7e6ca, Kernel aa07e56c6a9c7558165690d14eed4fe8babf34fb and 1 more.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.19, >=99d055b4fd4bbb309c6cdb51a0d420669f777944 <7149e57cf01184fba175589f8fbe9fbf33be02e1, >=99d055b4fd4bbb309c6cdb51a0d420669f777944 <942e81650b81b4ca62f1d8c61de455c9e7c7e6ca, >=99d055b4fd4bbb309c6cdb51a0d420669f777944 <aa07e56c6a9c7558165690d14eed4fe8babf34fb, >=99d055b4fd4bbb309c6cdb51a0d420669f777944 <dd7de3704af9989b780693d51eaea49a665bd9c27149e57cf01184fba175589f8fbe9fbf33be02e1, 942e81650b81b4ca62f1d8c61de455c9e7c7e6ca, aa07e56c6a9c7558165690d14eed4fe8babf34fb, dd7de3704af9989b780693d51eaea49a665bd9c2

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-54209 severity on Zeptric[![CVE-2023-54209](https://zeptric.io/badge/cve/CVE-2023-54209.svg)](https://zeptric.io/cve/CVE-2023-54209)