Out-of-bounds read in Linux kernel lib/842 decompression
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from CNA.
Summary
The Linux kernel from 4.2 before the fixed releases has a flaw in the 842 decompression library (lib/842) that accepts a repeat template before a full eight-byte output block exists. The repeat copies from before the start of the output buffer, which can cause an out-of-bounds read of memory. An attacker who can supply corrupted compressed data, such as data on a zram backing device, can trigger the read.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Description from the CNA
In the Linux kernel, the following vulnerability has been resolved: lib/842: require a complete history block for repeat templates An 842 repeat template copies the preceding eight-byte output block. The decoder rejects a repeat only when no output has been produced. A short-data operation can produce between one and seven bytes before a repeat. Such a stream makes the repeat copy read before the start of the output buffer. Depending on the surrounding mapping, this can fault or bring preceding memory into the decompressed data. This is also reachable through zram's compressed writeback path. With 842 selected, targeted corruption of the compressed data on its backing device to a short-data-then-repeat stream made a KASAN kernel report a vmalloc-out-of-bounds read when zram read the page back. Require at least one complete output block before accepting a repeat.
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 | 4.2 and later | 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 4.2 and later 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
Update the Linux kernel to 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4 or 7.4-rc1, using the fixed release for the branch in use.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
- 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
Timeline
- 2026-11-30 Threatist record created from CVE-2026-139021
- 2026-11-30 Alias added: GHSA-g83p-3pfw-fgcv
References
Other 8
- https://git.kernel.org/stable/c/c22e423581941ceadfde933a6bbc1db378ede4a6
- https://git.kernel.org/stable/c/a890f7a4db9047ae1c04d52c18593300fbca8359
- https://git.kernel.org/stable/c/76975566f468e7dcc99227fedace0e9f8fb3821b
- https://git.kernel.org/stable/c/d4a70bf64c097be00bd296b24f556d176ebb5abf
- https://git.kernel.org/stable/c/80e4e0d7b3905e0d71dfdfbe0eb6a7a3ef475492
- https://git.kernel.org/stable/c/ec3bb0b9bb79787d47292544bec1b9f0ab814942
- https://git.kernel.org/stable/c/4919ab024e02133b12c2d3a35d31cbd9ff4dc5ea
- https://git.kernel.org/stable/c/deb631649882bbf43f7c2fc79b5990139fd744ba
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-139021 · CVE Program
- CVE-2026-139021 · NVD
- GHSA-g83p-3pfw-fgcv · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences