CVE-2026-142881

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.

Package Linux Kernel
Published 2026-12-03
Last modified 2026-12-03
Patch available
Yes

Affected versions

Linux kernel versions 5.10.247, 5.15.197, 6.1.159, 6.6.117, 6.12.58, 5.4.302, 6.17.8, 6.18 and later are affected. 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 and their respective stable series.

Affected from
≥ 5.10.247 ≥ 5.15.197 ≥ 6.1.159 ≥ 6.6.117 ≥ 6.12.58 ≥ 5.4.302 ≥ 6.17.8 ≥ 6.18
Fixed in
✓ 5.10.275 5.10.x ✓ 5.15.226 5.15.x ✓ 6.1.193 6.1.x ✓ 6.6.163 6.6.x ✓ 6.12.118 6.12.x ✓ 6.18.64 6.18.x ✓ 7.3.5 7.3.x ✓ 7.4-rc2

Frequently asked questions

  • What is CVE-2026-142881?

    CVE-2026-142881 is a unscored severity Linux kernel vulnerability . It affects Linux kernel versions from 5.10.247 onward and has been patched in 5.10.275, 5.15.226, 6.1.193 and others. CVE-2026-142881 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • Is there a patch available for CVE-2026-142881?

    Yes. CVE-2026-142881 has been patched. Fixed versions include 5.10.275, 5.15.226, 6.1.193 and others. If you are running Linux kernel 5.10.247 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2026-142881 actively exploited?

    No. CVE-2026-142881 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.