summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAndrei Kuchynski <akuchynski@chromium.org>2025-03-21 14:37:26 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-04-11 14:57:36 +0200
commitec27386de23a511008c53aa2f3434ad180a3ca9a (patch)
treee8e76523cbfc765850fa8182403a4d8aa5ffae74 /tools/perf/scripts/python/export-to-postgresql.py
parentbea5892d0ed274e03655223d1977cf59f9aff2f2 (diff)
usb: typec: class: Fix NULL pointer access
Concurrent calls to typec_partner_unlink_device can lead to a NULL pointer dereference. This patch adds a mutex to protect USB device pointers and prevent this issue. The same mutex protects both the device pointers and the partner device registration. Cc: stable@vger.kernel.org Fixes: 59de2a56d127 ("usb: typec: Link enumerated USB devices with Type-C partner") Signed-off-by: Andrei Kuchynski <akuchynski@chromium.org> Reviewed-by: Benson Leung <bleung@chromium.org> Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Link: https://lore.kernel.org/r/20250321143728.4092417-2-akuchynski@chromium.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions