# CVE-2023-52742: net: USB: Fix wrong-direction WARNING in plusb.c

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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.31% (percentile 16, 2026-11-28)
- **CWE:** CWE-670
- **Published:** 2024-05-21T15:23:04.513Z
- **Modified:** 2026-06-17T06:43:28.567Z

## Who should check

- Anyone running Linux \>= 090ffa9d0e904e1ed0f86c84dcf20684a8ac1a5a, \< f0ad46ef772438c0596df370450d8bdc8a12dbfb; \>= 090ffa9d0e904e1ed0f86c84dcf20684a8ac1a5a, \< 6f69307f625904feed189008381fd83bd1a35b63; \>= 090ffa9d0e904e1ed0f86c84dcf20684a8ac1a5a, \< 43379fcacea2dcee35d02efc9c8fe97807a503c9; \>= 090ffa9d0e904e1ed0f86c84dcf20684a8ac1a5a, \< 1be271c52bf3554edcb8d124d1f8c7f777ee5727; \>= 090ffa9d0e904e1ed0f86c84dcf20684a8ac1a5a, \< 25141fb4119112f4ebf8f00cf52014abbc8020b1; \>= 090ffa9d0e904e1ed0f86c84dcf20684a8ac1a5a, \< 0d2cf3fae701646061e295815bb7588d2f3671cc; \>= 090ffa9d0e904e1ed0f86c84dcf20684a8ac1a5a, \< 811d581194f7412eda97acc03d17fc77824b561f
- Anyone running Linux 2.6.14

## Description

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

net: USB: Fix wrong-direction WARNING in plusb.c

The syzbot fuzzer detected a bug in the plusb network driver: A
zero-length control-OUT transfer was treated as a read instead of a
write.  In modern kernels this error provokes a WARNING:

usb 1-1: BOGUS control dir, pipe 80000280 doesn't match bRequestType c0
WARNING: CPU: 0 PID: 4645 at drivers/usb/core/urb.c:411
usb\_submit\_urb+0x14a7/0x1880 drivers/usb/core/urb.c:411
Modules linked in:
CPU: 1 PID: 4645 Comm: dhcpcd Not tainted
6.2.0-rc6-syzkaller-00050-g9f266ccaa2f5 \#0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google
01/12/2023
RIP: 0010:usb\_submit\_urb+0x14a7/0x1880 drivers/usb/core/urb.c:411
...
Call Trace:
 \<TASK\>
 usb\_start\_wait\_urb+0x101/0x4b0 drivers/usb/core/message.c:58
 usb\_internal\_control\_msg drivers/usb/core/message.c:102 \[inline\]
 usb\_control\_msg+0x320/0x4a0 drivers/usb/core/message.c:153
 \_\_usbnet\_read\_cmd+0xb9/0x390 drivers/net/usb/usbnet.c:2010
 usbnet\_read\_cmd+0x96/0xf0 drivers/net/usb/usbnet.c:2068
 pl\_vendor\_req drivers/net/usb/plusb.c:60 \[inline\]
 pl\_set\_QuickLink\_features drivers/net/usb/plusb.c:75 \[inline\]
 pl\_reset+0x2f/0xf0 drivers/net/usb/plusb.c:85
 usbnet\_open+0xcc/0x5d0 drivers/net/usb/usbnet.c:889
 \_\_dev\_open+0x297/0x4d0 net/core/dev.c:1417
 \_\_dev\_change\_flags+0x587/0x750 net/core/dev.c:8530
 dev\_change\_flags+0x97/0x170 net/core/dev.c:8602
 devinet\_ioctl+0x15a2/0x1d70 net/ipv4/devinet.c:1147
 inet\_ioctl+0x33f/0x380 net/ipv4/af\_inet.c:979
 sock\_do\_ioctl+0xcc/0x230 net/socket.c:1169
 sock\_ioctl+0x1f8/0x680 net/socket.c:1286
 vfs\_ioctl fs/ioctl.c:51 \[inline\]
 \_\_do\_sys\_ioctl fs/ioctl.c:870 \[inline\]
 \_\_se\_sys\_ioctl fs/ioctl.c:856 \[inline\]
 \_\_x64\_sys\_ioctl+0x197/0x210 fs/ioctl.c:856
 do\_syscall\_x64 arch/x86/entry/common.c:50 \[inline\]
 do\_syscall\_64+0x39/0xb0 arch/x86/entry/common.c:80
 entry\_SYSCALL\_64\_after\_hwframe+0x63/0xcd

The fix is to call usbnet\_write\_cmd() instead of usbnet\_read\_cmd() and
remove the USB\_DIR\_IN flag.

## Affected and fixed versions

- Linux: \>= 090ffa9d0e904e1ed0f86c84dcf20684a8ac1a5a, \< f0ad46ef772438c0596df370450d8bdc8a12dbfb; \>= 090ffa9d0e904e1ed0f86c84dcf20684a8ac1a5a, \< 6f69307f625904feed189008381fd83bd1a35b63; \>= 090ffa9d0e904e1ed0f86c84dcf20684a8ac1a5a, \< 43379fcacea2dcee35d02efc9c8fe97807a503c9; \>= 090ffa9d0e904e1ed0f86c84dcf20684a8ac1a5a, \< 1be271c52bf3554edcb8d124d1f8c7f777ee5727; \>= 090ffa9d0e904e1ed0f86c84dcf20684a8ac1a5a, \< 25141fb4119112f4ebf8f00cf52014abbc8020b1; \>= 090ffa9d0e904e1ed0f86c84dcf20684a8ac1a5a, \< 0d2cf3fae701646061e295815bb7588d2f3671cc; \>= 090ffa9d0e904e1ed0f86c84dcf20684a8ac1a5a, \< 811d581194f7412eda97acc03d17fc77824b561f (cvelist)
- Linux: 2.6.14 (cvelist)

## Mitigation

- Upgrade Linux to 811d581194f7412eda97acc03d17fc77824b561f or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2023-52742.md
Affected: Linux >= 090ffa9d0e904e1ed0f86c84dcf20684a8ac1a5a, < f0ad46ef772438c0596df370450d8bdc8a12dbfb; >= 090ffa9d0e904e1ed0f86c84dcf20684a8ac1a5a, < 6f69307f625904feed189008381fd83bd1a35b63; >= 090ffa9d0e904e1ed0f86c84dcf20684a8ac1a5a, < 43379fcacea2dcee35d02efc9c8fe97807a503c9; >= 090ffa9d0e904e1ed0f86c8…
Fixed in: Linux 6f69307f625904feed189008381fd83bd1a35b63, Linux 43379fcacea2dcee35d02efc9c8fe97807a503c9, Linux 1be271c52bf3554edcb8d124d1f8c7f777ee5727, Linux 25141fb4119112f4ebf8f00cf52014abbc8020b1, Linux 0d2cf3fae701646061e295815bb7588d2f3671cc, Linux 811d581194f7412eda97acc03d17fc77824b561f

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-2023-52742 being exploited?

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

### How serious is CVE-2023-52742?

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

### Which versions are affected by CVE-2023-52742?

Linux \>= 090ffa9d0e904e1ed0f86c84dcf20684a8ac1a5a, \< f0ad46ef772438c0596df370450d8bdc8a12dbfb; \>= 090ffa9d0e904e1ed0f86c84dcf20684a8ac1a5a, \< 6f69307f625904feed189008381fd83bd1a35b63; \>= 090ffa9d0e904e1ed0f86c84dcf20684a8ac1a5a, \< 43379fcacea2dcee35d02efc9c8fe97807a503c9; \>= 090ffa9d0e904e1ed0f86c84dcf20684a8ac1a5a, \< 1be271c52bf3554edcb8d124d1f8c7f777ee5727; \>= 090ffa9d0e904e1ed0f86c84dcf20684a8ac1a5a, \< 25141fb4119112f4ebf8f00cf52014abbc8020b1; \>= 090ffa9d0e904e1ed0f86c84dcf20684a8ac1a5a, \< 0d2cf3fae701646061e295815bb7588d2f3671cc; \>= 090ffa9d0e904e1ed0f86c84dcf20684a8ac1a5a, \< 811d581194f7412eda97acc03d17fc77824b561f; Linux 2.6.14.

### Is there a fix for CVE-2023-52742?

Yes. Fixed in Linux 6f69307f625904feed189008381fd83bd1a35b63, Linux 43379fcacea2dcee35d02efc9c8fe97807a503c9, Linux 1be271c52bf3554edcb8d124d1f8c7f777ee5727, Linux 25141fb4119112f4ebf8f00cf52014abbc8020b1, Linux 0d2cf3fae701646061e295815bb7588d2f3671cc, Linux 811d581194f7412eda97acc03d17fc77824b561f. Upgrade Linux to 811d581194f7412eda97acc03d17fc77824b561f or later.

### How do I check if I'm affected by CVE-2023-52742?

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/f0ad46ef772438c0596df370450d8bdc8a12dbfb>
- patch: <https://git.kernel.org/stable/c/6f69307f625904feed189008381fd83bd1a35b63>
- patch: <https://git.kernel.org/stable/c/43379fcacea2dcee35d02efc9c8fe97807a503c9>
- patch: <https://git.kernel.org/stable/c/1be271c52bf3554edcb8d124d1f8c7f777ee5727>
- patch: <https://git.kernel.org/stable/c/25141fb4119112f4ebf8f00cf52014abbc8020b1>
- patch: <https://git.kernel.org/stable/c/0d2cf3fae701646061e295815bb7588d2f3671cc>
- patch: <https://git.kernel.org/stable/c/811d581194f7412eda97acc03d17fc77824b561f>

## 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-2023-52742>

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