summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2026-10-23 14:15:19 +0200
committerJohan Hovold <johan@kernel.org>2026-10-29 16:22:05 +0100
commitae22e9b6412e5dc99e1cf8bd13c6176d44c7d42e (patch)
treeb1d8dcc458395c3863796864b3d224dc45e13472 /tools/perf/scripts/python/exported-sql-viewer.py
parent0e0b1fcfb80c0490bda7f7eb633ebb5e431c2e16 (diff)
USB: serial: io_edgeport: fix NULL-deref on early status
The driver submits the interrupt-in URB during probe or on first port open, which on completion may submit the bulk-in URB before all ports have been opened and their waitqueues have been initialised. If a (malicious) device sends a status message for a port that has not yet been opened this may lead to a NULL-pointer dereference in the bulk-in completion handler when attempting to wakeup blocked tasks. Move waitqueue initialisation from open() to port_probe() to address this. Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Reported-by: syzbot+763813d65c7e18c1b6d5@syzkaller.appspotmail.com Link: https://lore.kernel.org/6a8818d8.ae6ddae5.3da009.0031.GAE@google.com Cc: stable@vger.kernel.org Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions