CVE-2026-80536

xfs: bounds-check buffer log item's dirty bitmap

8.4 high EPSS 0.14%

Published 26 Aug 2026 Updated 16 Oct 2026 CNA: Linux

Check your servers for CVE-2026-80536

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-80536 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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.

Severity (CVSS)

8.4 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.14%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 3.70% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 16 Oct 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before acb4e26295e7f0e685815a3fd3d70bd8329cefa1
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before f3859c35a4fbc1c1c58431f684f808e43696891d
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before f7b5fa83e2c192be922121b764415fa8c7549ea1
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before b7528b42813f02724a78fce1da24d69d1bfc4d38
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 7e32d4eebae6ca24f8a673c107fd7eca1f47afc2
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before f8288214459ead7e87d26e5822f62c14a4f2ed6b
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before edaf5b6bd625356893da20d69a259b34a9de2694
affected from 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, before 813f8136a2ce1fee266d02a7df73db6e8a541604
Other versions: unaffected
Linux
affected 2.6.12
unaffected before 2.6.12
unaffected from 5.10.267 up to and including 5.10.*
unaffected from 5.15.218 up to and including 5.15.*
unaffected from 6.1.185 up to and including 6.1.*
unaffected from 6.6.154 up to and including 6.6.*
unaffected from 6.12.106 up to and including 6.12.*
unaffected from 6.18.46 up to and including 6.18.*
unaffected from 7.1.10 up to and including 7.1.*
unaffected 7.2 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-80536 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-80536

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-80536
trivy image --scanners vuln IMAGE | grep CVE-2026-80536

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-80536 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.