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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-28)
- **Published:** 2026-11-20T05:50:34.158Z
- **Modified:** 2026-11-23T08:18:09.773Z

## Who should check

- Anyone running Linux \>= 9eaead51bed957af0070a277d945744a76df0c8b, \< 476fa55ee5071b113202d7ff87c53ec12c7714ef; \>= 9eaead51bed957af0070a277d945744a76df0c8b, \< 90cf07b0e2d827e7ae1b34cf8b2f337332f67b1e; \>= 9eaead51bed957af0070a277d945744a76df0c8b, \< ef31e08939f5a926cee9ad9e3b35144d6cddff97; \>= 9eaead51bed957af0070a277d945744a76df0c8b, \< 0c9778449bb8beb9408c71904cebcc3d98b1d3c8; \>= 9eaead51bed957af0070a277d945744a76df0c8b, \< 3f52eb7dd4a584c60f1b190b18fa4958b5fbef65; \>= 9eaead51bed957af0070a277d945744a76df0c8b, \< fa4189dbbd9487de3ef9437572a29c71c5521fe5; \>= 9eaead51bed957af0070a277d945744a76df0c8b, \< 845ef1a6277f8b8bdf6479c6f561c16e5d5f56e2; \>= 9eaead51bed957af0070a277d945744a76df0c8b, \< 2bbca049deeb1699cafd966cb2793fee576ee409
- Anyone running Linux 2.6.29

## 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.

## Affected and fixed versions

- Linux: \>= 9eaead51bed957af0070a277d945744a76df0c8b, \< 476fa55ee5071b113202d7ff87c53ec12c7714ef; \>= 9eaead51bed957af0070a277d945744a76df0c8b, \< 90cf07b0e2d827e7ae1b34cf8b2f337332f67b1e; \>= 9eaead51bed957af0070a277d945744a76df0c8b, \< ef31e08939f5a926cee9ad9e3b35144d6cddff97; \>= 9eaead51bed957af0070a277d945744a76df0c8b, \< 0c9778449bb8beb9408c71904cebcc3d98b1d3c8; \>= 9eaead51bed957af0070a277d945744a76df0c8b, \< 3f52eb7dd4a584c60f1b190b18fa4958b5fbef65; \>= 9eaead51bed957af0070a277d945744a76df0c8b, \< fa4189dbbd9487de3ef9437572a29c71c5521fe5; \>= 9eaead51bed957af0070a277d945744a76df0c8b, \< 845ef1a6277f8b8bdf6479c6f561c16e5d5f56e2; \>= 9eaead51bed957af0070a277d945744a76df0c8b, \< 2bbca049deeb1699cafd966cb2793fee576ee409 (cvelist)
- Linux: 2.6.29 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 2bbca049deeb1699cafd966cb2793fee576ee409 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99689. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99689.md
Affected: Linux >= 9eaead51bed957af0070a277d945744a76df0c8b, < 476fa55ee5071b113202d7ff87c53ec12c7714ef; >= 9eaead51bed957af0070a277d945744a76df0c8b, < 90cf07b0e2d827e7ae1b34cf8b2f337332f67b1e; >= 9eaead51bed957af0070a277d945744a76df0c8b, < ef31e08939f5a926cee9ad9e3b35144d6cddff97; >= 9eaead51bed957af0070a27…
Fixed in: Linux 476fa55ee5071b113202d7ff87c53ec12c7714ef, Linux 90cf07b0e2d827e7ae1b34cf8b2f337332f67b1e, Linux 0c9778449bb8beb9408c71904cebcc3d98b1d3c8, Linux 3f52eb7dd4a584c60f1b190b18fa4958b5fbef65, Linux 845ef1a6277f8b8bdf6479c6f561c16e5d5f56e2, Linux 2bbca049deeb1699cafd966cb2793fee576ee409

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-99689 being exploited?

There is no confirmed exploitation: CVE-2026-99689 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-99689?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-99689?

Linux \>= 9eaead51bed957af0070a277d945744a76df0c8b, \< 476fa55ee5071b113202d7ff87c53ec12c7714ef; \>= 9eaead51bed957af0070a277d945744a76df0c8b, \< 90cf07b0e2d827e7ae1b34cf8b2f337332f67b1e; \>= 9eaead51bed957af0070a277d945744a76df0c8b, \< ef31e08939f5a926cee9ad9e3b35144d6cddff97; \>= 9eaead51bed957af0070a277d945744a76df0c8b, \< 0c9778449bb8beb9408c71904cebcc3d98b1d3c8; \>= 9eaead51bed957af0070a277d945744a76df0c8b, \< 3f52eb7dd4a584c60f1b190b18fa4958b5fbef65; \>= 9eaead51bed957af0070a277d945744a76df0c8b, \< fa4189dbbd9487de3ef9437572a29c71c5521fe5; \>= 9eaead51bed957af0070a277d945744a76df0c8b, \< 845ef1a6277f8b8bdf6479c6f561c16e5d5f56e2; \>= 9eaead51bed957af0070a277d945744a76df0c8b, \< 2bbca049deeb1699cafd966cb2793fee576ee409; Linux 2.6.29.

### Is there a fix for CVE-2026-99689?

Yes. Fixed in Linux 476fa55ee5071b113202d7ff87c53ec12c7714ef, Linux 90cf07b0e2d827e7ae1b34cf8b2f337332f67b1e, Linux 0c9778449bb8beb9408c71904cebcc3d98b1d3c8, Linux 3f52eb7dd4a584c60f1b190b18fa4958b5fbef65, Linux 845ef1a6277f8b8bdf6479c6f561c16e5d5f56e2, Linux 2bbca049deeb1699cafd966cb2793fee576ee409. Upgrade Linux to 2bbca049deeb1699cafd966cb2793fee576ee409 or later.

### How do I check if I'm affected by CVE-2026-99689?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/476fa55ee5071b113202d7ff87c53ec12c7714ef>
- other: <https://git.kernel.org/stable/c/90cf07b0e2d827e7ae1b34cf8b2f337332f67b1e>
- other: <https://git.kernel.org/stable/c/ef31e08939f5a926cee9ad9e3b35144d6cddff97>
- other: <https://git.kernel.org/stable/c/0c9778449bb8beb9408c71904cebcc3d98b1d3c8>
- other: <https://git.kernel.org/stable/c/3f52eb7dd4a584c60f1b190b18fa4958b5fbef65>
- other: <https://git.kernel.org/stable/c/fa4189dbbd9487de3ef9437572a29c71c5521fe5>
- other: <https://git.kernel.org/stable/c/845ef1a6277f8b8bdf6479c6f561c16e5d5f56e2>
- other: <https://git.kernel.org/stable/c/2bbca049deeb1699cafd966cb2793fee576ee409>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99689>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-99689> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99689>
