CVE-2026-98448 Overview
CVE-2026-98448 is a memory leak vulnerability in the Linux kernel's XFS filesystem implementation. The flaw resides in the orphanage directory handling code, where an igrab'd reference to the orphanage directory inode is not released when a chown operation fails. The issue was identified by the LOLLM tool and addressed with a kernel patch that properly releases the inode reference on the error path.
Critical Impact
Repeated failures of the chown operation on the orphanage directory inode cause progressive kernel memory exhaustion, potentially leading to resource depletion over time on affected XFS mounts.
Affected Products
- Linux kernel (XFS filesystem subsystem)
- Stable kernel branches referenced by commits 1c32cdc, 6a65a68, 6b66b1a, and f813aef
- Distributions shipping affected upstream kernel versions prior to the fix
Discovery Timeline
- 2026-10-18 - CVE-2026-98448 published to NVD
- 2026-10-19 - Last updated in NVD database
Technical Details for CVE-2026-98448
Vulnerability Analysis
The vulnerability affects the XFS orphanage directory logic in the Linux kernel. XFS uses an orphanage directory to temporarily hold inodes during filesystem repair and recovery operations. During these operations, the kernel acquires a reference on the orphanage directory inode via igrab and later issues a chown call to adjust ownership.
When the chown operation returns an error, the code path exits without calling the corresponding reference release function. The igrab'd reference remains held for the lifetime of the kernel. Each failed attempt pins additional memory associated with the inode in the kernel's inode cache.
The upstream fix adjusts the error-handling path so that the orphanage directory inode reference is properly released when chown fails, maintaining correct reference counting across both success and failure paths.
Root Cause
The root cause is improper resource cleanup on an error path. The code acquires an inode reference through igrab but omits the matching release call when chown fails. This asymmetric reference management produces a memory leak each time the error condition occurs.
Attack Vector
Triggering the leak requires conditions under which the XFS orphanage directory chown operation fails. Such conditions typically arise during filesystem repair or recovery workflows and are not directly reachable by unprivileged remote users. Local workloads that repeatedly hit the error path on affected kernels can accumulate leaked inode references over time.
See the Linux Kernel Commit 1c32cdc and Linux Kernel Commit 6a65a68 for the full patch context.
Detection Methods for CVE-2026-98448
Indicators of Compromise
- Progressive growth of inode cache memory (slabtop entries for xfs_inode) without corresponding filesystem activity
- Repeated XFS-related error messages in dmesg referencing orphanage or chown failures
- Unexplained increases in kernel memory consumption on hosts running XFS
Detection Strategies
- Monitor the installed kernel version against the fixed commits listed in the kernel.org stable tree references
- Review XFS filesystem logs for recurring failures around repair and recovery operations
- Track long-term memory utilization trends on XFS-backed systems to detect slow leaks
Monitoring Recommendations
- Collect /proc/slabinfo and /proc/meminfo metrics on a scheduled basis for trend analysis
- Alert on sustained growth of xfs_inode slab counts without correlating filesystem workload
- Centralize kernel log collection to detect XFS error patterns across the fleet
How to Mitigate CVE-2026-98448
Immediate Actions Required
- Identify hosts running XFS on affected kernel versions and schedule kernel updates
- Apply the upstream patches referenced by commits 1c32cdc, 6a65a68, 6b66b1a, and f813aef
- Reboot hosts after installing the updated kernel to activate the fix
Patch Information
The fix is available in the Linux stable tree. See the referenced commits for the exact source changes: Linux Kernel Commit 6b66b1a and Linux Kernel Commit f813aef. Distribution vendors backport these commits to their supported kernel branches; consult your vendor's security advisories for release details.
Workarounds
- No upstream workaround is published; apply the kernel patch as the authoritative remediation
- Reduce exposure by avoiding workflows that repeatedly trigger XFS orphanage recovery on unpatched kernels
- Reboot affected hosts periodically to reclaim leaked inode references until patches are deployed
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

