5.5medium
iommu/amd: serialize sequence allocation under concurrent TLB invalidations
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.13% (higher than 2% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from f2f65b28d802a667119147444ec2ae33eebf9a58 before d51bf43193b1e95dc4e34e540dc76e19def2ae5a, from 715c263119fd1b918a9fcbd8a36ea5b604a46324 before fca7aa0264ae99e5ff287d0ced5af0b82b121c4f, from e15768e68820142077bbca402d8e902f64ade1b0 before 5000ce7fcb31067566a1a1a2e5b5bbff93625242, from 496269d12072ecb219826485bdbec70c92a8eef5 before 48caa7542a795c9679ec1bd1bc2592e05a7369a4, from d2a0cac10597068567d336e85fa3cbdbe8ca62bf before 9e249c48412828e807afddc21527eb734dc9bd3d, 69d9339c02eddfc2a345be7220651068a3684383, from 6.1.191 before 6.2, from 6.6.128 before 6.6.140 and 1 more | CVE List |
| linux linux_kernel | from 6.6.128 before 6.7, from 6.12.75 before 6.13 | NVD |
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: iommu/amd: serializar la asignación de secuencia bajo invalidaciones concurrentes de TLB Con invalidaciones concurrentes de TLB, la espera de finalización se agota aleatoriamente porque cmd_sem_val fue incrementado fuera del spinlock de IOMMU, permitiendo que los comandos CMD_COMPL_WAIT se encolen fuera de secuencia y rompiendo la suposición de orden en wait_on_sem(). Mover el incremento de cmd_sem_val bajo iommu -> lock para que la asignación de secuencia de finalización sea serializada con el encolamiento de comandos. Y eliminar el retorno innecesario.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-43220 changed 2026-10-30 | CVE Terms of Use |
| NVD | CVE-2026-43220 changed 2026-11-11 | Public domain |