# CVE-2026-98443: xfs: fix cursor and pointer handling when recovering iunlink buckets

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.19% (percentile 5, 2026-11-26)
- **Published:** 2026-10-18T15:14:53.597Z
- **Modified:** 2026-10-30T13:21:13.823Z

## Who should check

- Anyone running Linux \>= 04755d2e5821b3afbaadd09fe5df58d04de36484, \< 8cfde7b2fb7288f4f6b90293e8702ff897c682fe; \>= 04755d2e5821b3afbaadd09fe5df58d04de36484, \< 47a948ba653a463d429e02fda2f06a3d6b78666d; \>= 04755d2e5821b3afbaadd09fe5df58d04de36484, \< 8c9d5b8a96d6b93eb24e07b4163c89341ba29bd1; \>= 04755d2e5821b3afbaadd09fe5df58d04de36484, \< 66a2179d02668f8df44b1a249899006f3ba38ea0; \>= 04755d2e5821b3afbaadd09fe5df58d04de36484, \< 961c717e6bf0e53c2c2b1fe4aef1add9390fedab; \>= 04755d2e5821b3afbaadd09fe5df58d04de36484, \< 65f39d09d73718611cee40399179323b5d4ead00
- Anyone running Linux 6.0

## Description

In the Linux kernel, the following vulnerability has been resolved:

xfs: fix cursor and pointer handling when recovering iunlink buckets

LOLLM pointed out a bug in xlog\_recover\_iunlink\_bucket:

1. We don't null out prev\_ip after releasing it, which can lead to UAF
   problems if the inodegc flush call in the loop fails.

at which point I noticed even more bugs:

2. If the inodegc flush inside the loop fails, we also leak @ip.

3. We set prev\_agino to agino having already advanced agino, which
   results in inodes with i\_prev\_unlinked set to itself.

4. If we exit the bottom of the loop with prev\_ip set, then prev\_ip
   aliases ip and we also set its i\_prev\_unlinked to itself.

Bugs 3 and 4 introduce loops into the unlinked list, though these loops
don't surface because we immediately flush each unlinked inode after
loading it.

Fix all of these issues.

## Affected and fixed versions

- Linux: \>= 04755d2e5821b3afbaadd09fe5df58d04de36484, \< 8cfde7b2fb7288f4f6b90293e8702ff897c682fe; \>= 04755d2e5821b3afbaadd09fe5df58d04de36484, \< 47a948ba653a463d429e02fda2f06a3d6b78666d; \>= 04755d2e5821b3afbaadd09fe5df58d04de36484, \< 8c9d5b8a96d6b93eb24e07b4163c89341ba29bd1; \>= 04755d2e5821b3afbaadd09fe5df58d04de36484, \< 66a2179d02668f8df44b1a249899006f3ba38ea0; \>= 04755d2e5821b3afbaadd09fe5df58d04de36484, \< 961c717e6bf0e53c2c2b1fe4aef1add9390fedab; \>= 04755d2e5821b3afbaadd09fe5df58d04de36484, \< 65f39d09d73718611cee40399179323b5d4ead00 (cvelist)
- Linux: 6.0 (cvelist)

## Mitigation

- Upgrade Linux to 65f39d09d73718611cee40399179323b5d4ead00 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-98443. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98443.md
Affected: Linux >= 04755d2e5821b3afbaadd09fe5df58d04de36484, < 8cfde7b2fb7288f4f6b90293e8702ff897c682fe; >= 04755d2e5821b3afbaadd09fe5df58d04de36484, < 47a948ba653a463d429e02fda2f06a3d6b78666d; >= 04755d2e5821b3afbaadd09fe5df58d04de36484, < 8c9d5b8a96d6b93eb24e07b4163c89341ba29bd1; >= 04755d2e5821b3afbaadd09…
Fixed in: Linux 8cfde7b2fb7288f4f6b90293e8702ff897c682fe, Linux 47a948ba653a463d429e02fda2f06a3d6b78666d, Linux 8c9d5b8a96d6b93eb24e07b4163c89341ba29bd1, Linux 66a2179d02668f8df44b1a249899006f3ba38ea0, Linux 961c717e6bf0e53c2c2b1fe4aef1add9390fedab, Linux 65f39d09d73718611cee40399179323b5d4ead00

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-98443 being exploited?

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

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

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

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

Linux \>= 04755d2e5821b3afbaadd09fe5df58d04de36484, \< 8cfde7b2fb7288f4f6b90293e8702ff897c682fe; \>= 04755d2e5821b3afbaadd09fe5df58d04de36484, \< 47a948ba653a463d429e02fda2f06a3d6b78666d; \>= 04755d2e5821b3afbaadd09fe5df58d04de36484, \< 8c9d5b8a96d6b93eb24e07b4163c89341ba29bd1; \>= 04755d2e5821b3afbaadd09fe5df58d04de36484, \< 66a2179d02668f8df44b1a249899006f3ba38ea0; \>= 04755d2e5821b3afbaadd09fe5df58d04de36484, \< 961c717e6bf0e53c2c2b1fe4aef1add9390fedab; \>= 04755d2e5821b3afbaadd09fe5df58d04de36484, \< 65f39d09d73718611cee40399179323b5d4ead00; Linux 6.0.

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

Yes. Fixed in Linux 8cfde7b2fb7288f4f6b90293e8702ff897c682fe, Linux 47a948ba653a463d429e02fda2f06a3d6b78666d, Linux 8c9d5b8a96d6b93eb24e07b4163c89341ba29bd1, Linux 66a2179d02668f8df44b1a249899006f3ba38ea0, Linux 961c717e6bf0e53c2c2b1fe4aef1add9390fedab, Linux 65f39d09d73718611cee40399179323b5d4ead00. Upgrade Linux to 65f39d09d73718611cee40399179323b5d4ead00 or later.

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

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/8cfde7b2fb7288f4f6b90293e8702ff897c682fe>
- other: <https://git.kernel.org/stable/c/47a948ba653a463d429e02fda2f06a3d6b78666d>
- other: <https://git.kernel.org/stable/c/8c9d5b8a96d6b93eb24e07b4163c89341ba29bd1>
- other: <https://git.kernel.org/stable/c/66a2179d02668f8df44b1a249899006f3ba38ea0>
- other: <https://git.kernel.org/stable/c/961c717e6bf0e53c2c2b1fe4aef1add9390fedab>
- other: <https://git.kernel.org/stable/c/65f39d09d73718611cee40399179323b5d4ead00>

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

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