aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
diff options
context:
space:
mode:
authorPavel Begunkov <[email protected]>2021-04-01 08:55:04 +0000
committerJens Axboe <[email protected]>2021-04-01 15:21:18 +0000
commit696ee88a7c50f96573f98aa76cc74286033140c1 (patch)
treeb215f2544b7f3c95374a7a1ebaa85262296d05e5 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
parentio_uring: don't mark S_ISBLK async work as unbounded (diff)
downloadkernel-696ee88a7c50f96573f98aa76cc74286033140c1.tar.gz
kernel-696ee88a7c50f96573f98aa76cc74286033140c1.zip
io_uring/io-wq: protect against sprintf overflow
task_pid may be large enough to not fit into the left space of TASK_COMM_LEN-sized buffers and overflow in sprintf. We not so care about uniqueness, so replace it with safer snprintf(). Reported-by: Alexey Dobriyan <[email protected]> Signed-off-by: Pavel Begunkov <[email protected]> Link: https://lore.kernel.org/r/1702c6145d7e1c46fbc382f28334c02e1a3d3994.1617267273.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h')
0 files changed, 0 insertions, 0 deletions