CVE-2026-139021
lib/842: require a complete history block for repeat templates
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.
INFO
Published Date :
Nov. 30, 2026, 2:18 p.m.
Last Modified :
Nov. 30, 2026, 2:18 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Update the Linux kernel to a patched version.
- Ensure history blocks are complete before accepting repeats.
- Validate zram compressed writeback path handling.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-139021.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-139021 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-139021
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-139021 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-139021 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 30, 2026
Action Type Old Value New Value Added 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. Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/139xxx/CVE-2026-139021.json">CVE-2026-139021</a> Added Reference https://git.kernel.org/stable/c/4919ab024e02133b12c2d3a35d31cbd9ff4dc5ea Added Reference https://git.kernel.org/stable/c/76975566f468e7dcc99227fedace0e9f8fb3821b Added Reference https://git.kernel.org/stable/c/80e4e0d7b3905e0d71dfdfbe0eb6a7a3ef475492 Added Reference https://git.kernel.org/stable/c/a890f7a4db9047ae1c04d52c18593300fbca8359 Added Reference https://git.kernel.org/stable/c/c22e423581941ceadfde933a6bbc1db378ede4a6 Added Reference https://git.kernel.org/stable/c/d4a70bf64c097be00bd296b24f556d176ebb5abf Added Reference https://git.kernel.org/stable/c/deb631649882bbf43f7c2fc79b5990139fd744ba Added Reference https://git.kernel.org/stable/c/ec3bb0b9bb79787d47292544bec1b9f0ab814942