In the Linux kernel, the following vulnerability has been resolved: ocfs2: fix readdir position truncation on 32-bit kernels In… (CVE-2026-89490)
A vulnerability in the Linux kernel's ocfs2 filesystem on 32-bit kernels causes incorrect directory read position handling when directories exceed 4 GiB in size. This leads to readdir() re-enumerating directory entries indefinitely beyond the 4 GiB boundary. The issue arises from a 32-bit mask applied to a 64-bit position value, truncating the high bits. 64-bit kernels are not affected. A fix has been implemented by casting the mask operand to 64-bit to prevent truncation.
AI Analysis
Technical Summary
The Linux kernel's ocfs2 filesystem had a vulnerability in the ocfs2_dir_foreach_blk_el() function where the directory cookie position (ctx->pos) was truncated on 32-bit kernels due to a 32-bit mask applied to a 64-bit signed position value. This truncation caused the high 32 bits of the position to be cleared, resetting the directory read position back into the first 4 GiB block when crossing the 4 GiB boundary. This results in indefinite re-enumeration of directory entries beyond 4 GiB on 32-bit kernels. The fix involves casting the mask operand to loff_t (64-bit) before the bitwise AND operation, ensuring correct 64-bit masking. 64-bit kernels are unaffected by this issue.
Potential Impact
On 32-bit Linux kernels using ocfs2, reading directories larger than 4 GiB can cause readdir() to loop indefinitely over the first 4 GiB of directory entries. This can disrupt applications relying on directory enumeration, potentially causing performance degradation or denial of service in directory listing operations. 64-bit kernels are not impacted.
Mitigation Recommendations
A fix has been implemented in the Linux kernel source code by casting the mask operand to 64-bit before the bitwise operation, preventing position truncation on 32-bit kernels. Users should apply the official kernel update containing this fix. No additional mitigation is required for 64-bit kernels. Patch status is not explicitly stated; check the vendor advisory or kernel release notes for the fixed version and apply updates accordingly.
In the Linux kernel, the following vulnerability has been resolved: ocfs2: fix readdir position truncation on 32-bit kernels In… (CVE-2026-89490)
Description
A vulnerability in the Linux kernel's ocfs2 filesystem on 32-bit kernels causes incorrect directory read position handling when directories exceed 4 GiB in size. This leads to readdir() re-enumerating directory entries indefinitely beyond the 4 GiB boundary. The issue arises from a 32-bit mask applied to a 64-bit position value, truncating the high bits. 64-bit kernels are not affected. A fix has been implemented by casting the mask operand to 64-bit to prevent truncation.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's ocfs2 filesystem had a vulnerability in the ocfs2_dir_foreach_blk_el() function where the directory cookie position (ctx->pos) was truncated on 32-bit kernels due to a 32-bit mask applied to a 64-bit signed position value. This truncation caused the high 32 bits of the position to be cleared, resetting the directory read position back into the first 4 GiB block when crossing the 4 GiB boundary. This results in indefinite re-enumeration of directory entries beyond 4 GiB on 32-bit kernels. The fix involves casting the mask operand to loff_t (64-bit) before the bitwise AND operation, ensuring correct 64-bit masking. 64-bit kernels are unaffected by this issue.
Potential Impact
On 32-bit Linux kernels using ocfs2, reading directories larger than 4 GiB can cause readdir() to loop indefinitely over the first 4 GiB of directory entries. This can disrupt applications relying on directory enumeration, potentially causing performance degradation or denial of service in directory listing operations. 64-bit kernels are not impacted.
Mitigation Recommendations
A fix has been implemented in the Linux kernel source code by casting the mask operand to 64-bit before the bitwise operation, preventing position truncation on 32-bit kernels. Users should apply the official kernel update containing this fix. No additional mitigation is required for 64-bit kernels. Patch status is not explicitly stated; check the vendor advisory or kernel release notes for the fixed version and apply updates accordingly.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-3jg7-r7pg-8654
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-89490"]
Threat ID: 6aa4a01b55bf5e2cf5a86722
Added to database: 09/12/2026, 00:43:07 UTC
Last enriched: 09/12/2026, 01:14:52 UTC
Last updated: 09/12/2026, 01:14:52 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.