aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorLixiaokeng <[email protected]>2021-12-20 19:39:06 +0800
committerMartin K. Petersen <[email protected]>2021-12-22 23:03:59 -0500
commit1b8d0300a3e9f216ae4901bab886db7299899ec6 (patch)
tree8ee913851e6319b98594665013eb08e9745d03d1 /tools/perf/scripts/python/export-to-sqlite.py
parent9020be114a47bf7ff33e179b3bb0016b91a098e6 (diff)
scsi: libiscsi: Fix UAF in iscsi_conn_get_param()/iscsi_conn_teardown()
|- iscsi_if_destroy_conn |-dev_attr_show |-iscsi_conn_teardown |-spin_lock_bh |-iscsi_sw_tcp_conn_get_param |-kfree(conn->persistent_address) |-iscsi_conn_get_param |-kfree(conn->local_ipaddr) ==>|-read persistent_address ==>|-read local_ipaddr |-spin_unlock_bh When iscsi_conn_teardown() and iscsi_conn_get_param() happen in parallel, a UAF may be triggered. Link: https://lore.kernel.org/r/[email protected] Reported-by: Lu Tixiong <[email protected]> Reviewed-by: Mike Christie <[email protected]> Reviewed-by: Lee Duncan <[email protected]> Signed-off-by: Lixiaokeng <[email protected]> Signed-off-by: Linfeilong <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions