aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
diff options
context:
space:
mode:
authorBastien Curutchet <[email protected]>2024-07-11 08:18:37 +0000
committerUlf Hansson <[email protected]>2024-07-11 15:48:54 +0000
commit16198eef11c1929374381d7f6271b4bf6aa44615 (patch)
tree0f631006be8d9c0107dcfcccf79d1d027102b5e3 /drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c
parentmmc: sdhci: Fix max_seg_size for 64KiB PAGE_SIZE (diff)
downloadkernel-16198eef11c1929374381d7f6271b4bf6aa44615.tar.gz
kernel-16198eef11c1929374381d7f6271b4bf6aa44615.zip
mmc: davinci_mmc: Prevent transmitted data size from exceeding sgm's length
No check is done on the size of the data to be transmiited. This causes a kernel panic when this size exceeds the sg_miter's length. Limit the number of transmitted bytes to sgm->length. Cc: [email protected] Fixes: ed01d210fd91 ("mmc: davinci_mmc: Use sg_miter for PIO") Signed-off-by: Bastien Curutchet <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c')
0 files changed, 0 insertions, 0 deletions