{"id":"CVE-2025-21916","aliases":["CVE-2025-21916"],"related":[],"kind":"vulnerability","state":"published","title":"usb: atm: cxacru: fix a flaw in existing endpoint checks","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: atm: cxacru: fix a flaw in existing endpoint checks\n\nSyzbot once again identified a flaw in usb endpoint checking, see [1].\nThis time the issue stems from a commit authored by me (2eabb655a968\n(\"usb: atm: cxacru: fix endpoint checking in cxacru_bind()\")).\n\nWhile using usb_find_common_endpoints() may usually be enough to\ndiscard devices with wrong endpoints, in this case one needs more\nthan just finding and identifying the sufficient number of endpoints\nof correct types - one needs to check the endpoint's address as well.\n\nSince cxacru_bind() fills URBs with CXACRU_EP_CMD address in mind,\nswitch the endpoint verification approach to usb_check_XXX_endpoints()\ninstead to fix incomplete ep testing.\n\n[1] Syzbot report:\nusb 5-1: BOGUS urb xfer, pipe 3 != type 1\nWARNING: CPU: 0 PID: 1378 at drivers/usb/core/urb.c:504 usb_submit_urb+0xc4e/0x18c0 drivers/usb/core/urb.c:503\n...\nRIP: 0010:usb_submit_urb+0xc4e/0x18c0 drivers/usb/core/urb.c:503\n...\nCall Trace:\n <TASK>\n cxacru_cm+0x3c8/0xe50 drivers/usb/atm/cxacru.c:649\n cxacru_card_status drivers/usb/atm/cxacru.c:760 [inline]\n cxacru_bind+0xcf9/0x1150 drivers/usb/atm/cxacru.c:1223\n usbatm_usb_probe+0x314/0x1d30 drivers/usb/atm/usbatm.c:1058\n cxacru_usb_probe+0x184/0x220 drivers/usb/atm/cxacru.c:1377\n usb_probe_interface+0x641/0xbb0 drivers/usb/core/driver.c:396\n really_probe+0x2b9/0xad0 drivers/base/dd.c:658\n __driver_probe_device+0x1a2/0x390 drivers/base/dd.c:800\n driver_probe_device+0x50/0x430 drivers/base/dd.c:830\n...","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: atm: cxacru: fix a flaw in existing endpoint checks\n\nSyzbot once again identified a flaw in usb endpoint checking, see [1].\nThis time the issue stems from a commit authored by me (2eabb655a968\n(\"usb: atm: cxacru: fix endpoint checking in cxacru_bind()\")).\n\nWhile using usb_find_common_endpoints() may usually be enough to\ndiscard devices with wrong endpoints, in this case one needs more\nthan just finding and identifying the sufficient number of endpoints\nof correct types - one needs to check the endpoint's address as well.\n\nSince cxacru_bind() fills URBs with CXACRU_EP_CMD address in mind,\nswitch the endpoint verification approach to usb_check_XXX_endpoints()\ninstead to fix incomplete ep testing.\n\n[1] Syzbot report:\nusb 5-1: BOGUS urb xfer, pipe 3 != type 1\nWARNING: CPU: 0 PID: 1378 at drivers/usb/core/urb.c:504 usb_submit_urb+0xc4e/0x18c0 drivers/usb/core/urb.c:503\n...\nRIP: 0010:usb_submit_urb+0xc4e/0x18c0 drivers/usb/core/urb.c:503\n...\nCall Trace:\n <TASK>\n cxacru_cm+0x3c8/0xe50 drivers/usb/atm/cxacru.c:649\n cxacru_card_status drivers/usb/atm/cxacru.c:760 [inline]\n cxacru_bind+0xcf9/0x1150 drivers/usb/atm/cxacru.c:1223\n usbatm_usb_probe+0x314/0x1d30 drivers/usb/atm/usbatm.c:1058\n cxacru_usb_probe+0x184/0x220 drivers/usb/atm/cxacru.c:1377\n usb_probe_interface+0x641/0xbb0 drivers/usb/core/driver.c:396\n really_probe+0x2b9/0xad0 drivers/base/dd.c:658\n __driver_probe_device+0x1a2/0x390 drivers/base/dd.c:800\n driver_probe_device+0x50/0x430 drivers/base/dd.c:830\n...","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: usb: atm: cxacru: corrige un fallo en las comprobaciones de endpoints existentes Syzbot volvió a identificar un fallo en la comprobación de endpoints USB, consulte [1]. Esta vez, el problema se debe a una confirmación de mi autoría (2eabb655a968 (\"usb: atm: cxacru: fix endpoint checking in cxacru_bind()\")). Si bien usar usb_find_common_endpoints() suele ser suficiente para descartar dispositivos con endpoints erróneos, en este caso se necesita más que simplemente encontrar e identificar la cantidad suficiente de endpoints de los tipos correctos: también se necesita comprobar la dirección del endpoint. Dado que cxacru_bind() rellena las URB teniendo en cuenta la dirección CXACRU_EP_CMD, cambie el enfoque de verificación de endpoints a usb_check_XXX_endpoints() para corregir las pruebas de EP incompletas. [1] Informe de Syzbot: usb 5-1: transferencia de urb FALSA, canal 3 != tipo 1 ADVERTENCIA: CPU: 0 PID: 1378 en 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 ... Seguimiento de llamadas  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 ...","source":"nvd"}],"published":"2025-04-01T15:40:52.519Z","modified":"2026-11-05T21:17:46.333Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"23926d316d2836315cb113569f91393266eb5b47","fixed":"dcd592ab9dd8a2bfc36e75583b9006db2a77ec24","status":"affected"},{"type":"git","introduced":"75ddbf776dd04a09fb9e5267ead5d0c989f84506","fixed":"319529e0356bd904528c64647725a2272d297c83","status":"affected"},{"type":"git","introduced":"1aac4be1aaa5177506219f01dce5e29194e5e95a","fixed":"bf4409f84023b52b5e9b36c0a071a121eee42138","status":"affected"},{"type":"git","introduced":"5584c776a1af7807ca815ee6265f2c1429fc5727","fixed":"197e78076c5ecd895f109158c4ea2954b9919af6","status":"affected"},{"type":"git","introduced":"f536f09eb45e4de8d1b9accee9d992aa1846f1d4","fixed":"a0475a885d69849b1ade38add6d64338dfa83a8f","status":"affected"},{"type":"git","introduced":"2eabb655a968b862bc0c31629a09f0fbf3c80d51","fixed":"cfc295f7cccf66cbd5123416bcf1bee2e1bd37de","status":"affected"},{"type":"git","introduced":"2eabb655a968b862bc0c31629a09f0fbf3c80d51","fixed":"903b80c21458bb1e34c3a78c5fdc553821e357f8","status":"affected"},{"type":"git","introduced":"2eabb655a968b862bc0c31629a09f0fbf3c80d51","fixed":"c90aad369899a607cfbc002bebeafd51e31900cd","status":"affected"},{"type":"git","version":"5159a81924311c1ec786ad9fdef784ead8676a6a","status":"affected"},{"type":"git","version":"ac9007520e392541a29daebaae8b9109007bc781","status":"affected"},{"type":"semver","introduced":"5.4.279","fixed":"5.4.291","status":"affected"},{"type":"semver","introduced":"5.10.221","fixed":"5.10.235","status":"affected"},{"type":"semver","introduced":"5.15.162","fixed":"5.15.179","status":"affected"},{"type":"semver","introduced":"6.1.97","fixed":"6.1.131","status":"affected"},{"type":"semver","introduced":"6.6.37","fixed":"6.6.83","status":"affected"},{"type":"semver","introduced":"4.19.317","fixed":"4.20","status":"affected"},{"type":"semver","introduced":"6.9.8","fixed":"6.10","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.10","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.10","status":"unaffected"},{"type":"semver","introduced":"5.4.291","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.235","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.179","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.131","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.83","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.19","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.13.7","lastAffected":"6.13.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.14","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.19.317","fixed":"4.20"},{"status":"affected","introduced":"5.4.279","fixed":"5.4.291"},{"status":"affected","introduced":"5.10.221","fixed":"5.10.235"},{"status":"affected","introduced":"5.15.162","fixed":"5.15.179"},{"status":"affected","introduced":"6.1.97","fixed":"6.1.131"},{"status":"affected","introduced":"6.6.37","fixed":"6.6.83"},{"status":"affected","introduced":"6.9.8","fixed":"6.10"},{"status":"affected","introduced":"6.10.1","fixed":"6.12.19"},{"status":"affected","introduced":"6.13","fixed":"6.13.7"},{"status":"affected","version":"6.10"},{"status":"affected","version":"6.10"},{"status":"affected","version":"6.10"},{"status":"affected","version":"6.14"},{"status":"affected","version":"6.14"},{"status":"affected","version":"6.14"},{"status":"affected","version":"6.14"},{"status":"affected","version":"6.14"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/dcd592ab9dd8a2bfc36e75583b9006db2a77ec24","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/319529e0356bd904528c64647725a2272d297c83","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bf4409f84023b52b5e9b36c0a071a121eee42138","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/197e78076c5ecd895f109158c4ea2954b9919af6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a0475a885d69849b1ade38add6d64338dfa83a8f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cfc295f7cccf66cbd5123416bcf1bee2e1bd37de","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/903b80c21458bb1e34c3a78c5fdc553821e357f8","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c90aad369899a607cfbc002bebeafd51e31900cd","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T20:36:54.452Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-21916","url":"https://www.cve.org/CVERecord?id=CVE-2025-21916","licence":"CVE Terms of Use","modified":"2026-11-05T20:41:47.907Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-21916","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21916","licence":"Public domain","modified":"2026-11-05T21:17:46.333Z"}],"updatedAt":"2026-11-25T22:58:55.885Z","epss":{"score":0.00234,"percentile":0.15303,"date":"2026-12-01T12:00:22.000Z"}}