aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorZhen Ni <[email protected]>2025-09-23 07:51:04 +0000
committerChristian Brauner <[email protected]>2025-09-25 07:18:17 +0000
commit9158c6bb245113d4966df9b2ba602197a379412e (patch)
tree42c3adc764cfd70f0b9e1b7efdaf59faf8d66c18 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentnetfs: Prevent duplicate unlocking (diff)
downloadkernel-9158c6bb245113d4966df9b2ba602197a379412e.tar.gz
kernel-9158c6bb245113d4966df9b2ba602197a379412e.zip
afs: Fix potential null pointer dereference in afs_put_server
afs_put_server() accessed server->debug_id before the NULL check, which could lead to a null pointer dereference. Move the debug_id assignment, ensuring we never dereference a NULL server pointer. Fixes: 2757a4dc1849 ("afs: Fix access after dec in put functions") Cc: [email protected] Signed-off-by: Zhen Ni <[email protected]> Acked-by: David Howells <[email protected]> Reviewed-by: Jeffrey Altman <[email protected]> Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions