iommu/sva: Fix crash in iommu_sva_unbind_device()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.18.20, Kernel 06e14c36e20b48171df13d51b89fe67c594ed07a, Kernel f5daaa2c959d9f894fb5b1ab76da8612dd220a0d and 2 more.
In the Linux kernel, the following vulnerability has been resolved: iommu/sva: Fix crash in iommu_sva_unbind_device() domain->mm->iommu_mm can be freed by iommu_domain_free(): iommu_domain_free() mmdrop() __mmdrop() mm_pasid_drop() After iommu_domain_free() returns, accessing domain->mm->iommu_mm may dereference a freed mm structure, leading to a crash. Fix this by moving the code that accesses domain->mm->iommu_mm to before the call to iommu_domain_free().
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=6.18.7 <6.18.20, >=e37d5a2d60a338c5917c45296bac65da1382eda5 <06e14c36e20b48171df13d51b89fe67c594ed07a, >=e37d5a2d60a338c5917c45296bac65da1382eda5 <f5daaa2c959d9f894fb5b1ab76da8612dd220a0d, =6.19, >=9f0a7ab700f8620e433b05c57fbd26c92ea186d9 <58abeb7b9562f25bdfa2f5ae5ce803eb02e74433 | 6.18.20, 06e14c36e20b48171df13d51b89fe67c594ed07a, f5daaa2c959d9f894fb5b1ab76da8612dd220a0d, 58abeb7b9562f25bdfa2f5ae5ce803eb02e74433 |
| linux-kernel: Kernel | >=6.19.0 <6.19.10, >=6.18.7 <6.18.20 | 6.19.10, 6.18.20 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket