lib/842: require a complete history block for repeat templates

Summary

CVECVE-2026-139021
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-30 14:18:05 UTC
Updated2026-11-30 14:18:05 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 2da572c959dd5815aef153cf62010b16a498a0d3 c22e423581941ceadfde933a6bbc1db378ede4a6 git Not specified
CNA Linux Linux affected 2da572c959dd5815aef153cf62010b16a498a0d3 a890f7a4db9047ae1c04d52c18593300fbca8359 git Not specified
CNA Linux Linux affected 2da572c959dd5815aef153cf62010b16a498a0d3 76975566f468e7dcc99227fedace0e9f8fb3821b git Not specified
CNA Linux Linux affected 2da572c959dd5815aef153cf62010b16a498a0d3 d4a70bf64c097be00bd296b24f556d176ebb5abf git Not specified
CNA Linux Linux affected 2da572c959dd5815aef153cf62010b16a498a0d3 80e4e0d7b3905e0d71dfdfbe0eb6a7a3ef475492 git Not specified
CNA Linux Linux affected 2da572c959dd5815aef153cf62010b16a498a0d3 ec3bb0b9bb79787d47292544bec1b9f0ab814942 git Not specified
CNA Linux Linux affected 2da572c959dd5815aef153cf62010b16a498a0d3 4919ab024e02133b12c2d3a35d31cbd9ff4dc5ea git Not specified
CNA Linux Linux affected 2da572c959dd5815aef153cf62010b16a498a0d3 deb631649882bbf43f7c2fc79b5990139fd744ba git Not specified
CNA Linux Linux affected 4.2 Not specified
CNA Linux Linux unaffected 4.2 semver Not specified
CNA Linux Linux unaffected 5.10.275 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.226 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.193 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.163 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.117 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.63 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.4 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/ec3bb0b9bb79787d47292544bec1b9f0ab814942 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/d4a70bf64c097be00bd296b24f556d176ebb5abf 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/76975566f468e7dcc99227fedace0e9f8fb3821b 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/80e4e0d7b3905e0d71dfdfbe0eb6a7a3ef475492 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/c22e423581941ceadfde933a6bbc1db378ede4a6 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/4919ab024e02133b12c2d3a35d31cbd9ff4dc5ea 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/deb631649882bbf43f7c2fc79b5990139fd744ba 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/a890f7a4db9047ae1c04d52c18593300fbca8359 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report