{"api_version":"1","generated_at":"2026-12-01T14:53:27+00:00","cve":"CVE-2026-139021","urls":{"html":"https://cve.report/CVE-2026-139021","api":"https://cve.report/api/cve/CVE-2026-139021.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139021","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139021"},"summary":{"title":"lib/842: require a complete history block for repeat templates","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nlib/842: require a complete history block for repeat templates\n\nAn 842 repeat template copies the preceding eight-byte output block. The\ndecoder rejects a repeat only when no output has been produced. A\nshort-data operation can produce between one and seven bytes before a\nrepeat.\n\nSuch a stream makes the repeat copy read before the start of the output\nbuffer. Depending on the surrounding mapping, this can fault or bring\npreceding memory into the decompressed data.\n\nThis is also reachable through zram's compressed writeback path. With 842\nselected, targeted corruption of the compressed data on its backing device\nto a short-data-then-repeat stream made a KASAN kernel report a\nvmalloc-out-of-bounds read when zram read the page back.\n\nRequire at least one complete output block before accepting a repeat.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:18:05","updated_at":"2026-11-30 14:18:05"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/ec3bb0b9bb79787d47292544bec1b9f0ab814942","name":"https://git.kernel.org/stable/c/ec3bb0b9bb79787d47292544bec1b9f0ab814942","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d4a70bf64c097be00bd296b24f556d176ebb5abf","name":"https://git.kernel.org/stable/c/d4a70bf64c097be00bd296b24f556d176ebb5abf","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/76975566f468e7dcc99227fedace0e9f8fb3821b","name":"https://git.kernel.org/stable/c/76975566f468e7dcc99227fedace0e9f8fb3821b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/80e4e0d7b3905e0d71dfdfbe0eb6a7a3ef475492","name":"https://git.kernel.org/stable/c/80e4e0d7b3905e0d71dfdfbe0eb6a7a3ef475492","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c22e423581941ceadfde933a6bbc1db378ede4a6","name":"https://git.kernel.org/stable/c/c22e423581941ceadfde933a6bbc1db378ede4a6","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/4919ab024e02133b12c2d3a35d31cbd9ff4dc5ea","name":"https://git.kernel.org/stable/c/4919ab024e02133b12c2d3a35d31cbd9ff4dc5ea","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/deb631649882bbf43f7c2fc79b5990139fd744ba","name":"https://git.kernel.org/stable/c/deb631649882bbf43f7c2fc79b5990139fd744ba","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/a890f7a4db9047ae1c04d52c18593300fbca8359","name":"https://git.kernel.org/stable/c/a890f7a4db9047ae1c04d52c18593300fbca8359","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139021","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139021","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2da572c959dd5815aef153cf62010b16a498a0d3 c22e423581941ceadfde933a6bbc1db378ede4a6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2da572c959dd5815aef153cf62010b16a498a0d3 a890f7a4db9047ae1c04d52c18593300fbca8359 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2da572c959dd5815aef153cf62010b16a498a0d3 76975566f468e7dcc99227fedace0e9f8fb3821b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2da572c959dd5815aef153cf62010b16a498a0d3 d4a70bf64c097be00bd296b24f556d176ebb5abf git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2da572c959dd5815aef153cf62010b16a498a0d3 80e4e0d7b3905e0d71dfdfbe0eb6a7a3ef475492 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2da572c959dd5815aef153cf62010b16a498a0d3 ec3bb0b9bb79787d47292544bec1b9f0ab814942 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2da572c959dd5815aef153cf62010b16a498a0d3 4919ab024e02133b12c2d3a35d31cbd9ff4dc5ea git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2da572c959dd5815aef153cf62010b16a498a0d3 deb631649882bbf43f7c2fc79b5990139fd744ba git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.2","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.2 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.275 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.226 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.117 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.63 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.4 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["lib/842/842_decompress.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"c22e423581941ceadfde933a6bbc1db378ede4a6","status":"affected","version":"2da572c959dd5815aef153cf62010b16a498a0d3","versionType":"git"},{"lessThan":"a890f7a4db9047ae1c04d52c18593300fbca8359","status":"affected","version":"2da572c959dd5815aef153cf62010b16a498a0d3","versionType":"git"},{"lessThan":"76975566f468e7dcc99227fedace0e9f8fb3821b","status":"affected","version":"2da572c959dd5815aef153cf62010b16a498a0d3","versionType":"git"},{"lessThan":"d4a70bf64c097be00bd296b24f556d176ebb5abf","status":"affected","version":"2da572c959dd5815aef153cf62010b16a498a0d3","versionType":"git"},{"lessThan":"80e4e0d7b3905e0d71dfdfbe0eb6a7a3ef475492","status":"affected","version":"2da572c959dd5815aef153cf62010b16a498a0d3","versionType":"git"},{"lessThan":"ec3bb0b9bb79787d47292544bec1b9f0ab814942","status":"affected","version":"2da572c959dd5815aef153cf62010b16a498a0d3","versionType":"git"},{"lessThan":"4919ab024e02133b12c2d3a35d31cbd9ff4dc5ea","status":"affected","version":"2da572c959dd5815aef153cf62010b16a498a0d3","versionType":"git"},{"lessThan":"deb631649882bbf43f7c2fc79b5990139fd744ba","status":"affected","version":"2da572c959dd5815aef153cf62010b16a498a0d3","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["lib/842/842_decompress.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.2"},{"lessThan":"4.2","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.275","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.226","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.117","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.63","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.275","versionStartIncluding":"4.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.226","versionStartIncluding":"4.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"4.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"4.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.117","versionStartIncluding":"4.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.63","versionStartIncluding":"4.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.4","versionStartIncluding":"4.2","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"4.2","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nlib/842: require a complete history block for repeat templates\n\nAn 842 repeat template copies the preceding eight-byte output block. The\ndecoder rejects a repeat only when no output has been produced. A\nshort-data operation can produce between one and seven bytes before a\nrepeat.\n\nSuch a stream makes the repeat copy read before the start of the output\nbuffer. Depending on the surrounding mapping, this can fault or bring\npreceding memory into the decompressed data.\n\nThis is also reachable through zram's compressed writeback path. With 842\nselected, targeted corruption of the compressed data on its backing device\nto a short-data-then-repeat stream made a KASAN kernel report a\nvmalloc-out-of-bounds read when zram read the page back.\n\nRequire at least one complete output block before accepting a repeat."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:27:08.345Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/c22e423581941ceadfde933a6bbc1db378ede4a6"},{"url":"https://git.kernel.org/stable/c/a890f7a4db9047ae1c04d52c18593300fbca8359"},{"url":"https://git.kernel.org/stable/c/76975566f468e7dcc99227fedace0e9f8fb3821b"},{"url":"https://git.kernel.org/stable/c/d4a70bf64c097be00bd296b24f556d176ebb5abf"},{"url":"https://git.kernel.org/stable/c/80e4e0d7b3905e0d71dfdfbe0eb6a7a3ef475492"},{"url":"https://git.kernel.org/stable/c/ec3bb0b9bb79787d47292544bec1b9f0ab814942"},{"url":"https://git.kernel.org/stable/c/4919ab024e02133b12c2d3a35d31cbd9ff4dc5ea"},{"url":"https://git.kernel.org/stable/c/deb631649882bbf43f7c2fc79b5990139fd744ba"}],"title":"lib/842: require a complete history block for repeat templates","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139021","datePublished":"2026-11-30T13:27:08.345Z","dateReserved":"2026-11-30T13:22:15.909Z","dateUpdated":"2026-11-30T13:27:08.345Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:18:05","lastModifiedDate":"2026-11-30 14:18:05","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139021","Ordinal":"1","Title":"lib/842: require a complete history block for repeat templates","CVE":"CVE-2026-139021","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139021","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nlib/842: require a complete history block for repeat templates\n\nAn 842 repeat template copies the preceding eight-byte output block. The\ndecoder rejects a repeat only when no output has been produced. A\nshort-data operation can produce between one and seven bytes before a\nrepeat.\n\nSuch a stream makes the repeat copy read before the start of the output\nbuffer. Depending on the surrounding mapping, this can fault or bring\npreceding memory into the decompressed data.\n\nThis is also reachable through zram's compressed writeback path. With 842\nselected, targeted corruption of the compressed data on its backing device\nto a short-data-then-repeat stream made a KASAN kernel report a\nvmalloc-out-of-bounds read when zram read the page back.\n\nRequire at least one complete output block before accepting a repeat.","Type":"Description","Title":"lib/842: require a complete history block for repeat templates"}]}}}