CVE-2022-48834

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
16/07/2024
Last modified:
22/01/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> usb: usbtmc: Fix bug in pipe direction for control transfers<br /> <br /> The syzbot fuzzer reported a minor bug in the usbtmc driver:<br /> <br /> usb 5-1: BOGUS control dir, pipe 80001e80 doesn&amp;#39;t match bRequestType 0<br /> WARNING: CPU: 0 PID: 3813 at drivers/usb/core/urb.c:412<br /> usb_submit_urb+0x13a5/0x1970 drivers/usb/core/urb.c:410<br /> Modules linked in:<br /> CPU: 0 PID: 3813 Comm: syz-executor122 Not tainted<br /> 5.17.0-rc5-syzkaller-00306-g2293be58d6a1 #0<br /> ...<br /> Call Trace:<br /> <br /> usb_start_wait_urb+0x113/0x530 drivers/usb/core/message.c:58<br /> usb_internal_control_msg drivers/usb/core/message.c:102 [inline]<br /> usb_control_msg+0x2a5/0x4b0 drivers/usb/core/message.c:153<br /> usbtmc_ioctl_request drivers/usb/class/usbtmc.c:1947 [inline]<br /> <br /> The problem is that usbtmc_ioctl_request() uses usb_rcvctrlpipe() for<br /> all of its transfers, whether they are in or out. It&amp;#39;s easy to fix.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 4.20 (including) 5.4.187 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.5 (including) 5.10.108 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.11 (including) 5.15.31 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.16 (including) 5.16.17 (excluding)
cpe:2.3:o:linux:linux_kernel:5.17:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.17:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.17:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.17:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.17:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.17:rc6:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.17:rc7:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.17:rc8:*:*:*:*:*:*