Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 99624bdff8670795b678eafa6509aaad3a5c0175 before 353f26c74660bcbd8d82cd76622748e14a5a5db3; affected 99624bdff8670795b678eafa6509aaad3a5c0175 before 63f443384979563f16f70420f4fa85bba31238ca; affected 99624bdff8670795b678eafa6509aaad3a5c0175 before b82a225e57a334335a21462b75ee2223bc6efe6d |
| Linux / Linux | affected 6.15; unaffected 0 before 6.15; unaffected 6.18.40 through 6.18.*; unaffected 7.1.5 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.