Kernel memory corruption via bg_list refcount race
Published May 9, 2025 · Updated Aug 5, 2026
A btrfs block-group race in the Linux kernel allows local users to corrupt kernel memory through ordinary file operations. Concurrent list_del_init() and list_move_tail() operations on block_group::bg_list can let btrfs_put_block_group() free a block group while it remains linked on the unused list. Exploitation requires write access to a locally mounted btrfs filesystem and can expose or corrupt kernel heap data, panic the system, or damage filesystem metadata.
Summary
What happened
A btrfs block-group race in the Linux kernel allows local users to corrupt kernel memory through ordinary file operations. Concurrent list_del_init() and list_move_tail() operations on block_group::bg_list can let btrfs_put_block_group() free a block group while it remains linked on the unused list. Exploitation requires write access to a locally mounted btrfs filesystem and can expose or corrupt kernel heap data, panic the system, or damage filesystem metadata.
The record
- CVE
- CVE-2025-37856
- Published
- May 9, 2025
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- T1068
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 9, 2025CVE publishedPublication date reported by the CVE source.
- Aug 5, 2026Record 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=01eca70ef8cf499d0cb6d1bbd691558e7792cf17
- Affected versionversion=5.15.128 <5.16
- Affected versionversion=5d19abcffd8404078dfa7d7118cec357b5e7bc58
- Affected versionversion=6.1.47 <6.2
- Affected versionversion=6.4.12 <6.5
- Affected versionversion=6.5
- Affected versionversion=a9f189716cf15913c453299d72f69c51a9b0f86b <185fd73e5ac06027c4be9a129e59193f6a3ef202
- Affected versionversion=a9f189716cf15913c453299d72f69c51a9b0f86b <7511e29cf1355b2c47d0effb39e463119913e2f6
- Affected versionversion=a9f189716cf15913c453299d72f69c51a9b0f86b <909e60fb469d4101c6b08cf6e622efb062bb24a1
- Affected versionversion=a9f189716cf15913c453299d72f69c51a9b0f86b <bf089c4d1141b27332c092b1dcca5022c415a3b6
- Affected versionversion=edf3b5aadb2515c808200b904baa5b70a727f0ac
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
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