diff options
author | Pavel Skripkin <[email protected]> | 2021-09-02 23:27:56 +0300 |
---|---|---|
committer | Marcel Holtmann <[email protected]> | 2021-09-10 09:38:43 +0200 |
commit | 2fc7acb69fa3573d4bf7a90c323296d840daf330 (patch) | |
tree | 600ded4192239f3b2981dd42aad95633802f9e41 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 8bba13b1d08d42e2e8308924fa5c1551a7b2b011 (diff) |
Bluetooth: hci_uart: fix GPF in h5_recv
Syzbot hit general protection fault in h5_recv(). The problem was in
missing NULL check.
hu->serdev can be NULL and we cannot blindly pass &serdev->dev
somewhere, since it can cause GPF.
Fixes: d9dd833cf6d2 ("Bluetooth: hci_h5: Add runtime suspend")
Reported-and-tested-by: [email protected]
Signed-off-by: Pavel Skripkin <[email protected]>
Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions