# CVE-2026-142881

- Bağlantı: https://www.allsafe.com.tr/cve-2026-142881/
- Yayımlanma: 2026-12-03T07:18:26+03:00
- Yazar: Postmaster

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.

Bu kayıt NIST NVD kaynağından aktarılmıştır. Etkilenen sürümler, güncel değerlendirme
ve üretici referansları için kaynak kaydı inceleyin.

Kaynak: [NIST NVD — özgün kaydı inceleyin ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-142881)
