CVE-2023-54209

Linux Kernel 5.19-6.1.38, 6.2-6.3.12, 6.4-6.4.3 - DebugFS Entry Leak via blktrace ioctl

Title source: llm
STIX 2.1

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.

Scores

EPSS 0.0017
EPSS Percentile 7.2%

Details

Status published
Products (13)
linux/Kernel 5.19.0 - 6.1.39linux
linux/Kernel 6.2.0 - 6.3.13linux
linux/Kernel 6.4.0 - 6.4.4linux
Linux/Linux < 5.19
Linux/Linux 5.19
Linux/Linux 6.1.39 - 6.1.*
Linux/Linux 6.3.13 - 6.3.*
Linux/Linux 6.4.4 - 6.4.*
Linux/Linux 6.5
Linux/Linux 99d055b4fd4bbb309c6cdb51a0d420669f777944 - 7149e57cf01184fba175589f8fbe9fbf33be02e1
... and 3 more
Published Dec 30, 2025
Tracked Since Feb 18, 2026