# CVE-2022-48834: usb: usbtmc: Fix bug in pipe direction for control transfers

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.33% (percentile 18, 2026-11-26)
- **Published:** 2024-07-16T12:25:07.249Z
- **Modified:** 2026-06-17T05:16:20.300Z

## Who should check

- Anyone running Linux \>= 658f24f4523e41cda6a389c38b763f4c0cad6fbc, \< 700a0715854c1e79a73341724ce4f5bb01abc016; \>= 658f24f4523e41cda6a389c38b763f4c0cad6fbc, \< 10a805334a11acd547602d6c4cf540a0f6ab5c6e; \>= 658f24f4523e41cda6a389c38b763f4c0cad6fbc, \< c69aef9db878ab277068a8cc1b4bf0cf309dc2b7; \>= 658f24f4523e41cda6a389c38b763f4c0cad6fbc, \< 5f6a2d63c68c12cf61259df7c3527a0e05dce952; \>= 658f24f4523e41cda6a389c38b763f4c0cad6fbc, \< e9b667a82cdcfe21d590344447d65daed52b353b
- Anyone running Linux 4.20

## Description

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

usb: usbtmc: Fix bug in pipe direction for control transfers

The syzbot fuzzer reported a minor bug in the usbtmc driver:

usb 5-1: BOGUS control dir, pipe 80001e80 doesn't match bRequestType 0
WARNING: CPU: 0 PID: 3813 at drivers/usb/core/urb.c:412
usb\_submit\_urb+0x13a5/0x1970 drivers/usb/core/urb.c:410
Modules linked in:
CPU: 0 PID: 3813 Comm: syz-executor122 Not tainted
5.17.0-rc5-syzkaller-00306-g2293be58d6a1 \#0
...
Call Trace:
 \<TASK\>
 usb\_start\_wait\_urb+0x113/0x530 drivers/usb/core/message.c:58
 usb\_internal\_control\_msg drivers/usb/core/message.c:102 \[inline\]
 usb\_control\_msg+0x2a5/0x4b0 drivers/usb/core/message.c:153
 usbtmc\_ioctl\_request drivers/usb/class/usbtmc.c:1947 \[inline\]

The problem is that usbtmc\_ioctl\_request() uses usb\_rcvctrlpipe() for
all of its transfers, whether they are in or out.  It's easy to fix.

## Affected and fixed versions

- Linux: \>= 658f24f4523e41cda6a389c38b763f4c0cad6fbc, \< 700a0715854c1e79a73341724ce4f5bb01abc016; \>= 658f24f4523e41cda6a389c38b763f4c0cad6fbc, \< 10a805334a11acd547602d6c4cf540a0f6ab5c6e; \>= 658f24f4523e41cda6a389c38b763f4c0cad6fbc, \< c69aef9db878ab277068a8cc1b4bf0cf309dc2b7; \>= 658f24f4523e41cda6a389c38b763f4c0cad6fbc, \< 5f6a2d63c68c12cf61259df7c3527a0e05dce952; \>= 658f24f4523e41cda6a389c38b763f4c0cad6fbc, \< e9b667a82cdcfe21d590344447d65daed52b353b (cvelist)
- Linux: 4.20 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-48834. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-48834.md
Affected: Linux >= 658f24f4523e41cda6a389c38b763f4c0cad6fbc, < 700a0715854c1e79a73341724ce4f5bb01abc016; >= 658f24f4523e41cda6a389c38b763f4c0cad6fbc, < 10a805334a11acd547602d6c4cf540a0f6ab5c6e; >= 658f24f4523e41cda6a389c38b763f4c0cad6fbc, < c69aef9db878ab277068a8cc1b4bf0cf309dc2b7; >= 658f24f4523e41cda6a389c…
Fixed in: Linux 700a0715854c1e79a73341724ce4f5bb01abc016, Linux 10a805334a11acd547602d6c4cf540a0f6ab5c6e, Linux 5f6a2d63c68c12cf61259df7c3527a0e05dce952

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-48834 being exploited?

There is no confirmed exploitation: CVE-2022-48834 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.33% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-48834?

High: CVSS 7.8 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-48834?

Linux \>= 658f24f4523e41cda6a389c38b763f4c0cad6fbc, \< 700a0715854c1e79a73341724ce4f5bb01abc016; \>= 658f24f4523e41cda6a389c38b763f4c0cad6fbc, \< 10a805334a11acd547602d6c4cf540a0f6ab5c6e; \>= 658f24f4523e41cda6a389c38b763f4c0cad6fbc, \< c69aef9db878ab277068a8cc1b4bf0cf309dc2b7; \>= 658f24f4523e41cda6a389c38b763f4c0cad6fbc, \< 5f6a2d63c68c12cf61259df7c3527a0e05dce952; \>= 658f24f4523e41cda6a389c38b763f4c0cad6fbc, \< e9b667a82cdcfe21d590344447d65daed52b353b; Linux 4.20.

### Is there a fix for CVE-2022-48834?

Yes. Fixed in Linux 700a0715854c1e79a73341724ce4f5bb01abc016, Linux 10a805334a11acd547602d6c4cf540a0f6ab5c6e, Linux 5f6a2d63c68c12cf61259df7c3527a0e05dce952. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2022-48834?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/700a0715854c1e79a73341724ce4f5bb01abc016>
- patch: <https://git.kernel.org/stable/c/10a805334a11acd547602d6c4cf540a0f6ab5c6e>
- patch: <https://git.kernel.org/stable/c/c69aef9db878ab277068a8cc1b4bf0cf309dc2b7>
- patch: <https://git.kernel.org/stable/c/5f6a2d63c68c12cf61259df7c3527a0e05dce952>
- patch: <https://git.kernel.org/stable/c/e9b667a82cdcfe21d590344447d65daed52b353b>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-48834>

HTML: <https://flawdb.com/CVE-2022-48834> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-48834>
