CVE-2022-48836: Input: aiptek - properly check endpoint type

Published Jul 16, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

Input: aiptek - properly check endpoint type

Syzbot reported warning in usbsubmiturb() 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 usbfindcommonendpoints() 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 usbsubmiturb+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: usbhubwq hubevent ... Call Trace: aiptekopen+0xd5/0x130 drivers/input/tablet/aiptek.c:830 inputopendevice+0x1bb/0x320 drivers/input/input.c:629 kbdconnect+0xfe/0x160 drivers/tty/vt/keyboard.c:1593

Other sources

In the Linux kernel, the following vulnerability has been resolved:

Input: aiptek - properly check endpoint type

Syzbot reported warning in usbsubmiturb() 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 usbfindcommonendpoints() 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 usbsubmiturb+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: usbhubwq hubevent ... Call Trace: <TASK> aiptekopen+0xd5/0x130 drivers/input/tablet/aiptek.c:830 inputopendevice+0x1bb/0x320 drivers/input/input.c:629 kbdconnect+0xfe/0x160 drivers/tty/vt/keyboard.c:1593

Red Hat

Affected Software

20 affected componentsFixes available
redhat/kernel<4.9.308
4.9.308
redhat/kernel<4.14.273
4.14.273
redhat/kernel<4.19.236
4.19.236
redhat/kernel<5.4.187
5.4.187
redhat/kernel<5.10.108
5.10.108
redhat/kernel<5.15.31
5.15.31
redhat/kernel<5.16.17
5.16.17
redhat/kernel<5.17
5.17
Linux Linux kernel>=4.4<4.9.308
Linux Linux kernel>=4.10<4.14.273
Linux Linux kernel>=4.15<4.19.236
Linux Linux kernel>=4.20<5.4.187
Linux Linux kernel>=5.5<5.10.108
Linux Linux kernel>=5.11<5.15.31
Linux Linux kernel>=5.16<5.16.17
IBM Security Verify Governance<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Software Stack<=ISVG 10.0.2
IBM Security Verify Governance, Identity Manager Virtual Appliance<=ISVG 10.0.2
IBM Security Verify Governance Identity Manager Container<=ISVG 10.0.2
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1

Event History

Jul 16, 2024
CVE Published
via MITRE·12:25 PM
Data Sourced
via MITRE·12:25 PM
Description
May 8, 2025
Data Sourced
via Ubuntu·11:50 PM
RemedyDescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2022-48836?

CVE-2022-48836 is a vulnerability in the Linux kernel that impacts the proper handling of USB endpoint types.

2

How do I fix CVE-2022-48836?

To fix CVE-2022-48836, update to one of the patched kernel versions such as 4.9.308, 4.14.273, 4.19.236, or newer versions listed in the affected software.

3

Which systems are affected by CVE-2022-48836?

CVE-2022-48836 affects Linux kernel versions prior to the fixed versions released, including various distributions using those kernels.

4

What specific package needs to be updated for CVE-2022-48836?

The kernel package needs to be updated to the latest version provided by your distribution that addresses CVE-2022-48836.

5

Can CVE-2022-48836 be exploited remotely?

Yes, CVE-2022-48836 may have potential implications that could allow for exploitation remotely under certain conditions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203