iommu/amd: Do not reallocate GA log buffers on resume
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel ff85cdc2889e1c885eed218ee5bc0b59e0235b3f, Kernel 00a7dd64888d6dd72110b40e2824a088cf7b7386, Kernel 8b95269d7a43b737c2c0e2fa77bf00cc8a3a4434 and 6 more.
In the Linux kernel, the following vulnerability has been resolved: iommu/amd: Do not reallocate GA log buffers on resume Commit c5e1a1eb9279 ("iommu/amd: Simplify and Consolidate Virtual APIC (AVIC) Enablement") moved the GA log allocation from iommu_init_pci() to enable_iommus_vapic(), which is called on every resume. iommu_init_ga_log() assigns iommu->ga_log and iommu->ga_log_tail unconditionally. Each resume therefore replaces the boot-time pointers and leaks both old allocations. The function also uses GFP_KERNEL from a syscore resume callback, where interrupts are disabled and the non-boot CPUs are offline. Return early if both buffers are already allocated. Clear the pointers in free_ga_log() so a partial allocation failure cannot leave ga_log dangling.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=c5e1a1eb9279fdb28d47ca2a4493a4c53b7d6a0b <ff85cdc2889e1c885eed218ee5bc0b59e0235b3f, >=c5e1a1eb9279fdb28d47ca2a4493a4c53b7d6a0b <00a7dd64888d6dd72110b40e2824a088cf7b7386, >=c5e1a1eb9279fdb28d47ca2a4493a4c53b7d6a0b <8b95269d7a43b737c2c0e2fa77bf00cc8a3a4434, >=c5e1a1eb9279fdb28d47ca2a4493a4c53b7d6a0b <94458b80d3b203c1c9e2c98aa7319b7713e006c0, >=c5e1a1eb9279fdb28d47ca2a4493a4c53b7d6a0b <b6be275d19cee01f8f1f08a2ff18337103d05d40, =6.0 | ff85cdc2889e1c885eed218ee5bc0b59e0235b3f, 00a7dd64888d6dd72110b40e2824a088cf7b7386, 8b95269d7a43b737c2c0e2fa77bf00cc8a3a4434, 94458b80d3b203c1c9e2c98aa7319b7713e006c0, b6be275d19cee01f8f1f08a2ff18337103d05d40 |
| linux-kernel: Kernel | >=6.13.0 <6.18.53, >=6.19.0 <7.2.7, >=6.7.0 <6.12.114, >=6.0.0 <6.6.160 | 6.18.53, 7.2.7, 6.12.114, 6.6.160 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket