xfs: bounds-check buffer log item's dirty bitmap
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 16 fixed, 1 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 2.6.12 and later | 5.10.267, 5.15.218, 6.1.185, 6.6.154, 6.12.106, 6.18.46, 7.1.10, 7.2 | Patch available | CNA |
- Linux VendorLinux Affected 2.6.12 and later Fixed in 5.10.267, 5.15.218, 6.1.185, 6.6.154, 6.12.106, 6.18.46, 7.1.10, 7.2 Patch available CNA
Remediation
- Fix · CNA Linux (Linux) Fixed in 5.10.267, 5.15.218, 6.1.185, 6.6.154, 6.12.106, 6.18.46, 7.1.10, 7.2
Red Hat 4 advisories
- RHSA-2026:88477 Released 2026-10-23 · Red Hat rating Importantkernel security, bug fix, and enhancement update
- 10Base-SMTV kernel-modules-internal-6.12.0-211.68.1.el10_2
- Red Hat Enterprise Linux AppStream (v. 10) kernel-64k-debug-devel-6.12.0-211.68.1.el10_2, kernel-64k-debug-devel-matched-6.12.0-211.68.1.el10_2, kernel-64k-devel-6.12.0-211.68.1.el10_2 +12
- Red Hat Enterprise Linux BaseOS (v. 10) kernel-6.12.0-211.68.1.el10_2, kernel-64k-6.12.0-211.68.1.el10_2, kernel-64k-core-6.12.0-211.68.1.el10_2 +29
- Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) kernel-tools-libs-devel-6.12.0-211.68.1.el10_2, libperf-6.12.0-211.68.1.el10_2
- Red Hat Enterprise Linux Hidden (v. 10) kernel-modules-internal-6.12.0-211.68.1.el10_2
- Red Hat Enterprise Linux Real Time (v. 10) kernel-rt-6.12.0-211.68.1.el10_2, kernel-rt-64k-6.12.0-211.68.1.el10_2, kernel-rt-64k-core-6.12.0-211.68.1.el10_2 +21
- Red Hat Enterprise Linux Real Time for NFV (v. 10) kernel-rt-6.12.0-211.68.1.el10_2, kernel-rt-core-6.12.0-211.68.1.el10_2, kernel-rt-debug-6.12.0-211.68.1.el10_2 +9
- RHSA-2026:87805 Released 2026-10-22 · Red Hat rating Importantkernel security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 9) kernel-64k-debug-devel-5.14.0-687.60.1.el9_8, kernel-64k-debug-devel-matched-5.14.0-687.60.1.el9_8, kernel-64k-devel-5.14.0-687.60.1.el9_8 +12
- Red Hat Enterprise Linux BaseOS (v. 9) kernel-5.14.0-687.60.1.el9_8, kernel-64k-5.14.0-687.60.1.el9_8, kernel-64k-core-5.14.0-687.60.1.el9_8 +28
- Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) kernel-tools-libs-devel-5.14.0-687.60.1.el9_8, libperf-5.14.0-687.60.1.el9_8
- Red Hat Enterprise Linux Real Time (v. 9) kernel-rt-5.14.0-687.60.1.el9_8, kernel-rt-64k-5.14.0-687.60.1.el9_8, kernel-rt-64k-core-5.14.0-687.60.1.el9_8 +21
- Red Hat Enterprise Linux Real Time for NFV (v. 9) kernel-rt-5.14.0-687.60.1.el9_8, kernel-rt-core-5.14.0-687.60.1.el9_8, kernel-rt-debug-5.14.0-687.60.1.el9_8 +9
- RHSA-2026:87375 Released 2026-10-21 · Red Hat rating Importantkernel security update
- Red Hat Enterprise Linux BaseOS (v. 8) bpftool-4.18.0-553.177.1.el8_10, kernel-4.18.0-553.177.1.el8_10, kernel-abi-stablelists-4.18.0-553.177.1.el8_10 +19
- Red Hat Enterprise Linux CRB (v. 8) kernel-tools-libs-devel-4.18.0-553.177.1.el8_10
Show 1 more Red Hat advisories
- RHSA-2026:87374 Released 2026-10-21 · Red Hat rating Importantkernel-rt security update
- Red Hat Enterprise Linux NFV (v. 8) kernel-rt-4.18.0-553.177.1.rt7.518.el8_10, kernel-rt-core-4.18.0-553.177.1.rt7.518.el8_10, kernel-rt-debug-4.18.0-553.177.1.rt7.518.el8_10 +9
- Red Hat Enterprise Linux RT (v. 8) kernel-rt-4.18.0-553.177.1.rt7.518.el8_10, kernel-rt-core-4.18.0-553.177.1.rt7.518.el8_10, kernel-rt-debug-4.18.0-553.177.1.rt7.518.el8_10 +7
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 9 | Affected | No fix yet |
| 10Base-SMTV | Fixed | RHSA-2026:88477 |
| Red Hat Enterprise Linux AppStream (v. 10) | Fixed | RHSA-2026:88477 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2026:87805 |
| Red Hat Enterprise Linux BaseOS (v. 10) | Fixed | RHSA-2026:88477 |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2026:87375 |
| Red Hat Enterprise Linux BaseOS (v. 9) | Fixed | RHSA-2026:87805 |
| Red Hat Enterprise Linux CRB (v. 8) | Fixed | RHSA-2026:87375 |
| Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) | Fixed | RHSA-2026:88477 |
| Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) | Fixed | RHSA-2026:87805 |
| Red Hat Enterprise Linux Hidden (v. 10) | Fixed | RHSA-2026:88477 |
| Red Hat Enterprise Linux NFV (v. 8) | Fixed | RHSA-2026:87374 |
| Red Hat Enterprise Linux RT (v. 8) | Fixed | RHSA-2026:87374 |
| Red Hat Enterprise Linux Real Time (v. 10) | Fixed | RHSA-2026:88477 |
| Red Hat Enterprise Linux Real Time (v. 9) | Fixed | RHSA-2026:87805 |
| Red Hat Enterprise Linux Real Time for NFV (v. 10) | Fixed | RHSA-2026:88477 |
| Red Hat Enterprise Linux Real Time for NFV (v. 9) | Fixed | RHSA-2026:87805 |
Not affected: 2 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
Timeline
- 2026-10-02 Threatist record created from CVE-2026-80536
- 2026-10-03 Alias added: GHSA-qwxm-39mx-rx8g
- 2026-10-18 CISA SSVC decision points changed
- 2026-10-22 Fix available: RHSA-2026:87374 · Red Hat
- 2026-10-22 Fix available: RHSA-2026:87375 · Red Hat
- 2026-10-23 Fix available: RHSA-2026:87805 · Red Hat
- 2026-10-23 Fix available: RHSA-2026:88477 · Red Hat
- 2026-10-23 Fix available: 10Base-SMTV, Red Hat Enterprise Linux AppStream (v. 10), Red Hat Enterprise Linux AppStream (v. 9) +13 · Red Hat
References
Other 8
- https://git.kernel.org/stable/c/acb4e26295e7f0e685815a3fd3d70bd8329cefa1
- https://git.kernel.org/stable/c/f3859c35a4fbc1c1c58431f684f808e43696891d
- https://git.kernel.org/stable/c/f7b5fa83e2c192be922121b764415fa8c7549ea1
- https://git.kernel.org/stable/c/b7528b42813f02724a78fce1da24d69d1bfc4d38
- https://git.kernel.org/stable/c/7e32d4eebae6ca24f8a673c107fd7eca1f47afc2
- https://git.kernel.org/stable/c/f8288214459ead7e87d26e5822f62c14a4f2ed6b
- https://git.kernel.org/stable/c/edaf5b6bd625356893da20d69a259b34a9de2694
- https://git.kernel.org/stable/c/813f8136a2ce1fee266d02a7df73db6e8a541604
More Linux vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Incorrect authorization in Ubuntu linux kernel KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-80536 · CVE Program
- CVE-2026-80536 · NVD
- FIRST EPSS
- GHSA-qwxm-39mx-rx8g · GitHub Advisory Database · CC BY 4.0
- CVE-2026-80536 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences