Kernel crash via btrfs exclusive-operation race
Published Dec 24, 2025 · Updated Dec 24, 2025
Race condition in the Linux kernel btrfs subsystem allows local users to crash the kernel through concurrent device-add operations. In fs/btrfs/ioctl.c, btrfs_exclop_balance asserts an incomplete set of valid exclusive-operation states after racing threads change the state to NONE or BALANCE_PAUSED. Reaching the assertion requires privileged balance and device-add ioctls against the same mount, and the resulting failed assertion interrupts the host.
Summary
What happened
Race condition in the Linux kernel btrfs subsystem allows local users to crash the kernel through concurrent device-add operations. In fs/btrfs/ioctl.c, btrfs_exclop_balance asserts an incomplete set of valid exclusive-operation states after racing threads change the state to NONE or BALANCE_PAUSED. Reaching the assertion requires privileged balance and device-add ioctls against the same mount, and the resulting failed assertion interrupts the host.
The record
- CVE
- CVE-2023-54002
- Published
- Dec 24, 2025
- Updated
- Dec 24, 2025
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1499.004
- Attack vector
- local
- Privileges
- admin
Timeline
How it unfolded
- Dec 24, 2025CVE publishedPublication date reported by the CVE source.
- Dec 24, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <17eaeee4c5f24946aad0298d51f32981c3161d13
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <6062e9e335a3bf409b5118bfe4cc10aff4b6adb1
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <7877dc1136ada770622d22041be306539902951b
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <ac868bc9d136cde6e3eb5de77019a63d57a540ff
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo