aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorLeo Stone <[email protected]>2024-12-18 18:49:57 +0000
committerKeith Busch <[email protected]>2024-12-27 21:14:31 +0000
commit4db3d750ac7e894278ef1cb1c53cc7d883060496 (patch)
tree7ae030332c8bcd82e2bf80a3a2af5956228b41e6 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentnvme-pci: 512 byte aligned dma pool segment quirk (diff)
downloadkernel-4db3d750ac7e894278ef1cb1c53cc7d883060496.tar.gz
kernel-4db3d750ac7e894278ef1cb1c53cc7d883060496.zip
nvmet: Don't overflow subsysnqn
nvmet_root_discovery_nqn_store treats the subsysnqn string like a fixed size buffer, even though it is dynamically allocated to the size of the string. Create a new string with kstrndup instead of using the old buffer. Reported-by: [email protected] Closes: https://syzkaller.appspot.com/bug?extid=ff4aab278fa7e27e0f9e Fixes: 95409e277d83 ("nvmet: implement unique discovery NQN") Signed-off-by: Leo Stone <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Keith Busch <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions