summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorjackysliu <1972843537@qq.com>2025-06-24 19:58:24 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2025-07-14 21:10:30 -0400
commitadd4c4850363d7c1b72e8fce9ccb21fdd2cf5dc9 (patch)
treedf8e5f2b34993bd6d077246a0e5aa404255a3573 /tools/perf/scripts/python/stackcollapse.py
parentb99a50672513a1445ce777041e3b4d2f829a40d6 (diff)
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 <1972843537@qq.com> Link: https://lore.kernel.org/r/tencent_3BB950D6D2D470976F55FC879206DE0B9A09@qq.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions