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.
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.
References
8 totalFrequently 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.