{"api_version":"1","generated_at":"2026-11-06T14:11:31+00:00","cve":"CVE-2026-99006","urls":{"html":"https://cve.report/CVE-2026-99006","api":"https://cve.report/api/cve/CVE-2026-99006.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-99006","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99006"},"summary":{"title":"drm/i915/gem: Prevent overstepping exec array boundary","description":"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)","state":"PUBLISHED","assigner":"Linux","published_at":"2026-10-23 13:17:23","updated_at":"2026-10-30 13:21:35"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"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","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/859e52356f913806e5c1ee5d2022b7aeda0a784a","name":"https://git.kernel.org/stable/c/859e52356f913806e5c1ee5d2022b7aeda0a784a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/cf42a445bd5036c30d57ae65b041b8b17dfef7b0","name":"https://git.kernel.org/stable/c/cf42a445bd5036c30d57ae65b041b8b17dfef7b0","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/b1c357131fc467c579f65e9a9d1fdc1a6273ae1d","name":"https://git.kernel.org/stable/c/b1c357131fc467c579f65e9a9d1fdc1a6273ae1d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ebe162db655881a38de43301151ff7ac940602b5","name":"https://git.kernel.org/stable/c/ebe162db655881a38de43301151ff7ac940602b5","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/72d5cbb10d4916a3f8ef9da516c5c0634aca8439","name":"https://git.kernel.org/stable/c/72d5cbb10d4916a3f8ef9da516c5c0634aca8439","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/152fb5083b9333a1cb8629572f9e0f276a404ba6","name":"https://git.kernel.org/stable/c/152fb5083b9333a1cb8629572f9e0f276a404ba6","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/7bed07cb4daa610cd6d92d9e72a575275a99ed54","name":"https://git.kernel.org/stable/c/7bed07cb4daa610cd6d92d9e72a575275a99ed54","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/24c04e80c35ff36947366f6deafddb522eea080c","name":"https://git.kernel.org/stable/c/24c04e80c35ff36947366f6deafddb522eea080c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-99006","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99006","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8e4ba491b0ba6fef69270d3c4e48fc517096ef41 7bed07cb4daa610cd6d92d9e72a575275a99ed54 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8e4ba491b0ba6fef69270d3c4e48fc517096ef41 cf42a445bd5036c30d57ae65b041b8b17dfef7b0 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8e4ba491b0ba6fef69270d3c4e48fc517096ef41 859e52356f913806e5c1ee5d2022b7aeda0a784a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8e4ba491b0ba6fef69270d3c4e48fc517096ef41 24c04e80c35ff36947366f6deafddb522eea080c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8e4ba491b0ba6fef69270d3c4e48fc517096ef41 b1c357131fc467c579f65e9a9d1fdc1a6273ae1d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8e4ba491b0ba6fef69270d3c4e48fc517096ef41 152fb5083b9333a1cb8629572f9e0f276a404ba6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8e4ba491b0ba6fef69270d3c4e48fc517096ef41 72d5cbb10d4916a3f8ef9da516c5c0634aca8439 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8e4ba491b0ba6fef69270d3c4e48fc517096ef41 ebe162db655881a38de43301151ff7ac940602b5 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.10","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.273 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.224 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.191 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.160 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.113 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.57 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.11 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"99006","cve":"CVE-2026-99006","epss":"0.001640000","percentile":"0.055790000","score_date":"2026-11-01","updated_at":"2026-11-02 00:05:55"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"7bed07cb4daa610cd6d92d9e72a575275a99ed54","status":"affected","version":"8e4ba491b0ba6fef69270d3c4e48fc517096ef41","versionType":"git"},{"lessThan":"cf42a445bd5036c30d57ae65b041b8b17dfef7b0","status":"affected","version":"8e4ba491b0ba6fef69270d3c4e48fc517096ef41","versionType":"git"},{"lessThan":"859e52356f913806e5c1ee5d2022b7aeda0a784a","status":"affected","version":"8e4ba491b0ba6fef69270d3c4e48fc517096ef41","versionType":"git"},{"lessThan":"24c04e80c35ff36947366f6deafddb522eea080c","status":"affected","version":"8e4ba491b0ba6fef69270d3c4e48fc517096ef41","versionType":"git"},{"lessThan":"b1c357131fc467c579f65e9a9d1fdc1a6273ae1d","status":"affected","version":"8e4ba491b0ba6fef69270d3c4e48fc517096ef41","versionType":"git"},{"lessThan":"152fb5083b9333a1cb8629572f9e0f276a404ba6","status":"affected","version":"8e4ba491b0ba6fef69270d3c4e48fc517096ef41","versionType":"git"},{"lessThan":"72d5cbb10d4916a3f8ef9da516c5c0634aca8439","status":"affected","version":"8e4ba491b0ba6fef69270d3c4e48fc517096ef41","versionType":"git"},{"lessThan":"ebe162db655881a38de43301151ff7ac940602b5","status":"affected","version":"8e4ba491b0ba6fef69270d3c4e48fc517096ef41","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/gpu/drm/i915/gem/i915_gem_execbuffer.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.10"},{"lessThan":"5.10","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.273","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.224","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.191","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.160","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.113","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.57","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.11","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.273","versionStartIncluding":"5.10","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.224","versionStartIncluding":"5.10","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.191","versionStartIncluding":"5.10","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.160","versionStartIncluding":"5.10","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.113","versionStartIncluding":"5.10","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.57","versionStartIncluding":"5.10","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.11","versionStartIncluding":"5.10","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3","versionStartIncluding":"5.10","vulnerable":true}],"negate":false,"operator":"OR"}]}],"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":{"baseScore":7.8,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"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."}]}],"providerMetadata":{"dateUpdated":"2026-10-30T12:40:50.256Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/7bed07cb4daa610cd6d92d9e72a575275a99ed54"},{"url":"https://git.kernel.org/stable/c/cf42a445bd5036c30d57ae65b041b8b17dfef7b0"},{"url":"https://git.kernel.org/stable/c/859e52356f913806e5c1ee5d2022b7aeda0a784a"},{"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"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-99006","datePublished":"2026-10-23T12:20:31.415Z","dateReserved":"2026-09-25T10:25:14.385Z","dateUpdated":"2026-10-30T12:40:50.256Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-10-23 13:17:23","lastModifiedDate":"2026-10-30 13:21:35","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"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","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"99006","Ordinal":"1","Title":"drm/i915/gem: Prevent overstepping exec array boundary","CVE":"CVE-2026-99006","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"99006","Ordinal":"1","NoteData":"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)","Type":"Description","Title":"drm/i915/gem: Prevent overstepping exec array boundary"}]}}}