CVE-2026-64187
xfs: fail recovery on a committed log item with no regions
Reported by linux · Published July 20, 2026
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)
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-livepatch-6.12.100-125.179 | Amazon Linux | 1:1.0-0.amzn2023 |
| Linux | Linux | d50b1fd066d66ceb548ba43e332cfe8a47e5e55a, d0ae7ec3aa61db5140b107f0a63e017f63e56a96, 5105426424ad6981db827cc1ada835a488fab035, 4.3, 226a3c8bea7163c39fe0a1c0ffc7ab7410ef3ba4 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 89cebc8477290b152618ffa110bbeae340d50900, 89cebc8477290b152618ffa110bbeae340d50900, 89cebc8477290b152618ffa110bbeae340d50900 |
| Linux | Linux | 4.3, 0, 5.15.212 |
| amazon:2023 | kernel-livepatch-6.12.100-125.179 | 0 |
| Linux | Linux | 7.2, 7.1.4, 89cebc8477290b152618ffa110bbeae340d50900 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | kernel-livepatch-6.18.39-79.141 | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| chainguard | linux-gcp-6.18 | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| linux | linux_kernel | 4.3, 4.3, 4.3 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
…and 19 more
Timeline
- Jul 20, 2026 Coalition ESS Score
- Jul 20, 2026 CVE Published
- Jul 21, 2026 Security Advisory (2 in total, the first dated here)
- Aug 7, 2026 EPSS Score (5 in total, the first dated here)
- Aug 12, 2026 Distribution Patch (3 in total, the first dated here)
- Nov 6, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-64187
vulnetix vdb fixes CVE-2026-64187
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-64187/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart