Skip to content

Input: fix USB alsetting bugs

Johan Hovold linux-input linux-usb lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7Input: pegasus_notetaker: fix endpoint sanity checkdrivers/input/tablet/pegasus_notetaker.c+1 -16 replies
2/7Input: aiptek: fix endpoint sanity checkdrivers/input/tablet/aiptek.c+3 -31 reply
3/7Input: aiptek: use descriptors of current altsettingdrivers/input/tablet/aiptek.c+1 -10 replies
4/7Input: gtco: fix endpoint sanity checkdrivers/input/tablet/gtco.c+3 -71 reply
5/7Input: gtco: fix extra-descriptor debug messagedrivers/input/tablet/gtco.c+2 -10 replies
6/7Input: gtco: drop redundant variable reinitdrivers/input/tablet/gtco.c+0 -20 replies
7/7Input: sur40: fix interface sanity checksdrivers/input/touchscreen/sur40.c+1 -10 replies

Reviews trailers per patch

1 of 7 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMartin KepplingerVladis Dronov
SeriesA-b
1/7A-b
2/7
3/7
4/7
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/7] Input: fix USB alsetting bugs

We had quite a few driver using the first alternate setting instead of the current one when doing descriptor sanity checks. This is mostly an issue on kernels with panic_on_warn set due to a WARN() in usb_submit_urn(). Since we've started backporting such fixes (e.g. as reported by syzbot), I've marked these for stable as well.

Included are also a couple of related clean ups to prevent future issues.

Johan

Johan Hovold (7):
Input: pegasus_notetaker: fix endpoint sanity check
Input: aiptek: fix endpoint sanity check
Input: aiptek: use descriptors of current altsetting
Input: gtco: fix endpoint sanity check
Input: gtco: fix extra-descriptor debug message
Input: gtco: drop redundant variable reinit
Input: sur40: fix interface sanity checks

 drivers/input/tablet/aiptek.c            |  8 ++++----
 drivers/input/tablet/gtco.c              | 13 ++++---------
 drivers/input/tablet/pegasus_notetaker.c |  2 +-
 drivers/input/touchscreen/sur40.c        |  2 +-
 4 files changed, 10 insertions(+), 15 deletions(-)
Signature · 1 line
2.24.0