Bug 2298177 (CVE-2022-48836) - CVE-2022-48836 kernel: Input: aiptek - properly check endpoint type
Summary: CVE-2022-48836 kernel: Input: aiptek - properly check endpoint type
Keywords:
Status: NEW
Alias: CVE-2022-48836
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-07-16 13:21 UTC by OSIDB Bzimport
Modified: 2024-10-17 06:46 UTC (History)
4 users (show)

Fixed In Version: kernel 4.9.308, kernel 4.14.273, kernel 4.19.236, kernel 5.4.187, kernel 5.10.108, kernel 5.15.31, kernel 5.16.17, kernel 5.17
Doc Type: If docs needed, set a value
Doc Text:
A wrong endpoint type warning was recorded in usb_submit_urb() in the Linux kernel. This may present a potential loss of Availability.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2024:7043 0 None None None 2024-09-24 09:43:15 UTC
Red Hat Product Errata RHBA-2024:7198 0 None None None 2024-09-26 09:48:56 UTC
Red Hat Product Errata RHBA-2024:7236 0 None None None 2024-09-26 14:33:28 UTC
Red Hat Product Errata RHBA-2024:7637 0 None None None 2024-10-03 14:46:03 UTC
Red Hat Product Errata RHBA-2024:8227 0 None None None 2024-10-17 06:46:07 UTC
Red Hat Product Errata RHSA-2024:7000 0 None None None 2024-09-24 02:34:46 UTC
Red Hat Product Errata RHSA-2024:7001 0 None None None 2024-09-24 00:39:28 UTC

Description OSIDB Bzimport 2024-07-16 13:21:28 UTC
In the Linux kernel, the following vulnerability has been resolved:

Input: aiptek - properly check endpoint type

Syzbot reported warning in usb_submit_urb() which is caused by wrong
endpoint type. There was a check for the number of endpoints, but not
for the type of endpoint.

Fix it by replacing old desc.bNumEndpoints check with
usb_find_common_endpoints() helper for finding endpoints

Fail log:

usb 5-1: BOGUS urb xfer, pipe 1 != type 3
WARNING: CPU: 2 PID: 48 at drivers/usb/core/urb.c:502 usb_submit_urb+0xed2/0x18a0 drivers/usb/core/urb.c:502
Modules linked in:
CPU: 2 PID: 48 Comm: kworker/2:2 Not tainted 5.17.0-rc6-syzkaller-00226-g07ebd38a0da2 #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014
Workqueue: usb_hub_wq hub_event
...
Call Trace:
 <TASK>
 aiptek_open+0xd5/0x130 drivers/input/tablet/aiptek.c:830
 input_open_device+0x1bb/0x320 drivers/input/input.c:629
 kbd_connect+0xfe/0x160 drivers/tty/vt/keyboard.c:1593

Comment 9 errata-xmlrpc 2024-09-24 00:39:27 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2024:7001 https://access.redhat.com/errata/RHSA-2024:7001

Comment 10 errata-xmlrpc 2024-09-24 02:34:45 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2024:7000 https://access.redhat.com/errata/RHSA-2024:7000


Note You need to log in before you can comment on or make changes to this bug.