
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2024-57892 is a slab-use-after-free vulnerability in the Linux kernel's OCFS2 filesystem implementation, discovered in January 2025. The vulnerability occurs when mounting an OCFS2 filesystem and then remounting it as read-only, followed by using the quota_getnextquota syscall. The issue specifically affects Linux kernel versions from 4.6 through 6.13-rc5 (NVD).
The vulnerability stems from a dangling pointer issue where sbdqinfo(sb, type)->dqipriv becomes a dangling pointer during the remounting process. When the filesystem is remounted as read-only, the pointer dqipriv is freed but not set to null, leaving it accessible. Additionally, the read-only remounting option sets the DQUOTSUSPENDED flag instead of the DQUOTUSAGEENABLED flags. The ocfs2getnext_id function only checks quota usage flags and not quota suspended flags, leading to the use-after-free condition. The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (HIGH) with vector: AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).
The vulnerability can lead to a slab-use-after-free condition, which could potentially result in privilege escalation, denial of service, or information leaks in affected Linux systems. The high CVSS score indicates significant potential impact on system confidentiality, integrity, and availability (NVD).
The vulnerability has been patched in the Linux kernel. The fix involves setting dqipriv to null when it is freed after remounting with read-only and adding a check for DQUOTSUSPENDED in ocfs2getnext_id. The patch has been backported to various stable kernel versions. Users should update their Linux kernel to a patched version (Kernel Patch).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."