CVE-2026-80536
xfs: bounds-check buffer log item's dirty bitmap
Reported by linux · Published August 26, 2026
In the Linux kernel, the following vulnerability has been resolved: xfs: bounds-check buffer log item's dirty bitmap xlog_recover_do_reg_buffer() replays each dirty region described by a buffer log item's bitmap into the buffer read for that item: memcpy(xfs_buf_offset(bp, (uint)bit << XFS_BLF_SHIFT), item->ri_buf[i].iov_base, nbits << XFS_BLF_SHIFT); The destination offset (bit/nbits, from the logged dirty bitmap) and the buffer size (from the logged blf_len) are both attacker-controlled and otherwise unrelated, yet the only thing bounding the copy is an ASSERT(), which compiles away on production kernels. A crafted image logging a small blf_len together with a bitmap bit past the end of that buffer drives the memcpy() past the buffer's allocation, corrupting adjacent kernel heap during mount-time log recovery. This is reachable by anyone who can get a crafted image mounted -- the malicious-filesystem threat model XFS already guards against elsewhere. Turn the ASSERT() into a real XFS_IS_CORRUPT() check that aborts recovery of the buffer with -EFSCORRUPTED, consistent with the validate-and-fail idiom already used in xlog_recover_do_inode_buffer() and xfs_dquot_item_recover.c. xlog_recover_do_reg_buffer() therefore becomes STATIC int and its three callers propagate the error. Found and confirmed with KASAN on a CONFIG_XFS_DEBUG=n build: the crafted image trips a slab-out-of-bounds write before this change and fails recovery cleanly with -EFSCORRUPTED after it.
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-rt-64k-modules-extra | errata.rockylinux.org | 5.14.0-687.60.1.el9, 0:5.14.0-687.60.1.el9_8.aarch64 |
| kernel-tools-debuginfo | errata.rockylinux.org | 6.12.0-211.68.1.el10, 5.14.0-687.60.1.el9, 4.18.0-553.177.1.el8, 0:6.12.0-211.68.1.el10_2.x86_64, 0:6.12.0-211.68.1.el10_2.ppc64le, 0:5.14.0-687.60.1.el9_8.x86_64, 0:5.14.0-687.60.1.el9_8.ppc64le, 0:4.18.0-553.177.1.el8_10.x86_64 |
| python3-perf | errata.rockylinux.org | 6.12.0-211.68.1.el10, 5.14.0-687.60.1.el9, 4.18.0-553.177.1.el8, 0:6.12.0-211.68.1.el10_2.x86_64, 0:6.12.0-211.68.1.el10_2.ppc64le, 0:5.14.0-687.60.1.el9_8.s390x, 0:5.14.0-687.60.1.el9_8.ppc64le, 0:4.18.0-553.177.1.el8_10.aarch64 |
| libperf-debuginfo | errata.rockylinux.org | 5.14.0-687.60.1.el9, 0:5.14.0-687.60.1.el9_8.x86_64, 0:5.14.0-687.60.1.el9_8.aarch64 |
| kernel-modules-core | errata.rockylinux.org | 6.12.0-211.68.1.el10, 5.14.0-687.60.1.el9, 0:6.12.0-211.68.1.el10_2.ppc64le, 0:5.14.0-687.60.1.el9_8.aarch64 |
| kernel-rt | errata.rockylinux.org | 6.12.0-211.68.1.el10, 5.14.0-687.60.1.el9, 0:6.12.0-211.68.1.el10_2.x86_64, 0:5.14.0-687.60.1.el9_8.x86_64 |
| kernel-rt-64k-debug-debuginfo | errata.rockylinux.org | 5.14.0-687.60.1.el9, 0:5.14.0-687.60.1.el9_8.aarch64 |
| kernel-debug-debuginfo | errata.rockylinux.org | 6.12.0-211.68.1.el10, 0:6.12.0-211.68.1.el10_2.ppc64le |
| kernel-tools-libs | errata.rockylinux.org | 4.18.0-553.177.1.el8, 0:4.18.0-553.177.1.el8_10.x86_64 |
| kernel-devel | Amazon Linux | 1:6.1.186-228.374.amzn2023 |
| kernel-debug-modules-extra | errata.rockylinux.org | 6.12.0-211.68.1.el10, 5.14.0-687.60.1.el9, 0:6.12.0-211.68.1.el10_2.x86_64, 0:6.12.0-211.68.1.el10_2.s390x, 0:6.12.0-211.68.1.el10_2.aarch64, 0:5.14.0-687.60.1.el9_8.aarch64 |
| rv | errata.rockylinux.org | 6.12.0-211.68.1.el10, 0:6.12.0-211.68.1.el10_2.x86_64 |
47 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 |
| Linux | Linux | 2.6.12, 0, 5.10.267 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel-livepatch-6.12.110-135.201 | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | kernel-livepatch-6.1.186-228.374 | 0 |
| amazon:2023 | kernel-livepatch-6.18.48-107.148 | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
…and 18 more
Timeline
- Aug 26, 2026 CVE Published
- Aug 27, 2026 EPSS Score (10 in total, the first dated here)
- Sep 2, 2026 Security Advisory (6 in total, the first dated here)
- Oct 22, 2026 Distribution Patch (9 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-80536
vulnetix vdb fixes CVE-2026-80536
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-80536/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart