# CVE-2026-64187: xfs: fail recovery on a committed log item with no regions

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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.16% (percentile 3, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2026-07-20T16:27:46.653Z
- **Modified:** 2026-11-06T17:18:40.190Z

## Who should check

- Anyone running Linux \>= 89cebc8477290b152618ffa110bbeae340d50900, \< 5105426424ad6981db827cc1ada835a488fab035; \>= 89cebc8477290b152618ffa110bbeae340d50900, \< 226a3c8bea7163c39fe0a1c0ffc7ab7410ef3ba4; \>= 89cebc8477290b152618ffa110bbeae340d50900, \< d0ae7ec3aa61db5140b107f0a63e017f63e56a96; \>= 89cebc8477290b152618ffa110bbeae340d50900, \< d50b1fd066d66ceb548ba43e332cfe8a47e5e55a; \>= 89cebc8477290b152618ffa110bbeae340d50900, \< d98f22d2e11e0a36493aeb25b2933571ee90d9a4; \>= 89cebc8477290b152618ffa110bbeae340d50900, \< cccbabeb9a18fcb978d76d6047f2b59214aa7749; \>= 89cebc8477290b152618ffa110bbeae340d50900, \< 2094dab19d45c487285617b7b68913d0cc0c1211
- Anyone running Linux 4.3

## Description

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

xfs: fail recovery on a committed log item with no regions

If the first op of a transaction is a bare transaction header
(len == sizeof(struct xfs\_trans\_header)), xlog\_recover\_add\_to\_trans()
adds an item but no region, leaving it on r\_itemq with ri\_cnt == 0 and
ri\_buf == NULL.

The header can be split across op records, so later ops may still add
regions; the item is only invalid if the transaction commits with none.
The runtime commit path never emits such a transaction, so this only
happens on a crafted log.  It came from an AI-assisted code audit of the
recovery parser.

xlog\_recover\_reorder\_trans() calls ITEM\_TYPE() on the item, which reads
\*(unsigned short \*)item-\>ri\_buf\[0\].iov\_base and faults on the NULL
ri\_buf.  Reject it there, before the commit handlers that also read
ri\_buf\[0\].

 KASAN: null-ptr-deref in range \[0x0000000000000000-0x0000000000000007\]
 RIP: 0010:xlog\_recover\_reorder\_trans (fs/xfs/xfs\_log\_recover.c:1836)
  xlog\_recover\_commit\_trans (fs/xfs/xfs\_log\_recover.c:2043)
  xlog\_recover\_process\_data (fs/xfs/xfs\_log\_recover.c:2501)
  xlog\_do\_recovery\_pass (fs/xfs/xfs\_log\_recover.c:3244)
  xlog\_recover (fs/xfs/xfs\_log\_recover.c:3493)
  xfs\_log\_mount (fs/xfs/xfs\_log.c:618)
  xfs\_mountfs (fs/xfs/xfs\_mount.c:1034)
  xfs\_fs\_fill\_super (fs/xfs/xfs\_super.c:1938)
  vfs\_get\_tree (fs/super.c:1695)
  path\_mount (fs/namespace.c:4161)
  \_\_x64\_sys\_mount (fs/namespace.c:4367)

## Affected and fixed versions

- Linux: \>= 89cebc8477290b152618ffa110bbeae340d50900, \< 5105426424ad6981db827cc1ada835a488fab035; \>= 89cebc8477290b152618ffa110bbeae340d50900, \< 226a3c8bea7163c39fe0a1c0ffc7ab7410ef3ba4; \>= 89cebc8477290b152618ffa110bbeae340d50900, \< d0ae7ec3aa61db5140b107f0a63e017f63e56a96; \>= 89cebc8477290b152618ffa110bbeae340d50900, \< d50b1fd066d66ceb548ba43e332cfe8a47e5e55a; \>= 89cebc8477290b152618ffa110bbeae340d50900, \< d98f22d2e11e0a36493aeb25b2933571ee90d9a4; \>= 89cebc8477290b152618ffa110bbeae340d50900, \< cccbabeb9a18fcb978d76d6047f2b59214aa7749; \>= 89cebc8477290b152618ffa110bbeae340d50900, \< 2094dab19d45c487285617b7b68913d0cc0c1211 (cvelist)
- Linux: 4.3 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2026-64187.md
Affected: Linux >= 89cebc8477290b152618ffa110bbeae340d50900, < 5105426424ad6981db827cc1ada835a488fab035; >= 89cebc8477290b152618ffa110bbeae340d50900, < 226a3c8bea7163c39fe0a1c0ffc7ab7410ef3ba4; >= 89cebc8477290b152618ffa110bbeae340d50900, < d0ae7ec3aa61db5140b107f0a63e017f63e56a96; >= 89cebc8477290b152618ffa…
Fixed in: Linux 5105426424ad6981db827cc1ada835a488fab035, Linux 226a3c8bea7163c39fe0a1c0ffc7ab7410ef3ba4, Linux 2094dab19d45c487285617b7b68913d0cc0c1211

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

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

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

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 89cebc8477290b152618ffa110bbeae340d50900, \< 5105426424ad6981db827cc1ada835a488fab035; \>= 89cebc8477290b152618ffa110bbeae340d50900, \< 226a3c8bea7163c39fe0a1c0ffc7ab7410ef3ba4; \>= 89cebc8477290b152618ffa110bbeae340d50900, \< d0ae7ec3aa61db5140b107f0a63e017f63e56a96; \>= 89cebc8477290b152618ffa110bbeae340d50900, \< d50b1fd066d66ceb548ba43e332cfe8a47e5e55a; \>= 89cebc8477290b152618ffa110bbeae340d50900, \< d98f22d2e11e0a36493aeb25b2933571ee90d9a4; \>= 89cebc8477290b152618ffa110bbeae340d50900, \< cccbabeb9a18fcb978d76d6047f2b59214aa7749; \>= 89cebc8477290b152618ffa110bbeae340d50900, \< 2094dab19d45c487285617b7b68913d0cc0c1211; Linux 4.3.

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

Yes. Fixed in Linux 5105426424ad6981db827cc1ada835a488fab035, Linux 226a3c8bea7163c39fe0a1c0ffc7ab7410ef3ba4, Linux 2094dab19d45c487285617b7b68913d0cc0c1211. Upgrade Linux to 2094dab19d45c487285617b7b68913d0cc0c1211 or later.

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

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

- patch: <https://git.kernel.org/stable/c/5105426424ad6981db827cc1ada835a488fab035>
- patch: <https://git.kernel.org/stable/c/226a3c8bea7163c39fe0a1c0ffc7ab7410ef3ba4>
- patch: <https://git.kernel.org/stable/c/d0ae7ec3aa61db5140b107f0a63e017f63e56a96>
- patch: <https://git.kernel.org/stable/c/d50b1fd066d66ceb548ba43e332cfe8a47e5e55a>
- patch: <https://git.kernel.org/stable/c/d98f22d2e11e0a36493aeb25b2933571ee90d9a4>
- patch: <https://git.kernel.org/stable/c/cccbabeb9a18fcb978d76d6047f2b59214aa7749>
- patch: <https://git.kernel.org/stable/c/2094dab19d45c487285617b7b68913d0cc0c1211>

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

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