In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix slab-out-of-bounds in nilfs_direct_propagate after truncation… (CVE-2026-89723)
A slab-out-of-bounds vulnerability in the Linux kernel's nilfs2 filesystem was fixed. The issue occurred when a B-tree mapping collapsed into a direct mapping during file truncation, leaving an intermediate node block orphaned in the cache. This orphaned block was later processed incorrectly, causing an out-of-bounds memory access. The fix involves explicitly deleting the leftover intermediate node block during the mapping transformation to prevent this error.
AI Analysis
Technical Summary
The vulnerability in the Linux kernel's nilfs2 filesystem was identified by KASAN detecting a slab-out-of-bounds error in the nilfs_direct_propagate() function after file truncation. The root cause was that after truncation, an intermediate B-tree node block below the root was not deleted but remained in the node cache in a dirty state. The log writer then incorrectly invoked nilfs_direct_propagate() on this block, which is only meant for data blocks in direct mapping, leading to out-of-bounds memory access. The fix adds a nilfs_btree_discard() operation to delete the residual intermediate node block during the conversion from B-tree mapping to direct mapping, with a new 'deform' flag to signal this cleanup operation.
Potential Impact
The vulnerability causes a slab-out-of-bounds memory access in kernel memory management, which can lead to kernel instability or crashes. No information about exploitation in the wild or privilege escalation is provided. The impact is primarily a stability and memory safety issue within the nilfs2 filesystem code.
Mitigation Recommendations
A fix has been implemented in the Linux kernel source code to address this issue by properly deleting the orphaned intermediate node block during mapping transformation. Users should update to the fixed kernel version once it is released. No other mitigation steps are indicated.
In the Linux kernel, the following vulnerability has been resolved: nilfs2: fix slab-out-of-bounds in nilfs_direct_propagate after truncation… (CVE-2026-89723)
Description
A slab-out-of-bounds vulnerability in the Linux kernel's nilfs2 filesystem was fixed. The issue occurred when a B-tree mapping collapsed into a direct mapping during file truncation, leaving an intermediate node block orphaned in the cache. This orphaned block was later processed incorrectly, causing an out-of-bounds memory access. The fix involves explicitly deleting the leftover intermediate node block during the mapping transformation to prevent this error.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel's nilfs2 filesystem was identified by KASAN detecting a slab-out-of-bounds error in the nilfs_direct_propagate() function after file truncation. The root cause was that after truncation, an intermediate B-tree node block below the root was not deleted but remained in the node cache in a dirty state. The log writer then incorrectly invoked nilfs_direct_propagate() on this block, which is only meant for data blocks in direct mapping, leading to out-of-bounds memory access. The fix adds a nilfs_btree_discard() operation to delete the residual intermediate node block during the conversion from B-tree mapping to direct mapping, with a new 'deform' flag to signal this cleanup operation.
Potential Impact
The vulnerability causes a slab-out-of-bounds memory access in kernel memory management, which can lead to kernel instability or crashes. No information about exploitation in the wild or privilege escalation is provided. The impact is primarily a stability and memory safety issue within the nilfs2 filesystem code.
Mitigation Recommendations
A fix has been implemented in the Linux kernel source code to address this issue by properly deleting the orphaned intermediate node block during mapping transformation. Users should update to the fixed kernel version once it is released. No other mitigation steps are indicated.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-ffm2-4xxc-m4vx
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-89723"]
Threat ID: 6aa49ffd55bf5e2cf5a865ee
Added to database: 09/12/2026, 00:42:37 UTC
Last enriched: 09/12/2026, 00:52:45 UTC
Last updated: 09/12/2026, 00:52: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.