CVE-2025-21916

usb: atm: cxacru: fix a flaw in existing endpoint checks

MEDIUM
5.5
CVSS Score
Published: April 1, 2025 at 03:40 PM UTC
Updated: June 17, 2026 at 08:44 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

Description

In the Linux kernel, the following vulnerability has been resolved: usb: atm: cxacru: fix a flaw in existing endpoint checks Syzbot once again identified a flaw in usb endpoint checking, see [1]. This time the issue stems from a commit authored by me (2eabb655a968 ("usb: atm: cxacru: fix endpoint checking in cxacru_bind()")). While using usb_find_common_endpoints() may usually be enough to discard devices with wrong endpoints, in this case one needs more than just finding and identifying the sufficient number of endpoints of correct types - one needs to check the endpoint's address as well. Since cxacru_bind() fills URBs with CXACRU_EP_CMD address in mind, switch the endpoint verification approach to usb_check_XXX_endpoints() instead to fix incomplete ep testing. [1] Syzbot report: usb 5-1: BOGUS urb xfer, pipe 3 != type 1 WARNING: CPU: 0 PID: 1378 at drivers/usb/core/urb.c:504 usb_submit_urb+0xc4e/0x18c0 drivers/usb/core/urb.c:503 ... RIP: 0010:usb_submit_urb+0xc4e/0x18c0 drivers/usb/core/urb.c:503 ... Call Trace: <TASK> cxacru_cm+0x3c8/0xe50 drivers/usb/atm/cxacru.c:649 cxacru_card_status drivers/usb/atm/cxacru.c:760 [inline] cxacru_bind+0xcf9/0x1150 drivers/usb/atm/cxacru.c:1223 usbatm_usb_probe+0x314/0x1d30 drivers/usb/atm/usbatm.c:1058 cxacru_usb_probe+0x184/0x220 drivers/usb/atm/cxacru.c:1377 usb_probe_interface+0x641/0xbb0 drivers/usb/core/driver.c:396 really_probe+0x2b9/0xad0 drivers/base/dd.c:658 __driver_probe_device+0x1a2/0x390 drivers/base/dd.c:800 driver_probe_device+0x50/0x430 drivers/base/dd.c:830 ...

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ 4.19.317v ≥ 6.9.84.19.317 ≤ v < 4.205.10.221 ≤ v < 5.10.2355.15.162 ≤ v < 5.15.1795.4.279 ≤ v < 5.4.2916.1.97 ≤ v < 6.1.1316.10 ≤ v < 6.12.196.10 ≤ v < 6.13.76.10 ≤ v < 6.146.10.1 ≤ v < 6.12.196.13 ≤ v < 6.13.76.6.37 ≤ v < 6.6.836.9.8 ≤ v < 6.101aac4be1aaa5177506219f01dce5e29194e5e95a23926d316d2836315cb113569f91393266eb5b472eabb655a968b862bc0c31629a09f0fbf3c80d514.19.3175.10.2215.15.1625.4.2795159a81924311c1ec786ad9fdef784ead8676a6a5584c776a1af7807ca815ee6265f2c1429fc57276.1.976.106.10 rc66.10 rc76.14 rc16.14 rc26.14 rc36.14 rc46.14 rc56.6.376.9.875ddbf776dd04a09fb9e5267ead5d0c989f84506ac9007520e392541a29daebaae8b9109007bc781f536f09eb45e4de8d1b9accee9d992aa1846f1d4
Vendor states this is fixed in 197e78076c5ecd895f109158c4ea2954b9919af6 (fixed)
Vendor states this is fixed in 319529e0356bd904528c64647725a2272d297c83 (fixed)
Vendor states this is fixed in 903b80c21458bb1e34c3a78c5fdc553821e357f8 (fixed)
Vendor states this is fixed in a0475a885d69849b1ade38add6d64338dfa83a8f (fixed)
Vendor states this is fixed in bf4409f84023b52b5e9b36c0a071a121eee42138 (fixed)
Vendor states this is fixed in c90aad369899a607cfbc002bebeafd51e31900cd (fixed)
Vendor states this is fixed in cfc295f7cccf66cbd5123416bcf1bee2e1bd37de (fixed)
Vendor states this is fixed in dcd592ab9dd8a2bfc36e75583b9006db2a77ec24 (fixed)
Affected range stops below 4.20, so it looks safe — our inference, not a vendor statement
Vendor states this is fixed in 5.10.235 (unaffected)
Vendor states this is fixed in 5.15.179 (unaffected)
Vendor states this is fixed in 5.4.291 (unaffected)
Vendor states this is fixed in 6.1.131 (unaffected)
Vendor states this is fixed in 6.10 (unaffected)
Vendor states this is fixed in 6.12.19 (unaffected)
Vendor states this is fixed in 6.13.7 (unaffected)
Vendor states this is fixed in 6.14 (unaffected)
Vendor states this is fixed in 6.6.83 (unaffected)

References (10)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/197e78076c5ecd895f109158c4ea2954b9919af6
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/319529e0356bd904528c64647725a2272d297c83
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/903b80c21458bb1e34c3a78c5fdc553821e357f8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a0475a885d69849b1ade38add6d64338dfa83a8f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/bf4409f84023b52b5e9b36c0a071a121eee42138
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c90aad369899a607cfbc002bebeafd51e31900cd
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/cfc295f7cccf66cbd5123416bcf1bee2e1bd37de
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/dcd592ab9dd8a2bfc36e75583b9006db2a77ec24

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card