diff options
author | Karol Przybylski <karprzy7@gmail.com> | 2024-12-06 01:22:21 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.com> | 2025-01-09 11:57:35 +0300 |
commit | 50420d7c79c37a3efe4010ff9b1bb14bc61ebccf (patch) | |
tree | c83500ac4eca57aa5022b1f1e4ab83f127ff0da8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 86b05bb2d4a1e4774dafa89c3b0ecbf8f4335cf3 (diff) | |
download | linux-50420d7c79c37a3efe4010ff9b1bb14bc61ebccf.tar.xz |
HID: hid-thrustmaster: Fix warning in thrustmaster_probe by adding endpoint check
syzbot has found a type mismatch between a USB pipe and the transfer
endpoint, which is triggered by the hid-thrustmaster driver[1].
There is a number of similar, already fixed issues [2].
In this case as in others, implementing check for endpoint type fixes the issue.
[1] https://syzkaller.appspot.com/bug?extid=040e8b3db6a96908d470
[2] https://syzkaller.appspot.com/bug?extid=348331f63b034f89b622
Fixes: c49c33637802 ("HID: support for initialization of some Thrustmaster wheels")
Reported-by: syzbot+040e8b3db6a96908d470@syzkaller.appspotmail.com
Tested-by: syzbot+040e8b3db6a96908d470@syzkaller.appspotmail.com
Signed-off-by: Karol Przybylski <karprzy7@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions