0.0
NA
CVE-2026-142881
9p: fix caches_show() out-of-bounds write
Description

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.

INFO

Published Date :

Dec. 3, 2026, 3:23 a.m.

Last Modified :

Dec. 3, 2026, 3:23 a.m.

Remotely Exploit :

No

Source :

Linux
Affected Products

The following products are affected by CVE-2026-142881 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

Solution
Fix an out-of-bounds write in the Linux kernel's 9p sysfs handler by updating the code.
  • Update the Linux kernel to incorporate the fix.
  • Ensure sysfs_emit_at() is used for appending cache tags.
  • Validate buffer limits and offsets after the update.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-142881 vulnerability anywhere in the article.

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.