aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorHeikki Krogerus <[email protected]>2024-05-07 16:43:16 +0300
committerGreg Kroah-Hartman <[email protected]>2024-05-10 10:36:26 +0100
commitb791a67f68121d69108640d4a3e591d210ffe850 (patch)
tree1eaba8fe1450ecf2fe7b21ff0e2be411a9183c54 /scripts/gdb/linux/tasks.py
parent718b36a7b49acbba36546371db2d235271ceb06c (diff)
usb: typec: ucsi: displayport: Fix potential deadlock
The function ucsi_displayport_work() does not access the connector, so it also must not acquire the connector lock. This fixes a potential deadlock scenario: ucsi_displayport_work() -> lock(&con->lock) typec_altmode_vdm() dp_altmode_vdm() dp_altmode_work() typec_altmode_enter() ucsi_displayport_enter() -> lock(&con->lock) Reported-by: Mathias Nyman <[email protected]> Fixes: af8622f6a585 ("usb: typec: ucsi: Support for DisplayPort alt mode") Cc: [email protected] Signed-off-by: Heikki Krogerus <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions