Kernel warning via null qgroup old_roots
Published Aug 21, 2024 · Updated May 11, 2026
Improper qgroup record handling in Linux 6.1 through 6.1.7 allows local users to trigger a kernel warning during a Btrfs rescan. The btrfs_qgroup_account_extents() path applies WARN_ON() to a qgroup_record whose old_roots pointer can remain null after NO_ACCOUNTING skips back-reference collection and a rescan clears that flag. Reachability requires inconsistent Btrfs qgroups, a record created while accounting is disabled, and a locally initiated rescan; the default result is a warning, while panic_on_warn=1 turns the warning into a kernel panic.
Summary
What happened
Improper qgroup record handling in Linux 6.1 through 6.1.7 allows local users to trigger a kernel warning during a Btrfs rescan. The btrfs_qgroup_account_extents() path applies WARN_ON() to a qgroup_record whose old_roots pointer can remain null after NO_ACCOUNTING skips back-reference collection and a rescan clears that flag. Reachability requires inconsistent Btrfs qgroups, a record created while accounting is disabled, and a locally initiated rescan; the default result is a warning, while panic_on_warn=1 turns the warning into a kernel panic.
The record
- CVE
- CVE-2023-52897
- Published
- Aug 21, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- Unavailable
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Aug 21, 2024CVE publishedPublication date reported by the CVE source.
- May 11, 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=6.1
- Affected versionversion=e15e9f43c7ca25603fcf4c20d44ec777726f1034 <75181406b4eafacc531ff2ee5fb032bd93317e2b
- Affected versionversion=e15e9f43c7ca25603fcf4c20d44ec777726f1034 <bb2c2e62539f2b63c5e0beb51501d328260c7595
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
No sourced classifications are available.
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