summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorXiubo Li <xiubli@redhat.com>2023-04-19 10:39:14 +0800
committerIlya Dryomov <idryomov@gmail.com>2023-04-30 12:37:28 +0200
commitaaf67de78807c59c35bafb5003d4fb457c764800 (patch)
treeca4240b921c125f5ec462f01284da73f6b182ca4 /tools/perf/scripts/python/export-to-sqlite.py
parent7d41870d65db028234333c68e60a034ac335557a (diff)
ceph: fix potential use-after-free bug when trimming caps
When trimming the caps and just after the 'session->s_cap_lock' is released in ceph_iterate_session_caps() the cap maybe removed by another thread, and when using the stale cap memory in the callbacks it will trigger use-after-free crash. We need to check the existence of the cap just after the 'ci->i_ceph_lock' being acquired. And do nothing if it's already removed. Cc: stable@vger.kernel.org Link: https://tracker.ceph.com/issues/43272 Signed-off-by: Xiubo Li <xiubli@redhat.com> Reviewed-by: Luís Henriques <lhenriques@suse.de> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
>2020-02-24netronome: Replace zero-length array with flexible-array memberGustavo A. R. Silva 2020-02-24toshiba: Replace zero-length array with flexible-array memberGustavo A. R. Silva 2020-02-24chelsio: Replace zero-length array with flexible-array memberGustavo A. R. Silva 2020-02-24net: dsa: felix: Use PHY_INTERFACE_MODE_INTERNAL instead of GMIIVladimir Oltean 2020-02-24bareudp: Fix uninitialized variable warnings.David S. Miller 2020-02-24net: Special handling for IP & MPLS.Martin Varghese 2020-02-24net: UDP tunnel encapsulation module for tunnelling different protocols like ...Martin Varghese 2020-02-24mlxsw: spectrum_trap: Add ACL devlink-trap supportJiri Pirko 2020-02-24mlxsw: spectrum_trap: Introduce dummy group with thin policerJiri Pirko 2020-02-24mlxsw: core: Extend MLXSW_RXL_DIS to register disabled trap groupJiri Pirko 2020-02-24mlxsw: core: Allow to enable/disable rx_listener for trapJiri Pirko 2020-02-24mlxsw: acl_flex_actions: Trap all ACL dropped packets to DISCARD_*_ACL trapsJiri Pirko 2020-02-24mlxsw: spectrum_acl: Pass the ingress indication down to flex actionJiri Pirko 2020-02-24mlxsw: spectrum_flower: Disable mixed bound blocks to contain action dropJiri Pirko 2020-02-24mlxsw: spectrum_acl: Track ingress and egress block bindingsJiri Pirko 2020-02-24mlxsw: spectrum_trap: Prepare mlxsw_core_trap_action_set() to handle not only...Jiri Pirko 2020-02-24mlxsw: spectrum_trap: Use listener->en/dis_action instead of hard-coded valuesJiri Pirko 2020-02-24mlxsw: core: Allow to register disabled traps using MLXSW_RXL_DISJiri Pirko 2020-02-24mlxsw: spectrum_trap: Set unreg_action to be SET_FW_DEFAULTJiri Pirko 2020-02-24net/atheros: Clean atheros code from driver versionLeon Romanovsky