# CVE-2026-99689: xfs: fix temporary cursor leak in btree shift corruption paths

Status: published. Published: 2026-11-20. Updated: 2026-11-23.

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.

## Remediation

No remediation reported in collected sources

## Affected products and versions

- Linux / Linux: ≥ 9eaead51bed957af0070a277d945744a76df0c8b; < 476fa55ee5071b113202d7ff87c53ec12c7714ef (affected, git); ≥ 9eaead51bed957af0070a277d945744a76df0c8b; < 90cf07b0e2d827e7ae1b34cf8b2f337332f67b1e (affected, git); ≥ 9eaead51bed957af0070a277d945744a76df0c8b; < ef31e08939f5a926cee9ad9e3b35144d6cddff97 (affected, git); ≥ 9eaead51bed957af0070a277d945744a76df0c8b; < 0c9778449bb8beb9408c71904cebcc3d98b1d3c8 (affected, git); ≥ 9eaead51bed957af0070a277d945744a76df0c8b; < 3f52eb7dd4a584c60f1b190b18fa4958b5fbef65 (affected, git); ≥ 9eaead51bed957af0070a277d945744a76df0c8b; < fa4189dbbd9487de3ef9437572a29c71c5521fe5 (affected, git); ≥ 9eaead51bed957af0070a277d945744a76df0c8b; < 845ef1a6277f8b8bdf6479c6f561c16e5d5f56e2 (affected, git); ≥ 9eaead51bed957af0070a277d945744a76df0c8b; < 2bbca049deeb1699cafd966cb2793fee576ee409 (affected, git). Source: CNA: Linux
- Linux / Linux: 2.6.29 (affected); ≥ 0; < 2.6.29 (unaffected, semver); ≥ 5.10.275; ≤ 5.10.* (unaffected, semver); ≥ 5.15.226; ≤ 5.15.* (unaffected, semver); ≥ 6.1.193; ≤ 6.1.* (unaffected, semver); ≥ 6.6.163; ≤ 6.6.* (unaffected, semver); ≥ 6.12.118; ≤ 6.12.* (unaffected, semver); ≥ 6.18.64; ≤ 6.18.* (unaffected, semver); ≥ 7.3.5; ≤ 7.3.* (unaffected, semver); ≥ 7.4-rc2; ≤ * (unaffected, original_commit_for_fix). Source: CNA: Linux

## Severity and prioritization

- CISA KEV: No listing in collected sources

- EPSS: 0.17% as of 2026-11-22; percentile 6.16%

- SSVC: Not available

- Weaknesses: Not reported

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://git.kernel.org/stable/c/476fa55ee5071b113202d7ff87c53ec12c7714ef (CNA: Linux)

- https://git.kernel.org/stable/c/90cf07b0e2d827e7ae1b34cf8b2f337332f67b1e (CNA: Linux)

- https://git.kernel.org/stable/c/ef31e08939f5a926cee9ad9e3b35144d6cddff97 (CNA: Linux)

- https://git.kernel.org/stable/c/0c9778449bb8beb9408c71904cebcc3d98b1d3c8 (CNA: Linux)

- https://git.kernel.org/stable/c/3f52eb7dd4a584c60f1b190b18fa4958b5fbef65 (CNA: Linux)

- https://git.kernel.org/stable/c/fa4189dbbd9487de3ef9437572a29c71c5521fe5 (CNA: Linux)

- https://git.kernel.org/stable/c/845ef1a6277f8b8bdf6479c6f561c16e5d5f56e2 (CNA: Linux)

- https://git.kernel.org/stable/c/2bbca049deeb1699cafd966cb2793fee576ee409 (CNA: Linux)

- https://git.kernel.org/stable/c/2bbca049deeb1699cafd966cb2793fee576ee409 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

- https://git.kernel.org/stable/c/3f52eb7dd4a584c60f1b190b18fa4958b5fbef65 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

- https://git.kernel.org/stable/c/845ef1a6277f8b8bdf6479c6f561c16e5d5f56e2 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

- https://git.kernel.org/stable/c/fa4189dbbd9487de3ef9437572a29c71c5521fe5 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)

## Provenance

- CNA: Linux: https://www.cve.org/CVERecord?id=CVE-2026-99689; retrieved 2026-11-23; source updated 2026-11-23

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-99689; retrieved 2026-11-20; source updated 2026-11-20

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-99689; retrieved 2026-11-23; source updated Not reported

Revision: 37026fe826ee889acfe455f937c2b91d89603f18ba4c6f070f51cc7ef9e5a7ac

Canonical: https://y2.dev/cve/CVE-2026-99689

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.