{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-139337",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-11-30T13:22:15.927Z",
        "datePublished": "2026-11-30T13:33:49.769Z",
        "dateUpdated": "2026-11-30T13:33:49.769Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-11-30T13:33:49.769Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nima: reject a kexec buffer whose declared size exceeds the buffer\n\nima_restore_measurement_list() parses the measurement list persisted across\nkexec.  It computes the parse end directly from the blob:\n\n\tbufendp = buf + khdr->buffer_size;\n\nkhdr->buffer_size is a u64 read straight from the persisted buffer.  The\nonly length checks in the function are size >= sizeof(*khdr), version == 1\nand count -- none relates buffer_size to size, the actual buffer size the\ncaller (ima_load_kexec_buffer()) obtained from the ima-kexec-buffer region.\nima_parse_buf() bounds every field read to bufendp, so a blob whose\ninternal buffer_size exceeds the real size makes the parse loop read past\nthe end of the buffer (CWE-125).\n\nThe buffer's memory range is validated against addressable RAM by\ncommit cbf9c4b9617b (\"of: check previous kernel's ima-kexec-buffer\nagainst memory bounds\") and commit c5489d04337b (\"x86/kexec: add a\nsanity check on previous kernel's ima kexec buffer\"), but the blob's\nown declared size is never clamped to it.  Reject a buffer_size larger\nthan size before the loop.\n\nThis is on the boot-time kexec-restore path (__init) and the buffer comes\nfrom the previous kernel, so triggering it requires control of the\npersisted buffer; it is an out-of-bounds read only."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "security/integrity/ima/ima_template.c"
                    ],
                    "versions": [
                        {
                            "version": "94c3aac567a9ddb9e868a7fae3c927c08b51b7c6",
                            "lessThan": "86d5ca8cd79fec82865b9b32a06f0c28e19062cf",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "94c3aac567a9ddb9e868a7fae3c927c08b51b7c6",
                            "lessThan": "3d1660732042d4c2ae7795255141185372bce6e2",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "94c3aac567a9ddb9e868a7fae3c927c08b51b7c6",
                            "lessThan": "afacba62cd4a6d5fbf1a2b44a8e201e6bc69401e",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "94c3aac567a9ddb9e868a7fae3c927c08b51b7c6",
                            "lessThan": "3343fc0c5d3e6df67f7d09b5bb59982db03a5c1d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "94c3aac567a9ddb9e868a7fae3c927c08b51b7c6",
                            "lessThan": "9f867274b208d0830232f01ac26ef5a92f4ec0e4",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "94c3aac567a9ddb9e868a7fae3c927c08b51b7c6",
                            "lessThan": "6d76d153afa3ac90701a23f5715bdb3648be2f7b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "94c3aac567a9ddb9e868a7fae3c927c08b51b7c6",
                            "lessThan": "0f33ef07be4121c87df3d5b2fa05609d743a4570",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "94c3aac567a9ddb9e868a7fae3c927c08b51b7c6",
                            "lessThan": "ceb24c7052cc4649e3b52a51a7cca7dfe4896cec",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "security/integrity/ima/ima_template.c"
                    ],
                    "versions": [
                        {
                            "version": "4.10",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.10",
                            "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.119",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.65",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.6",
                            "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.10",
                                    "versionEndExcluding": "5.10.275"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.10",
                                    "versionEndExcluding": "5.15.226"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.10",
                                    "versionEndExcluding": "6.1.193"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.10",
                                    "versionEndExcluding": "6.6.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.10",
                                    "versionEndExcluding": "6.12.119"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.10",
                                    "versionEndExcluding": "6.18.65"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.10",
                                    "versionEndExcluding": "7.3.6"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.10",
                                    "versionEndExcluding": "7.4-rc1"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/86d5ca8cd79fec82865b9b32a06f0c28e19062cf"
                },
                {
                    "url": "https://git.kernel.org/stable/c/3d1660732042d4c2ae7795255141185372bce6e2"
                },
                {
                    "url": "https://git.kernel.org/stable/c/afacba62cd4a6d5fbf1a2b44a8e201e6bc69401e"
                },
                {
                    "url": "https://git.kernel.org/stable/c/3343fc0c5d3e6df67f7d09b5bb59982db03a5c1d"
                },
                {
                    "url": "https://git.kernel.org/stable/c/9f867274b208d0830232f01ac26ef5a92f4ec0e4"
                },
                {
                    "url": "https://git.kernel.org/stable/c/6d76d153afa3ac90701a23f5715bdb3648be2f7b"
                },
                {
                    "url": "https://git.kernel.org/stable/c/0f33ef07be4121c87df3d5b2fa05609d743a4570"
                },
                {
                    "url": "https://git.kernel.org/stable/c/ceb24c7052cc4649e3b52a51a7cca7dfe4896cec"
                }
            ],
            "title": "ima: reject a kexec buffer whose declared size exceeds the buffer",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}