Linux
drm/amdgpu: fix amdgpu_hmm_range_get_pages
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: fix amdgpu_hmm_range_get_pages The notifier sequence must only be read once or otherwise we could work with invalid pages. While at it also fix the coding style, e.g. drop the pre-initialized return value and use the common define for 2G range. (cherry picked from commit c08972f555945cda57b0adb72272a37910153390)
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= c1420a5dd4dd2a1ffc86965ad1c6f439afb130bc, < e35cf322897dd4921248d11311a89c865b534c14
- >= c1420a5dd4dd2a1ffc86965ad1c6f439afb130bc, < 93a9f121de6383f20290840d025ee28fda5f53b5
- >= c1420a5dd4dd2a1ffc86965ad1c6f439afb130bc, < fa34d3e14cb763b50702e8a0f7d4cfd877a73ab9
- >= c1420a5dd4dd2a1ffc86965ad1c6f439afb130bc, < 2fd24407457a6b181ba827705678da70e528dcd0
- >= c1420a5dd4dd2a1ffc86965ad1c6f439afb130bc, < 962d684b5dc0741dcd93485d41b450de402d5592
Fixed in e35cf322897dd4921248d11311a89c865b534c14, 93a9f121de6383f20290840d025ee28fda5f53b5, fa34d3e14cb763b50702e8a0f7d4cfd877a73ab9, 2fd24407457a6b181ba827705678da70e528dcd0, 962d684b5dc0741dcd93485d41b450de402d5592
- 6.2
Fixed in 0, 6.6.160, 6.12.114, 6.18.57, 7.0.12, 7.1
Mitigation
Upgrade Linux to e35cf322897dd4921248d11311a89c865b534c14 or 93a9f121de6383f20290840d025ee28fda5f53b5 or fa34d3e14cb763b50702e8a0f7d4cfd877a73ab9 or 2fd24407457a6b181ba827705678da70e528dcd0 or 962d684b5dc0741dcd93485d41b450de402d5592 or later.
Upgrade Linux to 0 or 6.6.160 or 6.12.114 or 6.18.57 or 7.0.12 or 7.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.