# CVE-2026-142850

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

In the Linux kernel, the following vulnerability has been resolved:

crypto: nx – validate 'ignore' before subtracting in decompress

The decompress() function subtracts the header-supplied `ignore` value
 (a u16 from
the compressed stream) from `dlen` (the number of bytes produced by the decompressor)
without checking that ignore <= dlen.

If a caller decompresses a crafted buffer where `hdr->ignore` exceeds
 the actual
decompressed length, the subtraction wraps around to a near-UINT_MAX value. The 
subsequent memcpy() then copies gigabytes of data past the destination buffer, causing
an out-of-bounds kernel write.

Add a bounds check before the subtraction and return -EINVAL if the
 value is inconsistent.

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-142850)
