CVE-2026-139252: vhost: vringh: use get_user()/put_user() for IOTLB 16-bit accesses
In the Linux kernel, the following vulnerability has been resolved:
vhost: vringh: use getuser()/putuser() for IOTLB 16-bit accesses
getu16iotlb() and putu16iotlb() use getuser() and putuser() 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 getuser() and putuser(), 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 mightfault() in the checked accessors stays quiet there.
This is part of getting rid of getuser() and putuser() entirely.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In vhost: vringh, replace __get_user() and __put_user() with get_user() and put_user() for 16-bit IOTLB accesses.