aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
diff options
context:
space:
mode:
authorjackysliu <[email protected]>2025-06-24 11:58:24 +0000
committerMartin K. Petersen <[email protected]>2025-07-15 01:10:30 +0000
commitadd4c4850363d7c1b72e8fce9ccb21fdd2cf5dc9 (patch)
treedf8e5f2b34993bd6d077246a0e5aa404255a3573 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
parentMerge patch series "ufs: ufs-qcom: Align programming sequence as per HW spec" (diff)
downloadkernel-add4c4850363d7c1b72e8fce9ccb21fdd2cf5dc9.tar.gz
kernel-add4c4850363d7c1b72e8fce9ccb21fdd2cf5dc9.zip
scsi: bfa: Double-free fix
When the bfad_im_probe() function fails during initialization, the memory pointed to by bfad->im is freed without setting bfad->im to NULL. Subsequently, during driver uninstallation, when the state machine enters the bfad_sm_stopping state and calls the bfad_im_probe_undo() function, it attempts to free the memory pointed to by bfad->im again, thereby triggering a double-free vulnerability. Set bfad->im to NULL if probing fails. Signed-off-by: jackysliu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions