... | ... | ||
---|---|---|---|
21 | To fix this, we should handle cases where wacom_compute_pktlen() | 21 | To fix this, we should handle cases where wacom_compute_pktlen() |
22 | results in 0. | 22 | results in 0. |
23 | 23 | ||
24 | Reported-by: syzbot <syzbot+d5204cbbdd921f1f7cad@syzkaller.appspotmail.com> | 24 | Reported-by: syzbot <syzbot+d5204cbbdd921f1f7cad@syzkaller.appspotmail.com> |
25 | Closes: https://syzkaller.appspot.com/bug?extid=d5204cbbdd921f1f7cad | 25 | Closes: https://syzkaller.appspot.com/bug?extid=d5204cbbdd921f1f7cad |
26 | Fixes: 5e013ad20689 ("HID: wacom: Remove static WACOM_PKGLEN_MAX limit") | ||
26 | Tested-by: Qasim Ijaz <qasdev00@gmail.com> | 27 | Tested-by: Qasim Ijaz <qasdev00@gmail.com> |
28 | Reviewed-by: Jason Gerecke <jason.gerecke@wacom.com> | ||
27 | Cc: stable@vger.kernel.org | 29 | Cc: stable@vger.kernel.org |
28 | Signed-off-by: Qasim Ijaz <qasdev00@gmail.com> | 30 | Signed-off-by: Qasim Ijaz <qasdev00@gmail.com> |
29 | --- | 31 | --- |
32 | v2: | ||
33 | - Added Fixes tag as suggested by Jason Gerecke | ||
34 | |||
30 | drivers/hid/wacom_sys.c | 2 ++ | 35 | drivers/hid/wacom_sys.c | 2 ++ |
31 | 1 file changed, 2 insertions(+) | 36 | 1 file changed, 2 insertions(+) |
32 | 37 | ||
33 | diff --git a/drivers/hid/wacom_sys.c b/drivers/hid/wacom_sys.c | 38 | diff --git a/drivers/hid/wacom_sys.c b/drivers/hid/wacom_sys.c |
34 | index XXXXXXX..XXXXXXX 100644 | 39 | index XXXXXXX..XXXXXXX 100644 |
... | ... | diff view generated by jsdifflib |