aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorIra Weiny <[email protected]>2021-02-10 17:49:28 +0000
committerDavid Sterba <[email protected]>2021-02-11 18:56:15 +0000
commitca18f6ea012bf30236b76c3480ac2c97131b6f8f (patch)
treea5f9c09af903cb39b9245e03f0a96e863696580c /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentmm/highmem: Introduce memcpy_page(), memmove_page(), and memset_page() (diff)
downloadkernel-ca18f6ea012bf30236b76c3480ac2c97131b6f8f.tar.gz
kernel-ca18f6ea012bf30236b76c3480ac2c97131b6f8f.zip
mm/highmem: Add VM_BUG_ON() to mem*_page() calls
Add VM_BUG_ON bounds checks to ensure the newly lifted and created page memory operations do not result in corrupted data in neighbor pages.[1][2] [1] https://lore.kernel.org/lkml/[email protected]/ [2] https://lore.kernel.org/lkml/[email protected]/ Suggested-by: Matthew Wilcox <[email protected]> Suggested-by: Andrew Morton <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Ira Weiny <[email protected]> Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions