Bluetooth: btintel: Fix null ptr deref in btintel_read_version
[ Upstream commit b79e0409 ] If hci_cmd_sync_complete() is triggered and skb is NULL, then hdev->req_skb is NULL, which will cause this issue. Reported-and-tested-by: <syzbot+830d9e3fa61968246abd@syzkaller.appspotmail.com> Signed-off-by: Edward Adam Davis <eadavis@qq.com> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
parent
d7ee3bf0
Please register or sign in to comment