{"id":"CVE-2026-99689","aliases":["CVE-2026-99689"],"related":[],"kind":"vulnerability","state":"published","title":"xfs: fix temporary cursor leak in btree shift corruption paths","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: fix temporary cursor leak in btree shift corruption paths\n\nIn xfs_btree_lshift and xfs_btree_rshift, when XFS_IS_CORRUPT detects\nan invalid firstrec/lastrec result after xfs_btree_dup_cursor has\nsuccessfully allocated a temporary cursor, the error path jumps to\nerror0 which returns without freeing tcur.  This leaks the cursor\nmemory, the xfs_group reference, and the per-level buffer references\nheld by the duplicated cursor.  Jump to error1 instead, which calls\nxfs_btree_del_cursor(tcur, XFS_BTREE_ERROR) to properly release all\nresources.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfs: fix temporary cursor leak in btree shift corruption paths\n\nIn xfs_btree_lshift and xfs_btree_rshift, when XFS_IS_CORRUPT detects\nan invalid firstrec/lastrec result after xfs_btree_dup_cursor has\nsuccessfully allocated a temporary cursor, the error path jumps to\nerror0 which returns without freeing tcur.  This leaks the cursor\nmemory, the xfs_group reference, and the per-level buffer references\nheld by the duplicated cursor.  Jump to error1 instead, which calls\nxfs_btree_del_cursor(tcur, XFS_BTREE_ERROR) to properly release all\nresources.","source":"cvelist"}],"published":"2026-11-20T05:50:34.158Z","modified":"2026-11-23T08:18:09.773Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"9eaead51bed957af0070a277d945744a76df0c8b","fixed":"476fa55ee5071b113202d7ff87c53ec12c7714ef","status":"affected"},{"type":"git","introduced":"9eaead51bed957af0070a277d945744a76df0c8b","fixed":"90cf07b0e2d827e7ae1b34cf8b2f337332f67b1e","status":"affected"},{"type":"git","introduced":"9eaead51bed957af0070a277d945744a76df0c8b","fixed":"ef31e08939f5a926cee9ad9e3b35144d6cddff97","status":"affected"},{"type":"git","introduced":"9eaead51bed957af0070a277d945744a76df0c8b","fixed":"0c9778449bb8beb9408c71904cebcc3d98b1d3c8","status":"affected"},{"type":"git","introduced":"9eaead51bed957af0070a277d945744a76df0c8b","fixed":"3f52eb7dd4a584c60f1b190b18fa4958b5fbef65","status":"affected"},{"type":"git","introduced":"9eaead51bed957af0070a277d945744a76df0c8b","fixed":"fa4189dbbd9487de3ef9437572a29c71c5521fe5","status":"affected"},{"type":"git","introduced":"9eaead51bed957af0070a277d945744a76df0c8b","fixed":"845ef1a6277f8b8bdf6479c6f561c16e5d5f56e2","status":"affected"},{"type":"git","introduced":"9eaead51bed957af0070a277d945744a76df0c8b","fixed":"2bbca049deeb1699cafd966cb2793fee576ee409","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.29","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.29","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.118","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.64","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.5","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/476fa55ee5071b113202d7ff87c53ec12c7714ef","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/90cf07b0e2d827e7ae1b34cf8b2f337332f67b1e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ef31e08939f5a926cee9ad9e3b35144d6cddff97","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0c9778449bb8beb9408c71904cebcc3d98b1d3c8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3f52eb7dd4a584c60f1b190b18fa4958b5fbef65","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fa4189dbbd9487de3ef9437572a29c71c5521fe5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/845ef1a6277f8b8bdf6479c6f561c16e5d5f56e2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2bbca049deeb1699cafd966cb2793fee576ee409","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99689","url":"https://www.cve.org/CVERecord?id=CVE-2026-99689","licence":"CVE Terms of Use","modified":"2026-11-23T08:06:03.656Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99689","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99689","licence":"Public domain","modified":"2026-11-23T08:18:09.773Z"}],"updatedAt":"2026-11-25T22:59:52.308Z","epss":{"score":0.00177,"percentile":0.07593,"date":"2026-12-01T12:00:22.000Z"}}