Description
In the Linux kernel, the following vulnerability has been resolved: drm/gpusvm: fix hmm_pfn_to_map_order() usage Handle the case where the hmm range partially covers a huge page (like 2M), otherwise we can potentially end up doing something nasty like mapping memory which is outside the range, and maybe not even mapped by the mm. Fix is based on the xe userptr code, which in a future patch will directly use gpusvm, so needs alignment here. v2: - Add kernel-doc (Matt B) - s/fls/ilog2/ (Thomas)
Product status
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before 08e9fd78ba1b9e95141181c69cc51795c9888157
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (git) before c50729c68aaf93611c855752b00e49ce1fdd1558
6.17.8 (semver)
6.18 (original_commit_for_fix)
References
git.kernel.org/...c/08e9fd78ba1b9e95141181c69cc51795c9888157
git.kernel.org/...c/c50729c68aaf93611c855752b00e49ce1fdd1558