CVE-2026-139021

Source
https://cve.org/CVERecord?id=CVE-2026-139021
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139021.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139021
Downstream
Published
2026-11-30T13:27:08Z
Modified
2026-11-30T15:01:53Z
Summary
lib/842: require a complete history block for repeat templates
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139021.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
2da572c959dd5815aef153cf62010b16a498a0d3
Fixed
c22e423581941ceadfde933a6bbc1db378ede4a6
Fixed
a890f7a4db9047ae1c04d52c18593300fbca8359
Fixed
76975566f468e7dcc99227fedace0e9f8fb3821b
Fixed
d4a70bf64c097be00bd296b24f556d176ebb5abf
Fixed
80e4e0d7b3905e0d71dfdfbe0eb6a7a3ef475492
Fixed
ec3bb0b9bb79787d47292544bec1b9f0ab814942
Fixed
4919ab024e02133b12c2d3a35d31cbd9ff4dc5ea
Fixed
deb631649882bbf43f7c2fc79b5990139fd744ba

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139021.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.2.0
Fixed
5.10.275
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.226
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.193
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.117
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.63
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139021.json"