CVE-2024-57892: linux Use After Free
Vulnerability summary
CVE-2024-57892 is a high (CVSS 7.8) Use After Free vulnerability in linux. EPSS estimates a 0.22% chance of exploitation in the next 30 days, higher than 11.7% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 50 · Related 47Timeline
- 15-01-2025PublishedVulnerability first disclosed.
- 11-05-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: ocfs2: fix slab-use-after-free due to dangling pointer dqi_priv When mounting ocfs2 and then remounting it as read-only, a slab-use-after-free occurs after the user uses a syscall to quota_getnextquota. Specifically, sb_dqinfo(sb, type)->dqi_priv is the dangling pointer. During the remounting process, the pointer dqi_priv is freed but is never set as null leaving it to be accessed. Additionally, the read-only option for remounting sets the DQUOT_SUSPENDED flag instead of setting the DQUOT_USAGE_ENABLED flags. Moreover, later in the process of getting the next quota, the function ocfs2_get_next_id is called and only checks the quota usage flags and not the quota suspended flags. To fix this, I set dqi_priv to null when it is freed after remounting with read-only and put a check for DQUOT_SUSPENDED in ocfs2_get_next_id. [akpm@linux-foundation.org: coding-style cleanups]
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.22%
Chance of exploitation in the next 30 days
Percentile
12%
Versus all other CVEs
30-day change
0.00 pp
From 0.22% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Ubuntu134 products
- linuxAll versions (No fix recorded) | < 5.4.0-211.231 | < 5.15.0-135.146 | < 6.8.0-60.63
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 5.4.0-1142.152 | < 5.15.0-1080.87 | < 6.8.0-1029.31
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 8f9e8f5fcc059a3cba87ce837c88316797ef3645, < 58f9e20e2a7602e1dd649a1ec4790077c251cb6c | ≥ 8f9e8f5fcc059a3cba87ce837c88316797ef3645, < 8ff6f635a08c30559ded0c110c7ce03ba7747d11 | ≥ 8f9e8f5fcc059a3cba87ce837c88316797ef3645, < f44e6d70c100614c211703f065cad448050e4a0e | ≥ 8f9e8f5fcc059a3cba87ce837c88316797ef3645, < 2d431192486367eee03cc28d0b53b97dafcb8e63 | ≥ 8f9e8f5fcc059a3cba87ce837c88316797ef3645, < 2e3d203b1adede46bbba049e497765d67865be18 | ≥ 8f9e8f5fcc059a3cba87ce837c88316797ef3645, < ba950a02d8d23811aa1120affd3adedcfac6153d | ≥ 8f9e8f5fcc059a3cba87ce837c88316797ef3645, < 5f3fd772d152229d94602bca243fbb658068a597 | 4.6
- linux_kernel≥ 4.6, < 6.1.125 | ≥ 6.2, < 6.6.70 | ≥ 6.7, < 6.12.9 | 6.13:rc1 | 6.13:rc2 | 6.13:rc3 | 6.13:rc4 | 6.13:rc5
Debian1 product
- linux< 6.1.128-1 | < 6.12.9-1
3 vendors · 137 products