diff options
| author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2023-11-20 10:04:39 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-01-08 11:25:04 +0100 |
| commit | 3abc53a64e0ab44041e8d2ba852806dfa0c8c421 (patch) | |
| tree | 8ff14db8ff79814b1f4e00da12bfdaa0d0253304 /include/linux | |
| parent | 54fdb26372540e3a38e4e94ecd698525384459a5 (diff) | |
Bluetooth: hci_event: Fix not checking if HCI_OP_INQUIRY has been sent
commit 99e67d46e5ff3c7c901af6009edec72d3d363be8 upstream.
Before setting HCI_INQUIRY bit check if HCI_OP_INQUIRY was really sent
otherwise the controller maybe be generating invalid events or, more
likely, it is a result of fuzzing tools attempting to test the right
behavior of the stack when unexpected events are generated.
Cc: stable@vger.kernel.org
Link: https://bugzilla.kernel.org/show_bug.cgi?id=218151
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
