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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
42823a871fd4e17b34034f43b36ae57bd2ed8a67 to < d51b9229bc5b99e68ddd8ab947ae9e427a9a0105affected42823a871fd4e17b34034f43b36ae57bd2ed8a67 to < 8f6d3def34b1acb44d929fadc49f476e04ee39eeaffected42823a871fd4e17b34034f43b36ae57bd2ed8a67 to < 34b8059176e87ec8d07236e8f321ea8302eb2f57affected42823a871fd4e17b34034f43b36ae57bd2ed8a67 to < ec8543658d33cbe854f75a6396265d0b41cf94a7affected42823a871fd4e17b34034f43b36ae57bd2ed8a67 to < 95a214f31a3b1ef40034f1e1cb3b9d758a374f01affected
Linux Linux
Default version status: affected
6.4affected0 to < 6.4unaffected6.6.163 to ≤ 6.6.*unaffected6.12.119 to ≤ 6.12.*unaffected6.18.65 to ≤ 6.18.*unaffected7.3.6 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected
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 ↗