8.8high
iommupt: Fix short gather if the unmap goes into a large mapping
- Severity
- 8.8high CVSS:3.1 by Linux
- 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: iommupt: Fix short gather if the unmap goes into a large mapping unmap has the odd behavior that it can unmap more than requested if the ending point lands within the middle of a large or contiguous IOPTE. In this case the gather should flush everything unmapped which can be larger than what was requested to be unmapped. The gather was only flushing the range requested to be unmapped, not extending to the extra range, resulting in a short invalidation if the caller hits this special condition. This was found by the new invalidation/gather test I am adding in preparation for ARMv8. Claude deduced the root cause. As far as I remember nothing relies on unmapping a large entry, so this is likely not a triggerable bug.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 7c53f4238aa8bfb476e177263133ead2eeb8d55d before 50ecd96a28f712f8b682c0441f4cb9b086d28816, from 7c53f4238aa8bfb476e177263133ead2eeb8d55d before ee6e69d032550687a3422504bfca3f834c7b5061, 6.19 Not affected: before 6.19, from 6.19.12 up to 6.19.*, from 7.0 up to * | CVE List |
| linux linux_kernel | from 6.19 before 6.19.12, 7.0 | NVD |
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: iommupt: Fix short gather if the unmap goes into a large mapping unmap has the odd behavior that it can unmap more than requested if the ending point lands within the middle of a large or contiguous IOPTE. In this case the gather should flush everything unmapped which can be larger than what was requested to be unmapped. The gather was only flushing the range requested to be unmapped, not extending to the extra range, resulting in a short invalidation if the caller hits this special condition. This was found by the new invalidation/gather test I am adding in preparation for ARMv8. Claude deduced the root cause. As far as I remember nothing relies on unmapping a large entry, so this is likely not a triggerable bug.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: iommupt: Corrige la recolección corta si la desasignación entra en un mapeo grande La desasignación tiene el comportamiento peculiar de que puede desasignar más de lo solicitado si el punto final cae dentro de la mitad de un IOPTE grande o contiguo. En este caso, la recolección debería vaciar todo lo desasignado, lo cual puede ser mayor de lo que se solicitó desasignar. La recolección solo estaba vaciando el rango solicitado para desasignar, no extendiéndose al rango adicional, lo que resultaba en una invalidación corta si el llamador encuentra esta condición especial. Esto fue descubierto por la nueva prueba de invalidación/recolección que estoy añadiendo en preparación para ARMv8. Claude dedujo la causa raíz. Por lo que recuerdo, nada depende de la desasignación de una entrada grande, por lo que es probable que este no sea un error activable.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-31735 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2026-31735 changed 2026-11-11 | Public domain |