Integer underflow in Linux kernel crypto NX decompress
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 6 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat.
Summary
Linux kernel versions before 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63 and 7.3.4 are affected. In the crypto NX decompress function, the header-supplied ignore value is subtracted from the decompressed length without a bounds check, so the result wraps around to a very large value. A local user with low privileges can trigger an out-of-bounds kernel write by supplying a crafted compressed buffer.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | before 5.10.275; before 5.15.226; before 6.1.193; before 6.6.163; before 6.12.117; before 6.18.63; before 7.3.4 | 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4 | Patch available | CNA |
| Linux | Linux | — | 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4, 7.4-rc1 | Patch available | CNA |
- Linux VendorLinux Affected before 5.10.275; before 5.15.226; before 6.1.193; before 6.6.163; before 6.12.117; before 6.18.63; before 7.3.4 Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4 Patch available CNA
- Linux VendorLinux Affected — Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4, 7.4-rc1 Patch available CNA
Remediation
Fixed versions are 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63 and 7.3.4 for the Linux kernel. Red Hat lists no available fix for Red Hat Enterprise Linux 7, 8, 9 and 10 or for Red Hat OpenShift Container Platform 4 and 5.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
- Fix · CNA Linux (Linux) Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4
- Fix · CNA Linux (Linux) Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4, 7.4-rc1
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet |
| Red Hat Enterprise Linux 7 | Affected | No fix yet |
| Red Hat Enterprise Linux 8 | Affected | No fix yet |
| Red Hat Enterprise Linux 9 | Affected | No fix yet |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet |
| Red Hat OpenShift Container Platform 5 | Affected | No fix yet |
Not affected: 1 product
- Red Hat Enterprise Linux 6
Timeline
- 2026-12-03 Threatist record created from CVE-2026-142850
- 2026-12-03 Alias added: GHSA-3p3g-6g4w-9fq9
- 2026-12-03 Affected versions changed · Red Hat
- 2026-12-03 CVSS score added · Red Hat
- 2026-12-04 CVSS score added · CNA
- 2026-12-04 Affected versions changed · Red Hat
- 2026-12-04 Affected versions changed · Red Hat
References
Other 8
- https://git.kernel.org/stable/c/0daad5ac74ea629cb5911b57749ea22ed5b030d5
- https://git.kernel.org/stable/c/13a505bc02f9c31532a2aac8d89cfccfb996c32a
- https://git.kernel.org/stable/c/a838c89ad33e40ebf802218551174dafe3ebefde
- https://git.kernel.org/stable/c/fa054bb88efeadd0aec875b0e6cb8fea961ddbf8
- https://git.kernel.org/stable/c/51f478985b6466952635c9c6fd7531ebbfde8b54
- https://git.kernel.org/stable/c/5ecd94581c322d6998f50c32e4fa00f935847059
- https://git.kernel.org/stable/c/043e094c5550a8b0d4073d4f531f5f403a423e2c
- https://git.kernel.org/stable/c/b5c2df42977390a71f1940def5be9bd5c69ac2e0
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-142850 · CVE Program
- CVE-2026-142850 · NVD
- FIRST EPSS
- GHSA-3p3g-6g4w-9fq9 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-142850 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences