# CVE-2026-142850: crypto: nx - validate 'ignore' before subtracting in decompress

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **Published:** 2026-12-03T03:20:57.496Z
- **Modified:** 2026-12-03T04:18:21.833Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 0daad5ac74ea629cb5911b57749ea22ed5b030d5; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 13a505bc02f9c31532a2aac8d89cfccfb996c32a; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a838c89ad33e40ebf802218551174dafe3ebefde; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< fa054bb88efeadd0aec875b0e6cb8fea961ddbf8; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 51f478985b6466952635c9c6fd7531ebbfde8b54; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 5ecd94581c322d6998f50c32e4fa00f935847059; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 043e094c5550a8b0d4073d4f531f5f403a423e2c; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< b5c2df42977390a71f1940def5be9bd5c69ac2e0; \< 5.10.275; \< 5.15.226; …
- Anyone running Linux all versions

## Description

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.

## Affected and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 0daad5ac74ea629cb5911b57749ea22ed5b030d5; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 13a505bc02f9c31532a2aac8d89cfccfb996c32a; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a838c89ad33e40ebf802218551174dafe3ebefde; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< fa054bb88efeadd0aec875b0e6cb8fea961ddbf8; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 51f478985b6466952635c9c6fd7531ebbfde8b54; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 5ecd94581c322d6998f50c32e4fa00f935847059; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 043e094c5550a8b0d4073d4f531f5f403a423e2c; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< b5c2df42977390a71f1940def5be9bd5c69ac2e0; \< 5.10.275; \< 5.15.226; … (cvelist)
- Linux: all versions (cvelist)

## Technologies

Linux kernel

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-142850. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-142850.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 0daad5ac74ea629cb5911b57749ea22ed5b030d5; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 13a505bc02f9c31532a2aac8d89cfccfb996c32a; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < a838c89ad33e40ebf802218551174dafe3ebefde; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 0daad5ac74ea629cb5911b57749ea22ed5b030d5, Linux 13a505bc02f9c31532a2aac8d89cfccfb996c32a, Linux 51f478985b6466952635c9c6fd7531ebbfde8b54, Linux 5ecd94581c322d6998f50c32e4fa00f935847059, Linux 043e094c5550a8b0d4073d4f531f5f403a423e2c, Linux 5.10.275, Linux 5.15.226

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-142850 being exploited?

There is no confirmed exploitation: CVE-2026-142850 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.

### How serious is CVE-2026-142850?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-142850?

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 0daad5ac74ea629cb5911b57749ea22ed5b030d5; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 13a505bc02f9c31532a2aac8d89cfccfb996c32a; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a838c89ad33e40ebf802218551174dafe3ebefde; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< fa054bb88efeadd0aec875b0e6cb8fea961ddbf8; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 51f478985b6466952635c9c6fd7531ebbfde8b54; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 5ecd94581c322d6998f50c32e4fa00f935847059; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 043e094c5550a8b0d4073d4f531f5f403a423e2c; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< b5c2df42977390a71f1940def5be9bd5c69ac2e0; \< 5.10.275; \< 5.15.226; …; Linux all versions.

### Is there a fix for CVE-2026-142850?

Yes. Fixed in Linux 0daad5ac74ea629cb5911b57749ea22ed5b030d5, Linux 13a505bc02f9c31532a2aac8d89cfccfb996c32a, Linux 51f478985b6466952635c9c6fd7531ebbfde8b54, Linux 5ecd94581c322d6998f50c32e4fa00f935847059, Linux 043e094c5550a8b0d4073d4f531f5f403a423e2c, Linux 5.10.275, Linux 5.15.226. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-142850?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/0daad5ac74ea629cb5911b57749ea22ed5b030d5>
- other: <https://git.kernel.org/stable/c/13a505bc02f9c31532a2aac8d89cfccfb996c32a>
- other: <https://git.kernel.org/stable/c/a838c89ad33e40ebf802218551174dafe3ebefde>
- other: <https://git.kernel.org/stable/c/fa054bb88efeadd0aec875b0e6cb8fea961ddbf8>
- other: <https://git.kernel.org/stable/c/51f478985b6466952635c9c6fd7531ebbfde8b54>
- other: <https://git.kernel.org/stable/c/5ecd94581c322d6998f50c32e4fa00f935847059>
- other: <https://git.kernel.org/stable/c/043e094c5550a8b0d4073d4f531f5f403a423e2c>
- other: <https://git.kernel.org/stable/c/b5c2df42977390a71f1940def5be9bd5c69ac2e0>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-142850>

HTML: <https://flawdb.com/CVE-2026-142850> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-142850>
