← Back to CVE List
CVE-2026-90387NVD
Vulnerability Summary
In the Linux kernel, the following vulnerability has been resolved:
swiotlb: Preserve allocation virtual address for dynamic pools
swiotlb_alloc_tlb() can allocate from the DMA atomic pool when a decrypted
pool is needed from atomic context. With CONFIG_DMA_DIRECT_REMAP, the
atomic pool is backed by remapped virtual addresses, which are not the same
as the direct-map addresses returned by phys_to_virt().
swiotlb_init_io_tlb_pool() currently reconstructs the pool virtual address
from the physical start address. For atomic-pool backed allocations this
stores the wrong address in pool->vaddr. Later, swiotlb_free_tlb() passes
that address to dma_free_from_pool(), which will fail to recognize the
chunk
Pass the virtual address returned by the allocation path into
swiotlb_init_io_tlb_pool(), and store that address in pool->vaddr. This
keeps the pool free path using the same virtual address as the allocator.
swiotlb: Preserve allocation virtual address for dynamic pools
swiotlb_alloc_tlb() can allocate from the DMA atomic pool when a decrypted
pool is needed from atomic context. With CONFIG_DMA_DIRECT_REMAP, the
atomic pool is backed by remapped virtual addresses, which are not the same
as the direct-map addresses returned by phys_to_virt().
swiotlb_init_io_tlb_pool() currently reconstructs the pool virtual address
from the physical start address. For atomic-pool backed allocations this
stores the wrong address in pool->vaddr. Later, swiotlb_free_tlb() passes
that address to dma_free_from_pool(), which will fail to recognize the
chunk
Pass the virtual address returned by the allocation path into
swiotlb_init_io_tlb_pool(), and store that address in pool->vaddr. This
keeps the pool free path using the same virtual address as the allocator.
CVSS v3.1 Base Metrics — Score 7.8 (HIGH)
Attack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
Affected & Patched Versions
- Linux Linux >= 79636caad3618e2b38457f6e298c9b31ba82b489 and < 68bf3ebd8e7020dae58e8aa14c7d482738bff9a8
- Linux Linux >= 79636caad3618e2b38457f6e298c9b31ba82b489 and < 45507dcb0847e96add4455274b12df0eca6590b4
- Linux Linux >= 79636caad3618e2b38457f6e298c9b31ba82b489 and < 35e0103177826430b5df888b1506239d41e76ab5
- Linux Linux >= 79636caad3618e2b38457f6e298c9b31ba82b489 and < c1f4d7763cdf1b9e0d35c14aa6f52d0512a36319
- Linux Linux >= 79636caad3618e2b38457f6e298c9b31ba82b489 and < 57d29044d0f29a76c6ec0c112c8c7371d5608dc7
- Linux Linux >= 6.6
- Linux Linux 68bf3ebd8e7020dae58e8aa14c7d482738bff9a8
- Linux Linux 45507dcb0847e96add4455274b12df0eca6590b4
- Linux Linux 35e0103177826430b5df888b1506239d41e76ab5
- Linux Linux c1f4d7763cdf1b9e0d35c14aa6f52d0512a36319
- Linux Linux 57d29044d0f29a76c6ec0c112c8c7371d5608dc7
External References
- https://git.kernel.org/stable/c/68bf3ebd8e7020dae58e8aa14c7d482738bff9a8
- https://git.kernel.org/stable/c/45507dcb0847e96add4455274b12df0eca6590b4
- https://git.kernel.org/stable/c/35e0103177826430b5df888b1506239d41e76ab5
- https://git.kernel.org/stable/c/c1f4d7763cdf1b9e0d35c14aa6f52d0512a36319
- https://git.kernel.org/stable/c/57d29044d0f29a76c6ec0c112c8c7371d5608dc7