summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/btmtksdio.c
diff options
context:
space:
mode:
authorPavel Skripkin <paskripkin@gmail.com>2022-03-13 18:49:36 +0100
committerMarcel Holtmann <marcel@holtmann.org>2022-03-18 17:12:07 +0100
commit32cb08e958696908a9aad5e49a78d74f7e32fffb (patch)
tree83fe50c8495919b4ad620ffe82c338cc74bdc583 /drivers/bluetooth/btmtksdio.c
parentBluetooth: Fix use after free in hci_send_acl (diff)
downloadlinux-32cb08e958696908a9aad5e49a78d74f7e32fffb.tar.xz
linux-32cb08e958696908a9aad5e49a78d74f7e32fffb.zip
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: syzbot+b9bd12fbed3485a3e51f@syzkaller.appspotmail.com Fixes: d9dd833cf6d2 ("Bluetooth: hci_h5: Add runtime suspend") Signed-off-by: Pavel Skripkin <paskripkin@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/btmtksdio.c')
0 files changed, 0 insertions, 0 deletions