summaryrefslogtreecommitdiff
path: root/net/openvswitch/datapath.c
diff options
context:
space:
mode:
authorPauli Virtanen <pav@iki.fi>2026-07-10 11:23:41 +0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2026-07-10 15:55:33 -0400
commitf3f75fd597f25c511b0ebeef53016564007b7c13 (patch)
tree7ff4e53356cdfc8c97e14a57382ca6ef9f7c8e94 /net/openvswitch/datapath.c
parent17f5bfb02164e2bb052c22f81ceb243e1fa31942 (diff)
downloadlinux-next-f3f75fd597f25c511b0ebeef53016564007b7c13.tar.gz
linux-next-f3f75fd597f25c511b0ebeef53016564007b7c13.zip
Bluetooth: mgmt: fix locking in unpair_device/disconnect_sync
Dereferencing RCU-protected pointers outside critical sections is invalid and may lead to UAF. Take hdev->lock for hci_conn lookup and hci_abort_conn(). Don't use RCU to ensure the conn is fully initialized at this point. Fixes: 227a0cdf4a028 ("Bluetooth: MGMT: Fix not generating command complete for MGMT_OP_DISCONNECT") Signed-off-by: Pauli Virtanen <pav@iki.fi> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'net/openvswitch/datapath.c')
0 files changed, 0 insertions, 0 deletions