diff options
| author | Pavel Skripkin <[email protected]> | 2022-03-13 20:49:36 +0300 |
|---|---|---|
| committer | Marcel Holtmann <[email protected]> | 2022-03-18 17:12:07 +0100 |
| commit | 32cb08e958696908a9aad5e49a78d74f7e32fffb (patch) | |
| tree | 83fe50c8495919b4ad620ffe82c338cc74bdc583 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | f63d24baff787e13b723d86fe036f84bdbc35045 (diff) | |
Bluetooth: hci_uart: add missing NULL check in h5_enqueue
Syzbot hit general protection fault in __pm_runtime_resume(). The problem
was in missing NULL check.
hu->serdev can be NULL and we should not blindly pass &serdev->dev
somewhere, since it will cause GPF.
Reported-by: [email protected]
Fixes: d9dd833cf6d2 ("Bluetooth: hci_h5: Add runtime suspend")
Signed-off-by: Pavel Skripkin <[email protected]>
Signed-off-by: Marcel Holtmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions