VDB

CVE-2026-80536

CVE-2026-80536 PUBLISHED CVSS 8.4 HIGH

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.

PackageEcosystemFixed in
kernel-rt-64k-modules-extraerrata.rockylinux.org5.14.0-687.60.1.el9, 0:5.14.0-687.60.1.el9_8.aarch64
kernel-tools-debuginfoerrata.rockylinux.org6.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-perferrata.rockylinux.org6.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-debuginfoerrata.rockylinux.org5.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-coreerrata.rockylinux.org6.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-rterrata.rockylinux.org6.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-debuginfoerrata.rockylinux.org5.14.0-687.60.1.el9, 0:5.14.0-687.60.1.el9_8.aarch64
kernel-debug-debuginfoerrata.rockylinux.org6.12.0-211.68.1.el10, 0:6.12.0-211.68.1.el10_2.ppc64le
kernel-tools-libserrata.rockylinux.org4.18.0-553.177.1.el8, 0:4.18.0-553.177.1.el8_10.x86_64
kernel-develAmazon Linux1:6.1.186-228.374.amzn2023
kernel-debug-modules-extraerrata.rockylinux.org6.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
rverrata.rockylinux.org6.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

CVSS 3.1
8.4
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
LinuxLinux2.6.12, 0, 5.10.267
amazon:2023kernel-devel0
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.18-tools-devel0
amazon:2023kernel-livepatch-6.12.110-135.2010
amazon:2023bpftool6.180
amazon:2023kernel6.180
amazon:2023kernel-livepatch-6.1.186-228.3740
amazon:2023kernel-livepatch-6.18.48-107.1480
amazon:2023kernel0
amazon:2023python3-perf6.180
amazon:2023bpftool0
amazon:2023kernel-tools0
amazon:2023kernel6.12-tools0
amazon:2023kernel6.18-devel0
amazon:2023kernel-modules-extra0
amazon:2023kernel6.120
amazon:2023kernel6.18-headers0
amazon:2023kernel-tools-devel0

…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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›