vhost: vringh: use get_user()/put_user() for IOTLB 16-bit accesses
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
vhost: vringh: use get_user()/put_user() for IOTLB 16-bit accesses
getu16_iotlb() and putu16_iotlb() use __get_user() and __put_user() when the IOTLB maps to user virtual addresses. Nothing nearby checks the translated address: that relies on the mapping having been validated against the user's VMAs when it was set up.
Use get_user() and put_user(), which do the same single, untorn access and also check the address. The only atomic-context use, the vdpa simulators' notification check, now disables page faults around it, so the might_fault() in the checked accessors stays quiet there.
This is part of getting rid of __get_user() and __put_user() entirely.
| Product | Versions |
|---|---|
| Linux Linux | 42823a871fd4e17b34034f43b36ae57bd2ed8a67 to before d51b9229bc5b99e68ddd8ab947ae9e427a9a0105 Affected42823a871fd4e17b34034f43b36ae57bd2ed8a67 to before 8f6d3def34b1acb44d929fadc49f476e04ee39ee Affected42823a871fd4e17b34034f43b36ae57bd2ed8a67 to before 34b8059176e87ec8d07236e8f321ea8302eb2f57 Affected42823a871fd4e17b34034f43b36ae57bd2ed8a67 to before ec8543658d33cbe854f75a6396265d0b41cf94a7 Affected42823a871fd4e17b34034f43b36ae57bd2ed8a67 to before 95a214f31a3b1ef40034f1e1cb3b9d758a374f01 Affected |
| Linux Linux | 6.4 Affectedbefore 6.4 Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/d51b9229bc5b99e68ddd8ab947ae9e427a9a0105
- https://git.kernel.org/stable/c/8f6d3def34b1acb44d929fadc49f476e04ee39ee
- https://git.kernel.org/stable/c/34b8059176e87ec8d07236e8f321ea8302eb2f57
- https://git.kernel.org/stable/c/ec8543658d33cbe854f75a6396265d0b41cf94a7
- https://git.kernel.org/stable/c/95a214f31a3b1ef40034f1e1cb3b9d758a374f01
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.