Skip to main content

In the Linux kernel, the following vulnerability has been resolved: ocfs2: validate directory-index entry counts when reading metadata… (CVE-2026-89492)

0
Medium
Published: 09/11/2026 (09/11/2026, 21:31:28 UTC)
Source: GCVE Database

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

AILast updated: 09/12/2026, 01:13:45 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses