# CVE-2023-54209: block: fix blktrace debugfs entries leakage

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.26% (percentile 11, 2026-11-26)
- **Published:** 2025-12-30T12:11:08.027Z
- **Modified:** 2026-10-28T19:10:00.193Z

## Who should check

- Anyone running Linux \>= 99d055b4fd4bbb309c6cdb51a0d420669f777944, \< aa07e56c6a9c7558165690d14eed4fe8babf34fb; \>= 99d055b4fd4bbb309c6cdb51a0d420669f777944, \< 7149e57cf01184fba175589f8fbe9fbf33be02e1; \>= 99d055b4fd4bbb309c6cdb51a0d420669f777944, \< 942e81650b81b4ca62f1d8c61de455c9e7c7e6ca; \>= 99d055b4fd4bbb309c6cdb51a0d420669f777944, \< dd7de3704af9989b780693d51eaea49a665bd9c2
- Anyone running Linux 5.19

## 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.

## Affected and fixed versions

- Linux: \>= 99d055b4fd4bbb309c6cdb51a0d420669f777944, \< aa07e56c6a9c7558165690d14eed4fe8babf34fb; \>= 99d055b4fd4bbb309c6cdb51a0d420669f777944, \< 7149e57cf01184fba175589f8fbe9fbf33be02e1; \>= 99d055b4fd4bbb309c6cdb51a0d420669f777944, \< 942e81650b81b4ca62f1d8c61de455c9e7c7e6ca; \>= 99d055b4fd4bbb309c6cdb51a0d420669f777944, \< dd7de3704af9989b780693d51eaea49a665bd9c2 (cvelist)
- Linux: 5.19 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-54209. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-54209.md
Affected: Linux >= 99d055b4fd4bbb309c6cdb51a0d420669f777944, < aa07e56c6a9c7558165690d14eed4fe8babf34fb; >= 99d055b4fd4bbb309c6cdb51a0d420669f777944, < 7149e57cf01184fba175589f8fbe9fbf33be02e1; >= 99d055b4fd4bbb309c6cdb51a0d420669f777944, < 942e81650b81b4ca62f1d8c61de455c9e7c7e6ca; >= 99d055b4fd4bbb309c6cdb5…
Fixed in: Linux 7149e57cf01184fba175589f8fbe9fbf33be02e1, Linux 942e81650b81b4ca62f1d8c61de455c9e7c7e6ca

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-54209 being exploited?

There is no confirmed exploitation: CVE-2023-54209 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.26% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-54209?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2023-54209?

Linux \>= 99d055b4fd4bbb309c6cdb51a0d420669f777944, \< aa07e56c6a9c7558165690d14eed4fe8babf34fb; \>= 99d055b4fd4bbb309c6cdb51a0d420669f777944, \< 7149e57cf01184fba175589f8fbe9fbf33be02e1; \>= 99d055b4fd4bbb309c6cdb51a0d420669f777944, \< 942e81650b81b4ca62f1d8c61de455c9e7c7e6ca; \>= 99d055b4fd4bbb309c6cdb51a0d420669f777944, \< dd7de3704af9989b780693d51eaea49a665bd9c2; Linux 5.19.

### Is there a fix for CVE-2023-54209?

Yes. Fixed in Linux 7149e57cf01184fba175589f8fbe9fbf33be02e1, Linux 942e81650b81b4ca62f1d8c61de455c9e7c7e6ca. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-54209?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/aa07e56c6a9c7558165690d14eed4fe8babf34fb>
- other: <https://git.kernel.org/stable/c/7149e57cf01184fba175589f8fbe9fbf33be02e1>
- other: <https://git.kernel.org/stable/c/942e81650b81b4ca62f1d8c61de455c9e7c7e6ca>
- other: <https://git.kernel.org/stable/c/dd7de3704af9989b780693d51eaea49a665bd9c2>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-54209>

HTML: <https://flawdb.com/CVE-2023-54209> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-54209>
