{"id":"CVE-2026-98003","state":"PUBLISHED","title":"iommu/amd: Do not reallocate GA log buffers on resume","description":"In the Linux kernel, the following vulnerability has been resolved:\n\niommu/amd: Do not reallocate GA log buffers on resume\n\nCommit c5e1a1eb9279 (\"iommu/amd: Simplify and Consolidate Virtual APIC\n(AVIC) Enablement\") moved the GA log allocation from iommu_init_pci()\nto enable_iommus_vapic(), which is called on every resume.\n\niommu_init_ga_log() assigns iommu->ga_log and iommu->ga_log_tail\nunconditionally. Each resume therefore replaces the boot-time pointers\nand leaks both old allocations. The function also uses GFP_KERNEL from a\nsyscore resume callback, where interrupts are disabled and the non-boot\nCPUs are offline.\n\nReturn early if both buffers are already allocated. Clear the pointers\nin free_ga_log() so a partial allocation failure cannot leave ga_log\ndangling.","publishedAt":"2026-09-25T10:23:30.522Z","updatedAt":"2026-10-21T12:54:02.989Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c5e1a1eb9279fdb28d47ca2a4493a4c53b7d6a0b","status":"affected","lessThan":"8b95269d7a43b737c2c0e2fa77bf00cc8a3a4434","versionType":"git"},{"version":"c5e1a1eb9279fdb28d47ca2a4493a4c53b7d6a0b","status":"affected","lessThan":"ff85cdc2889e1c885eed218ee5bc0b59e0235b3f","versionType":"git"},{"version":"c5e1a1eb9279fdb28d47ca2a4493a4c53b7d6a0b","status":"affected","lessThan":"94458b80d3b203c1c9e2c98aa7319b7713e006c0","versionType":"git"},{"version":"c5e1a1eb9279fdb28d47ca2a4493a4c53b7d6a0b","status":"affected","lessThan":"b6be275d19cee01f8f1f08a2ff18337103d05d40","versionType":"git"},{"version":"c5e1a1eb9279fdb28d47ca2a4493a4c53b7d6a0b","status":"affected","lessThan":"00a7dd64888d6dd72110b40e2824a088cf7b7386","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iommu/amd/init.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.0","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.114","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.53","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.7","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iommu/amd/init.c"]}],"references":["https://git.kernel.org/stable/c/8b95269d7a43b737c2c0e2fa77bf00cc8a3a4434","https://git.kernel.org/stable/c/ff85cdc2889e1c885eed218ee5bc0b59e0235b3f","https://git.kernel.org/stable/c/94458b80d3b203c1c9e2c98aa7319b7713e006c0","https://git.kernel.org/stable/c/b6be275d19cee01f8f1f08a2ff18337103d05d40","https://git.kernel.org/stable/c/00a7dd64888d6dd72110b40e2824a088cf7b7386"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/98xxx/CVE-2026-98003.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-98003","state":"PUBLISHED","datePublished":"2026-09-25T10:23:30.522Z","dateUpdated":"2026-10-21T12:54:02.989Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:19:56.068Z"},"containers":{"cna":{"title":"iommu/amd: Do not reallocate GA log buffers on resume","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\niommu/amd: Do not reallocate GA log buffers on resume\n\nCommit c5e1a1eb9279 (\"iommu/amd: Simplify and Consolidate Virtual APIC\n(AVIC) Enablement\") moved the GA log allocation from iommu_init_pci()\nto enable_iommus_vapic(), which is called on every resume.\n\niommu_init_ga_log() assigns iommu->ga_log and iommu->ga_log_tail\nunconditionally. Each resume therefore replaces the boot-time pointers\nand leaks both old allocations. The function also uses GFP_KERNEL from a\nsyscore resume callback, where interrupts are disabled and the non-boot\nCPUs are offline.\n\nReturn early if both buffers are already allocated. Clear the pointers\nin free_ga_log() so a partial allocation failure cannot leave ga_log\ndangling."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c5e1a1eb9279fdb28d47ca2a4493a4c53b7d6a0b","status":"affected","lessThan":"8b95269d7a43b737c2c0e2fa77bf00cc8a3a4434","versionType":"git"},{"version":"c5e1a1eb9279fdb28d47ca2a4493a4c53b7d6a0b","status":"affected","lessThan":"ff85cdc2889e1c885eed218ee5bc0b59e0235b3f","versionType":"git"},{"version":"c5e1a1eb9279fdb28d47ca2a4493a4c53b7d6a0b","status":"affected","lessThan":"94458b80d3b203c1c9e2c98aa7319b7713e006c0","versionType":"git"},{"version":"c5e1a1eb9279fdb28d47ca2a4493a4c53b7d6a0b","status":"affected","lessThan":"b6be275d19cee01f8f1f08a2ff18337103d05d40","versionType":"git"},{"version":"c5e1a1eb9279fdb28d47ca2a4493a4c53b7d6a0b","status":"affected","lessThan":"00a7dd64888d6dd72110b40e2824a088cf7b7386","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iommu/amd/init.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.0","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.114","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.53","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.7","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iommu/amd/init.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/8b95269d7a43b737c2c0e2fa77bf00cc8a3a4434"},{"url":"https://git.kernel.org/stable/c/ff85cdc2889e1c885eed218ee5bc0b59e0235b3f"},{"url":"https://git.kernel.org/stable/c/94458b80d3b203c1c9e2c98aa7319b7713e006c0"},{"url":"https://git.kernel.org/stable/c/b6be275d19cee01f8f1f08a2ff18337103d05d40"},{"url":"https://git.kernel.org/stable/c/00a7dd64888d6dd72110b40e2824a088cf7b7386"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-21T12:54:02.989Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"6.6.160"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"6.12.114"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"6.18.53"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"7.2.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}