{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-99006",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-09-25T10:25:14.385Z",
        "datePublished": "2026-10-23T12:20:31.415Z",
        "dateUpdated": "2026-10-24T14:09:58.315Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-10-24T14:09:58.315Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/i915/gem: Prevent overstepping exec array boundary\n\nIt is possible for eb_relocate_parse_slow() to call kvfree() on\nentries outside the original exec array during following\nscenario inside eb_relocate_parse_slow():\n\n1) eb_copy_relocations() allocates as many as eb->buffer_count\n   copies for exec entries;\n2) eb_parse() appends up to two VMAs, right after incrementing\n   eb->buffer_count;\n3) cleanup under \"out\" label uses this incremented buffer_count\n   to release relocation pointers from exec array via kvfree(),\n   not from VMA array.\n\nTo amend this problem, ensure that relocation cleanup uses the\noriginal exec object count, excluding the VMAs appended by the\ncommand parser.\n\n(cherry picked from commit 2a0158925fb943c7ba8f3216e2734952128defc9)"
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                        "baseScore": 7.8,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:L - A local process reaches the patched cleanup through ioctl(2) → drm_ioctl() → i915_gem_execbuffer2_ioctl() → i915_gem_do_execbuffer() → eb_relocate_parse_slow(); the exec and relocation arrays originate in local userspace, not a wire protocol.\nAC:L - On affected parser-enabled i915 hardware, the caller controls its relocs_ptr mapping to force eb_copy_relocations(), then submits a parser-using batch so eb_parse() appends VMAs. Any mapping race and heap grooming are controlled by the same caller and can be retried.\nPR:L - I915_GEM_EXECBUFFER2_WR is registered with DRM_RENDER_ALLOW, and drm_ioctl_permit() imposes no DRM_AUTH, DRM_MASTER, DRM_ROOT_ONLY, or CAP_SYS_ADMIN check; an ordinary user with render-node access can invoke it.\nUI:N - The attacker opens the i915 render node, prepares GEM objects and relocation arrays, and issues the execbuffer ioctl directly; no action by another user is required.\nS:U - The erroneous kvfree() corrupts the host kernel heap from a host userspace client, constituting ordinary local-to-kernel escalation without crossing a VM, IOMMU, or other distinct security authority.\nC:H - After eb_parse() increments buffer_count, eb_relocate_parse_slow() reads an untouched post-array slot as an exec object and passes its stale relocs_ptr to kvfree(); reusing a previously freed relocation-copy pointer produces a heap UAF capable of exposing kernel memory.\nI:H - The attacker-groomable kvfree() can double-free or prematurely free a live allocation referenced through the stale relocs_ptr; reclaiming that object while stale users remain provides heap-corruption and control-flow-hijacking primitives.\nA:H - kvfree() of the out-of-array relocs_ptr can immediately oops in kfree() for an invalid address or corrupt the allocator through a double-free; repeated execbuffer submissions can therefore crash or panic the kernel."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c"
                    ],
                    "versions": [
                        {
                            "version": "8e4ba491b0ba6fef69270d3c4e48fc517096ef41",
                            "lessThan": "24c04e80c35ff36947366f6deafddb522eea080c",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8e4ba491b0ba6fef69270d3c4e48fc517096ef41",
                            "lessThan": "b1c357131fc467c579f65e9a9d1fdc1a6273ae1d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8e4ba491b0ba6fef69270d3c4e48fc517096ef41",
                            "lessThan": "152fb5083b9333a1cb8629572f9e0f276a404ba6",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8e4ba491b0ba6fef69270d3c4e48fc517096ef41",
                            "lessThan": "72d5cbb10d4916a3f8ef9da516c5c0634aca8439",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8e4ba491b0ba6fef69270d3c4e48fc517096ef41",
                            "lessThan": "ebe162db655881a38de43301151ff7ac940602b5",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c"
                    ],
                    "versions": [
                        {
                            "version": "5.10",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.10",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.160",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.113",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.57",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.2.11",
                            "lessThanOrEqual": "7.2.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3",
                            "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": "5.10",
                                    "versionEndExcluding": "6.6.160"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.10",
                                    "versionEndExcluding": "6.12.113"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.10",
                                    "versionEndExcluding": "6.18.57"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.10",
                                    "versionEndExcluding": "7.2.11"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.10",
                                    "versionEndExcluding": "7.3"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/24c04e80c35ff36947366f6deafddb522eea080c"
                },
                {
                    "url": "https://git.kernel.org/stable/c/b1c357131fc467c579f65e9a9d1fdc1a6273ae1d"
                },
                {
                    "url": "https://git.kernel.org/stable/c/152fb5083b9333a1cb8629572f9e0f276a404ba6"
                },
                {
                    "url": "https://git.kernel.org/stable/c/72d5cbb10d4916a3f8ef9da516c5c0634aca8439"
                },
                {
                    "url": "https://git.kernel.org/stable/c/ebe162db655881a38de43301151ff7ac940602b5"
                }
            ],
            "title": "drm/i915/gem: Prevent overstepping exec array boundary",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}