Kernel use-after-free via dangling quota pointer
Published Jan 15, 2025 · Updated May 11, 2026
Use-after-free in Linux kernel OCFS2 allows local users to access freed quota data through quota_getnextquota after a read-only remount. Remount cleanup frees dqi_priv without clearing it, while ocfs2_get_next_id checks quota-usage flags but not DQUOT_SUSPENDED before dereferencing the pointer. The sequence requires CAP_SYS_ADMIN, an OCFS2 quota mount, a read-only remount, and a quota query; further consequences are not documented.
Summary
What happened
Use-after-free in Linux kernel OCFS2 allows local users to access freed quota data through quota_getnextquota after a read-only remount. Remount cleanup frees dqi_priv without clearing it, while ocfs2_get_next_id checks quota-usage flags but not DQUOT_SUSPENDED before dereferencing the pointer. The sequence requires CAP_SYS_ADMIN, an OCFS2 quota mount, a read-only remount, and a quota query; further consequences are not documented.
The record
- CVE
- CVE-2024-57892
- Published
- Jan 15, 2025
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-416
- Attack vector
- local
- Privileges
- admin
Timeline
How it unfolded
- Jan 15, 2025CVE 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=4.6
- Affected versionversion=8f9e8f5fcc059a3cba87ce837c88316797ef3645 <2d431192486367eee03cc28d0b53b97dafcb8e63
- Affected versionversion=8f9e8f5fcc059a3cba87ce837c88316797ef3645 <2e3d203b1adede46bbba049e497765d67865be18
- Affected versionversion=8f9e8f5fcc059a3cba87ce837c88316797ef3645 <58f9e20e2a7602e1dd649a1ec4790077c251cb6c
- Affected versionversion=8f9e8f5fcc059a3cba87ce837c88316797ef3645 <5f3fd772d152229d94602bca243fbb658068a597
- Affected versionversion=8f9e8f5fcc059a3cba87ce837c88316797ef3645 <8ff6f635a08c30559ded0c110c7ce03ba7747d11
- Affected versionversion=8f9e8f5fcc059a3cba87ce837c88316797ef3645 <ba950a02d8d23811aa1120affd3adedcfac6153d
- Affected versionversion=8f9e8f5fcc059a3cba87ce837c88316797ef3645 <f44e6d70c100614c211703f065cad448050e4a0e
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