diff options
| author | jackysliu <[email protected]> | 2025-06-24 11:58:24 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2025-07-15 01:10:30 +0000 |
| commit | add4c4850363d7c1b72e8fce9ccb21fdd2cf5dc9 (patch) | |
| tree | df8e5f2b34993bd6d077246a0e5aa404255a3573 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | |
| parent | Merge patch series "ufs: ufs-qcom: Align programming sequence as per HW spec" (diff) | |
| download | kernel-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
