In the Linux kernel, the following vulnerability has been resolved: ocfs2: validate directory-index entry counts when reading metadata… (CVE-2026-89492)
A vulnerability in the Linux kernel's ocfs2 filesystem was resolved by adding validation to directory-index entry counts when reading metadata. The flaw allowed out-of-bounds reads from a 4KB metadata block due to missing bounds checks on entry counts in indexed directories. This could be triggered by a crafted on-disk image and reached via common filesystem operations like path lookup, stat(), or open(). The fix adds strict validation to reject corrupted metadata before unsafe reads occur.
AI Analysis
Technical Summary
The Linux kernel's ocfs2 filesystem had a vulnerability where the functions ocfs2_validate_dx_leaf() and ocfs2_validate_dx_root() validated ECC and signatures of indexed-directory blocks but did not bound the ocfs2_dx_entry_list counts against the block capacity. Consequently, ocfs2_dx_dir_search() iterated over de_num_used entries without bounds checking, allowing a crafted on-disk image to set de_num_used to 0xffff and cause out-of-bounds reads beyond the 4KB metadata block. This vulnerability was fixed by adding validation that de_count equals the block capacity and de_num_used does not exceed de_count, rejecting corrupted metadata with an error before unsafe access.
Potential Impact
This vulnerability allows an attacker with the ability to mount a crafted ocfs2 filesystem image to cause out-of-bounds reads in kernel memory during directory operations such as path lookup, stat(), or open(). While no direct exploit code or active exploitation is reported, such out-of-bounds reads can lead to information disclosure or kernel instability.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to validate directory-index entry counts and reject corrupted metadata before unsafe reads occur. Users should apply the official kernel updates that include this patch. Since this is a kernel-level fix, upgrading to a patched kernel version is the recommended mitigation.
In the Linux kernel, the following vulnerability has been resolved: ocfs2: validate directory-index entry counts when reading metadata… (CVE-2026-89492)
Description
A vulnerability in the Linux kernel's ocfs2 filesystem was resolved by adding validation to directory-index entry counts when reading metadata. The flaw allowed out-of-bounds reads from a 4KB metadata block due to missing bounds checks on entry counts in indexed directories. This could be triggered by a crafted on-disk image and reached via common filesystem operations like path lookup, stat(), or open(). The fix adds strict validation to reject corrupted metadata before unsafe reads occur.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's ocfs2 filesystem had a vulnerability where the functions ocfs2_validate_dx_leaf() and ocfs2_validate_dx_root() validated ECC and signatures of indexed-directory blocks but did not bound the ocfs2_dx_entry_list counts against the block capacity. Consequently, ocfs2_dx_dir_search() iterated over de_num_used entries without bounds checking, allowing a crafted on-disk image to set de_num_used to 0xffff and cause out-of-bounds reads beyond the 4KB metadata block. This vulnerability was fixed by adding validation that de_count equals the block capacity and de_num_used does not exceed de_count, rejecting corrupted metadata with an error before unsafe access.
Potential Impact
This vulnerability allows an attacker with the ability to mount a crafted ocfs2 filesystem image to cause out-of-bounds reads in kernel memory during directory operations such as path lookup, stat(), or open(). While no direct exploit code or active exploitation is reported, such out-of-bounds reads can lead to information disclosure or kernel instability.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to validate directory-index entry counts and reject corrupted metadata before unsafe reads occur. Users should apply the official kernel updates that include this patch. Since this is a kernel-level fix, upgrading to a patched kernel version is the recommended mitigation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-pgcv-8w9q-57f9
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-89492"]
Threat ID: 6aa4a01955bf5e2cf5a86707
Added to database: 09/12/2026, 00:43:05 UTC
Last enriched: 09/12/2026, 01:13:45 UTC
Last updated: 09/12/2026, 01:13:45 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.