Bug 2589394 (CVE-2026-142850) - CVE-2026-142850 kernel: kernel: out-of-bounds memory write via integer underflow in crypto decompressor
Summary: CVE-2026-142850 kernel: kernel: out-of-bounds memory write via integer underf...
Keywords:
Status: NEW
Alias: CVE-2026-142850
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-12-03 05:12 UTC by OSIDB Bzimport
Modified: 2026-12-03 10:06 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-12-03 05:12:12 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.