CVE-2026-139021
publishedlib/842: require a complete history block for repeat templates
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux2da572c959dd5815aef153cf62010b16a498a0d3 to < c22e423581941ceadfde933a6bbc1db378ede4a6 · 2da572c959dd5815aef153cf62010b16a498a0d3 to < a890f7a4db9047ae1c04d52c18593300fbca8359 · 2da572c959dd5815aef153cf62010b16a498a0d3 to < 76975566f468e7dcc99227fedace0e9f8fb3821b · 2da572c959dd5815aef153cf62010b16a498a0d3 to < d4a70bf64c097be00bd296b24f556d176ebb5abf · 2da572c959dd5815aef153cf62010b16a498a0d3 to < 80e4e0d7b3905e0d71dfdfbe0eb6a7a3ef475492 · 2da572c959dd5815aef153cf62010b16a498a0d3 to < ec3bb0b9bb79787d47292544bec1b9f0ab814942 · 2da572c959dd5815aef153cf62010b16a498a0d3 to < 4919ab024e02133b12c2d3a35d31cbd9ff4dc5ea · 2da572c959dd5815aef153cf62010b16a498a0d3 to < deb631649882bbf43f7c2fc79b5990139fd744ba · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux4.2 (affected) · 0 to < 4.2 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.117 through 6.12.* (unaffected · semver) · 6.18.63 through 6.18.* (unaffected · semver) · 7.3.4 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 2da572c959dd5815aef153cf62010b16a498a0d3 to < c22e423581941ceadfde933a6bbc1db378ede4a6 (affected · git)2da572c959dd5815aef153cf62010b16a498a0d3 to < a890f7a4db9047ae1c04d52c18593300fbca8359 (affected · git)2da572c959dd5815aef153cf62010b16a498a0d3 to < 76975566f468e7dcc99227fedace0e9f8fb3821b (affected · git)2da572c959dd5815aef153cf62010b16a498a0d3 to < d4a70bf64c097be00bd296b24f556d176ebb5abf (affected · git)2da572c959dd5815aef153cf62010b16a498a0d3 to < 80e4e0d7b3905e0d71dfdfbe0eb6a7a3ef475492 (affected · git)2da572c959dd5815aef153cf62010b16a498a0d3 to < ec3bb0b9bb79787d47292544bec1b9f0ab814942 (affected · git)2da572c959dd5815aef153cf62010b16a498a0d3 to < 4919ab024e02133b12c2d3a35d31cbd9ff4dc5ea (affected · git)2da572c959dd5815aef153cf62010b16a498a0d3 to < deb631649882bbf43f7c2fc79b5990139fd744ba (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 4.2 (affected)0 to < 4.2 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.117 through 6.12.* (unaffected · semver)6.18.63 through 6.18.* (unaffected · semver)7.3.4 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/4919ab024e02133b12c2d3a35d31cbd9ff4dc5ea
- https://git.kernel.org/stable/c/76975566f468e7dcc99227fedace0e9f8fb3821b
- https://git.kernel.org/stable/c/80e4e0d7b3905e0d71dfdfbe0eb6a7a3ef475492
- https://git.kernel.org/stable/c/a890f7a4db9047ae1c04d52c18593300fbca8359
- https://git.kernel.org/stable/c/c22e423581941ceadfde933a6bbc1db378ede4a6
- https://git.kernel.org/stable/c/d4a70bf64c097be00bd296b24f556d176ebb5abf
- https://git.kernel.org/stable/c/deb631649882bbf43f7c2fc79b5990139fd744ba
- https://git.kernel.org/stable/c/ec3bb0b9bb79787d47292544bec1b9f0ab814942
Provider assertions
1Linux · cna
lib/842: require a complete history block for repeat templates
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 18008167c441622ccc4432cd8aaabd1d62360f2adb6d05af4b413d8348d1f8af
- Ingested
- 30 Nov 2026, 13:36:40 UTC
- Source record
- Official CVE record