Read the docs

Out-of-bounds write in Linux kernel 9p caches_show() sysfs handler

Priority LOW 23Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
—
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from CNA.

Summary

In the Linux kernel, the 9p filesystem's caches_show() sysfs handler writes past the end of the sysfs buffer. It appends cache tags with snprintf() and advances the offset by the return value, which is the would-have-been length rather than the bytes stored, so once output exceeds PAGE_SIZE the destination pointer and size go out of bounds. The sources do not report exploitation.

Written with Claude Haiku 5.5 from the sources below · 2026-12-03

Description from the CNA

In the Linux kernel, the following vulnerability has been resolved: 9p: fix caches_show() out-of-bounds write The sysfs show handler for /sys/fs/9p/caches appends cache tags with snprintf(buf + count, limit, ...) and then advances count and limit by the return value. This is incorrect for truncation because snprintf() returns the full would-have-been length, not the number of bytes stored. Once the accumulated output exceeds PAGE_SIZE, count can advance past the sysfs buffer and limit can become negative. A later iteration then passes an out-of-bounds destination pointer and an oversized size_t into snprintf(), leading to an out-of-bounds write. Use sysfs_emit_at() for the append instead. It follows the sysfs buffer contract and returns the number of bytes actually stored, so the offset remains bounded even when the output is truncated.

Why it matters now

EPSS 0.00346 30th percentileScored 2026-12-04
Fix Fixed Linux (Linux): 5.10.275, 5.15.226, 6.1.193 +7

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
LinuxLinux5.10.247 to before 5.10.275; 5.15.197 to before 5.15.226; 6.1.159 to before 6.1.193; 6.6.117 to before 6.6.163; 6.12.58 to before 6.12.118; 5.4.302 to before 5.5; 6.17.8 to before 6.185.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.118, 5.5, 6.18Patch availableCNA
LinuxLinux6.18 and later5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.118, 6.18.64, 7.3.5, 7.4-rc2Patch availableCNA
  • Linux VendorLinux Affected 5.10.247 to before 5.10.275; 5.15.197 to before 5.15.226; 6.1.159 to before 6.1.193; 6.6.117 to before 6.6.163; 6.12.58 to before 6.12.118; 5.4.302 to before 5.5; 6.17.8 to before 6.18 Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.118, 5.5, 6.18 Patch available CNA
  • Linux VendorLinux Affected 6.18 and later Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.118, 6.18.64, 7.3.5, 7.4-rc2 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*——Linux
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions — — ·Linux

Remediation

Linux kernel 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.118, 5.5 and 6.18 contain the fix, and 6.18.64, 7.3.5 and 7.4-rc2 also contain it for the second affected range. Affected ranges are from 5.10.247 before 5.10.275, from 5.15.197 before 5.15.226, from 6.1.159 before 6.1.193, from 6.6.117 before 6.6.163, from 6.12.58 before 6.12.118, from 5.4.302 before 5.5, and from 6.17.8 before 6.18.

Written with Claude Haiku 5.5 from the sources below · 2026-12-03

  • Fix · CNA Linux (Linux) Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.118, 5.5, 6.18
  • Fix · CNA Linux (Linux) Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.118, 6.18.64, 7.3.5, 7.4-rc2

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

Not affected: 7 products
  • Red Hat Enterprise Linux 10
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • Red Hat OpenShift Container Platform 4
  • Red Hat OpenShift Container Platform 5

Timeline

  1. 2026-12-03 Threatist record created from CVE-2026-142881
  2. 2026-12-03 Alias added: GHSA-p9xv-24v5-75c2
  3. 2026-12-03 Affected versions changed · Red Hat
  4. 2026-12-03 CVSS score added · Red Hat

References

  • TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
  • TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
  • TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
  • TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
  • TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
See all 24154 →

Sources