drm/gpusvm: Reject VMAs with VM_IO or VM_PFNMAP when creating SVM ranges
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 353f26c74660bcbd8d82cd76622748e14a5a5db3, Kernel 63f443384979563f16f70420f4fa85bba31238ca, Kernel b82a225e57a334335a21462b75ee2223bc6efe6d and 2 more.
In the Linux kernel, the following vulnerability has been resolved: drm/gpusvm: Reject VMAs with VM_IO or VM_PFNMAP when creating SVM ranges VMAs marked with VM_IO or VM_PFNMAP are not backed by struct page objects, which GPUSVM requires in order to operate correctly. In particular, get_pages() relies on hmm_range_fault() to resolve struct pages for the target range. Attempting to create an SVM range on such VMAs results in repeated get_pages() failures and can lead to an infinite loop inside a driver’s page‑fault handler. Prevent this by rejecting ranges on VM_IO or VM_PFNMAP VMAs and returning -EIO.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.15, >=99624bdff8670795b678eafa6509aaad3a5c0175 <353f26c74660bcbd8d82cd76622748e14a5a5db3, >=99624bdff8670795b678eafa6509aaad3a5c0175 <63f443384979563f16f70420f4fa85bba31238ca, >=99624bdff8670795b678eafa6509aaad3a5c0175 <b82a225e57a334335a21462b75ee2223bc6efe6d | 353f26c74660bcbd8d82cd76622748e14a5a5db3, 63f443384979563f16f70420f4fa85bba31238ca, b82a225e57a334335a21462b75ee2223bc6efe6d |
| linux-kernel: Kernel | >=6.15.0 <6.18.40, >=6.19.0 <7.1.5 | 6.18.40, 7.1.5 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket