{"id":"CVE-2026-90387","summary":"swiotlb: Preserve allocation virtual address for dynamic pools","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nswiotlb: Preserve allocation virtual address for dynamic pools\n\nswiotlb_alloc_tlb() can allocate from the DMA atomic pool when a decrypted\npool is needed from atomic context. With CONFIG_DMA_DIRECT_REMAP, the\natomic pool is backed by remapped virtual addresses, which are not the same\nas the direct-map addresses returned by phys_to_virt().\n\nswiotlb_init_io_tlb_pool() currently reconstructs the pool virtual address\nfrom the physical start address. For atomic-pool backed allocations this\nstores the wrong address in pool-\u003evaddr. Later, swiotlb_free_tlb() passes\nthat address to dma_free_from_pool(), which will fail to recognize the\nchunk\n\nPass the virtual address returned by the allocation path into\nswiotlb_init_io_tlb_pool(), and store that address in pool-\u003evaddr. This\nkeeps the pool free path using the same virtual address as the allocator.","modified":"2026-09-18T03:48:37.969792570Z","published":"2026-09-17T16:09:22.493Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90387.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/35e0103177826430b5df888b1506239d41e76ab5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/45507dcb0847e96add4455274b12df0eca6590b4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/57d29044d0f29a76c6ec0c112c8c7371d5608dc7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/68bf3ebd8e7020dae58e8aa14c7d482738bff9a8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c1f4d7763cdf1b9e0d35c14aa6f52d0512a36319"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90387.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90387"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"79636caad3618e2b38457f6e298c9b31ba82b489"},{"fixed":"68bf3ebd8e7020dae58e8aa14c7d482738bff9a8"},{"fixed":"45507dcb0847e96add4455274b12df0eca6590b4"},{"fixed":"35e0103177826430b5df888b1506239d41e76ab5"},{"fixed":"c1f4d7763cdf1b9e0d35c14aa6f52d0512a36319"},{"fixed":"57d29044d0f29a76c6ec0c112c8c7371d5608dc7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90387.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.6.0"},{"fixed":"6.6.157"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.110"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.52"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.2.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-90387.json"}}],"schema_version":"1.9.0"}