# CVE-2022-49151: can: mcba\_usb: properly check endpoint type

> 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.29% (percentile 14, 2026-11-26)
- **Published:** 2025-02-26T01:55:17.665Z
- **Modified:** 2026-06-17T05:17:13.487Z

## Who should check

- Anyone running Linux \>= 51f3baad7de943780ce0c17bd7975df567dd6e14, \< 5598442edc29e8f6f2380e4b471dc1a3fcd80508; \>= 51f3baad7de943780ce0c17bd7975df567dd6e14, \< b48d1bb3f1ca337ad653022aefb5a40a47dfe5cd; \>= 51f3baad7de943780ce0c17bd7975df567dd6e14, \< cbd110b8dd7ad763bf413f71c0484116ae9302d4; \>= 51f3baad7de943780ce0c17bd7975df567dd6e14, \< ef0acc514123140157b19a9ff2e2de5d91d612bc; \>= 51f3baad7de943780ce0c17bd7975df567dd6e14, \< fa9c1f14002dc0d5293e16a2007bd89b6e79207b; \>= 51f3baad7de943780ce0c17bd7975df567dd6e14, \< 88272b4a37913bdf6f339162a7920bd8e9b49de2; \>= 51f3baad7de943780ce0c17bd7975df567dd6e14, \< f2ec3cd0f34f8c3f94bc21fbba14868301c9c49d; \>= 51f3baad7de943780ce0c17bd7975df567dd6e14, \< 136bed0bfd3bc9c95c88aafff2d22ecb3a919f23
- Anyone running Linux 4.12

## Description

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

can: mcba\_usb: properly check endpoint type

Syzbot reported warning in usb\_submit\_urb() which is caused by wrong
endpoint type. We should check that in endpoint is actually present to
prevent this warning.

Found pipes are now saved to struct mcba\_priv and code uses them
directly instead of making pipes in place.

Fail log:

\| usb 5-1: BOGUS urb xfer, pipe 3 != type 1
\| WARNING: CPU: 1 PID: 49 at drivers/usb/core/urb.c:502 usb\_submit\_urb+0xed2/0x18a0 drivers/usb/core/urb.c:502
\| Modules linked in:
\| CPU: 1 PID: 49 Comm: kworker/1:2 Not tainted 5.17.0-rc6-syzkaller-00184-g38f80f42147f \#0
\| Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014
\| Workqueue: usb\_hub\_wq hub\_event
\| RIP: 0010:usb\_submit\_urb+0xed2/0x18a0 drivers/usb/core/urb.c:502
\| ...
\| Call Trace:
\|  \<TASK\>
\|  mcba\_usb\_start drivers/net/can/usb/mcba\_usb.c:662 \[inline\]
\|  mcba\_usb\_probe+0x8a3/0xc50 drivers/net/can/usb/mcba\_usb.c:858
\|  usb\_probe\_interface+0x315/0x7f0 drivers/usb/core/driver.c:396
\|  call\_driver\_probe drivers/base/dd.c:517 \[inline\]

## Affected and fixed versions

- Linux: \>= 51f3baad7de943780ce0c17bd7975df567dd6e14, \< 5598442edc29e8f6f2380e4b471dc1a3fcd80508; \>= 51f3baad7de943780ce0c17bd7975df567dd6e14, \< b48d1bb3f1ca337ad653022aefb5a40a47dfe5cd; \>= 51f3baad7de943780ce0c17bd7975df567dd6e14, \< cbd110b8dd7ad763bf413f71c0484116ae9302d4; \>= 51f3baad7de943780ce0c17bd7975df567dd6e14, \< ef0acc514123140157b19a9ff2e2de5d91d612bc; \>= 51f3baad7de943780ce0c17bd7975df567dd6e14, \< fa9c1f14002dc0d5293e16a2007bd89b6e79207b; \>= 51f3baad7de943780ce0c17bd7975df567dd6e14, \< 88272b4a37913bdf6f339162a7920bd8e9b49de2; \>= 51f3baad7de943780ce0c17bd7975df567dd6e14, \< f2ec3cd0f34f8c3f94bc21fbba14868301c9c49d; \>= 51f3baad7de943780ce0c17bd7975df567dd6e14, \< 136bed0bfd3bc9c95c88aafff2d22ecb3a919f23 (cvelist)
- Linux: 4.12 (cvelist)

## Mitigation

- Upgrade Linux to 136bed0bfd3bc9c95c88aafff2d22ecb3a919f23 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2022-49151.md
Affected: Linux >= 51f3baad7de943780ce0c17bd7975df567dd6e14, < 5598442edc29e8f6f2380e4b471dc1a3fcd80508; >= 51f3baad7de943780ce0c17bd7975df567dd6e14, < b48d1bb3f1ca337ad653022aefb5a40a47dfe5cd; >= 51f3baad7de943780ce0c17bd7975df567dd6e14, < cbd110b8dd7ad763bf413f71c0484116ae9302d4; >= 51f3baad7de943780ce0c17…
Fixed in: Linux 5598442edc29e8f6f2380e4b471dc1a3fcd80508, Linux 88272b4a37913bdf6f339162a7920bd8e9b49de2, Linux 136bed0bfd3bc9c95c88aafff2d22ecb3a919f23

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-49151 being exploited?

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

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

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

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

Linux \>= 51f3baad7de943780ce0c17bd7975df567dd6e14, \< 5598442edc29e8f6f2380e4b471dc1a3fcd80508; \>= 51f3baad7de943780ce0c17bd7975df567dd6e14, \< b48d1bb3f1ca337ad653022aefb5a40a47dfe5cd; \>= 51f3baad7de943780ce0c17bd7975df567dd6e14, \< cbd110b8dd7ad763bf413f71c0484116ae9302d4; \>= 51f3baad7de943780ce0c17bd7975df567dd6e14, \< ef0acc514123140157b19a9ff2e2de5d91d612bc; \>= 51f3baad7de943780ce0c17bd7975df567dd6e14, \< fa9c1f14002dc0d5293e16a2007bd89b6e79207b; \>= 51f3baad7de943780ce0c17bd7975df567dd6e14, \< 88272b4a37913bdf6f339162a7920bd8e9b49de2; \>= 51f3baad7de943780ce0c17bd7975df567dd6e14, \< f2ec3cd0f34f8c3f94bc21fbba14868301c9c49d; \>= 51f3baad7de943780ce0c17bd7975df567dd6e14, \< 136bed0bfd3bc9c95c88aafff2d22ecb3a919f23; Linux 4.12.

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

Yes. Fixed in Linux 5598442edc29e8f6f2380e4b471dc1a3fcd80508, Linux 88272b4a37913bdf6f339162a7920bd8e9b49de2, Linux 136bed0bfd3bc9c95c88aafff2d22ecb3a919f23. Upgrade Linux to 136bed0bfd3bc9c95c88aafff2d22ecb3a919f23 or later.

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

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/5598442edc29e8f6f2380e4b471dc1a3fcd80508>
- patch: <https://git.kernel.org/stable/c/b48d1bb3f1ca337ad653022aefb5a40a47dfe5cd>
- patch: <https://git.kernel.org/stable/c/cbd110b8dd7ad763bf413f71c0484116ae9302d4>
- patch: <https://git.kernel.org/stable/c/ef0acc514123140157b19a9ff2e2de5d91d612bc>
- patch: <https://git.kernel.org/stable/c/fa9c1f14002dc0d5293e16a2007bd89b6e79207b>
- patch: <https://git.kernel.org/stable/c/88272b4a37913bdf6f339162a7920bd8e9b49de2>
- patch: <https://git.kernel.org/stable/c/f2ec3cd0f34f8c3f94bc21fbba14868301c9c49d>
- patch: <https://git.kernel.org/stable/c/136bed0bfd3bc9c95c88aafff2d22ecb3a919f23>

## 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-49151>

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