xfs: fix temporary cursor leak in btree shift corruption paths
- CVE-2026-99689
- GHSA-hc9r-4727-jjpv
- EUVD-2026-130982
Description
In the Linux kernel, the following vulnerability has been resolved: xfs: fix temporary cursor leak in btree shift corruption paths In xfs_btree_lshift and xfs_btree_rshift, when XFS_IS_CORRUPT detects an invalid firstrec/lastrec result after xfs_btree_dup_cursor has successfully allocated a temporary cursor, the error path jumps to error0 which returns without freeing tcur. This leaks the cursor memory, the xfs_group reference, and the per-level buffer references held by the duplicated cursor. Jump to error1 instead, which calls xfs_btree_del_cursor(tcur, XFS_BTREE_ERROR) to properly release all resources.
Text from the CVE.org record.
Recommendation
No source states a fixed version. Check the vendor advisory.
Affected
Linux
Affected versions Fixed in 2.6.29 none stated before 2.6.29: not affected none stated from 5.10.275 up to 5.10.*: not affected none stated from 5.15.226 up to 5.15.*: not affected none stated from 6.1.193 up to 6.1.*: not affected none stated from 6.6.163 up to 6.6.*: not affected none stated from 6.12.118 up to 6.12.*: not affected none stated from 6.18.64 up to 6.18.*: not affected none stated and 2 more
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.