iommu/amd: serialize sequence allocation under concurrent TLB invalidations
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel d51bf43193b1e95dc4e34e540dc76e19def2ae5a, Kernel 6.7, Kernel 9e249c48412828e807afddc21527eb734dc9bd3d and 7 more.
In the Linux kernel, the following vulnerability has been resolved: iommu/amd: serialize sequence allocation under concurrent TLB invalidations With concurrent TLB invalidations, completion wait randomly gets timed out because cmd_sem_val was incremented outside the IOMMU spinlock, allowing CMD_COMPL_WAIT commands to be queued out of sequence and breaking the ordering assumption in wait_on_sem(). Move the cmd_sem_val increment under iommu->lock so completion sequence allocation is serialized with command queuing. And remove the unnecessary return.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=f2f65b28d802a667119147444ec2ae33eebf9a58 <d51bf43193b1e95dc4e34e540dc76e19def2ae5a, >=6.6.128 <6.7, >=d2a0cac10597068567d336e85fa3cbdbe8ca62bf <9e249c48412828e807afddc21527eb734dc9bd3d, >=e15768e68820142077bbca402d8e902f64ade1b0 <5000ce7fcb31067566a1a1a2e5b5bbff93625242, >=6.12.75 <6.13, =69d9339c02eddfc2a345be7220651068a3684383, >=496269d12072ecb219826485bdbec70c92a8eef5 <48caa7542a795c9679ec1bd1bc2592e05a7369a4, >=6.1.191 <6.2, >=6.12.75 <6.12.88, >=6.6.128 <6.6.140, >=715c263119fd1b918a9fcbd8a36ea5b604a46324 <fca7aa0264ae99e5ff287d0ced5af0b82b121c4f | d51bf43193b1e95dc4e34e540dc76e19def2ae5a, 6.7, 9e249c48412828e807afddc21527eb734dc9bd3d, 5000ce7fcb31067566a1a1a2e5b5bbff93625242, 6.13, 48caa7542a795c9679ec1bd1bc2592e05a7369a4, 6.2, 6.12.88, 6.6.140, fca7aa0264ae99e5ff287d0ced5af0b82b121c4f |
| linux-kernel: Kernel | >=6.1.191 <6.2, >=6.12.75 <6.12.88, >=6.6.128 <6.6.140 | 6.2, 6.12.88, 6.6.140 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket