{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-139021",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.909Z",
        "datePublished": "2026-11-30T13:27:08.345Z",
        "dateUpdated": "2026-11-30T13:27:08.345Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:27:08.345Z"
            },
            "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."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "lib/842/842_decompress.c"
                    ],
                    "versions": [
                        {
                            "version": "2da572c959dd5815aef153cf62010b16a498a0d3",
                            "lessThan": "c22e423581941ceadfde933a6bbc1db378ede4a6",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "2da572c959dd5815aef153cf62010b16a498a0d3",
                            "lessThan": "a890f7a4db9047ae1c04d52c18593300fbca8359",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "2da572c959dd5815aef153cf62010b16a498a0d3",
                            "lessThan": "76975566f468e7dcc99227fedace0e9f8fb3821b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "2da572c959dd5815aef153cf62010b16a498a0d3",
                            "lessThan": "d4a70bf64c097be00bd296b24f556d176ebb5abf",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "2da572c959dd5815aef153cf62010b16a498a0d3",
                            "lessThan": "80e4e0d7b3905e0d71dfdfbe0eb6a7a3ef475492",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "2da572c959dd5815aef153cf62010b16a498a0d3",
                            "lessThan": "ec3bb0b9bb79787d47292544bec1b9f0ab814942",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "2da572c959dd5815aef153cf62010b16a498a0d3",
                            "lessThan": "4919ab024e02133b12c2d3a35d31cbd9ff4dc5ea",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "2da572c959dd5815aef153cf62010b16a498a0d3",
                            "lessThan": "deb631649882bbf43f7c2fc79b5990139fd744ba",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "lib/842/842_decompress.c"
                    ],
                    "versions": [
                        {
                            "version": "4.2",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.2",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.275",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.226",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.193",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.163",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.117",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.63",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.4",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc1",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.2",
                                    "versionEndExcluding": "5.10.275"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.2",
                                    "versionEndExcluding": "5.15.226"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.2",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.2",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.2",
                                    "versionEndExcluding": "6.12.117"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.2",
                                    "versionEndExcluding": "6.18.63"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.2",
                                    "versionEndExcluding": "7.3.4"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.2",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "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"
            }
        }
    }
}