EnvMap GitHub

CVE-2026-142881

9p: fix caches_show() out-of-bounds write

Not scored yetEPSS 0.35%Received

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.

In the words of the organisation that published it (Linux).

Affected

  • Linux: from 6c1861c6115625e1dad1ee3e485ccda8170f227f before b19ab2ad8fdd72bc10da6f624f2; from 435b42a10995ae3227f9ebbd671d4342fa70ffff before 13fd735c0e2e849f3d2c18b7cde; from 0fe10ae42440fe8b17244146a1eba33e5b621013 before 142f0f3fd42d526a623a94e69c9; from cdd2b67dec447b1d1f89df2a047205cc39b85dd1 before 20257ac733d8607c58358b0849c; 6.18

as the publisher (Linux) lists them.

Likelihood of exploitation

FIRST's EPSS gives a 0.35% chance of exploitation in the next 30 days, higher than 30% of all CVEs (as of 4 December 2026).

References

Record

Published04:18 UTC, 3 December 2026
Last changed04:18 UTC, 3 December 2026
NVD statusReceived
Published byLinux

CVE-2026-142881 on NVD · on CVE.org · Security Briefing

Follow it

Add the feed to a feed reader and new items arrive there as they are published, with no account here and no email.

Add to Feedly Add to Inoreader

Any other reader: paste https://envmap.tech/security/feed.xml

Where this comes from

Nothing here is written by an AI, summarised or rewritten: a headline is its newsroom's own and opens its story. A description is in the words of the organisation that published the CVE; a score says whose it is, NVD's or the publisher's; a CVE nobody has scored yet says so. A CVE that is rejected comes off every list. When a source does not answer, the page keeps the last answer it gave and says since when.

How to read it

EnvMap is a free, open-source DevOps control plane that you run yourself; its Security page brings your scanners' findings into one place. See what it does.