swiotlb: Preserve allocation virtual address for dynamic pools
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.
CVE-2026-90387
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-90387
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "79636caad3618e2b38457f6e298c9b31ba82b489",
"lessThan": "68bf3ebd8e7020dae58e8aa14c7d482738bff9a8",
"versionType": "git"
},
{
"status": "affected",
"version": "79636caad3618e2b38457f6e298c9b31ba82b489",
"lessThan": "45507dcb0847e96add4455274b12df0eca6590b4",
"versionType": "git"
},
{
"status": "affected",
"version": "79636caad3618e2b38457f6e298c9b31ba82b489",
"lessThan": "35e0103177826430b5df888b1506239d41e76ab5",
"versionType": "git"
},
{
"status": "affected",
"version": "79636caad3618e2b38457f6e298c9b31ba82b489",
"lessThan": "c1f4d7763cdf1b9e0d35c14aa6f52d0512a36319",
"versionType": "git"
},
{
"status": "affected",
"version": "79636caad3618e2b38457f6e298c9b31ba82b489",
"lessThan": "57d29044d0f29a76c6ec0c112c8c7371d5608dc7",
"versionType": "git"
}
],
"programFiles": [
"kernel/dma/swiotlb.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "6.6"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "6.6",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.157",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.110",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.52",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.6",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"kernel/dma/swiotlb.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-90387
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #36711 · Revision 1
- Added to Heist Feed
- Publisher date