{"id":"CVE-2025-21916","state":"PUBLISHED","title":"usb: atm: cxacru: fix a flaw in existing endpoint checks","description":"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...","publishedAt":"2025-04-01T15:40:52.519Z","updatedAt":"2026-05-23T15:57:26.891Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"23926d316d2836315cb113569f91393266eb5b47","status":"affected","lessThan":"dcd592ab9dd8a2bfc36e75583b9006db2a77ec24","versionType":"git"},{"version":"75ddbf776dd04a09fb9e5267ead5d0c989f84506","status":"affected","lessThan":"319529e0356bd904528c64647725a2272d297c83","versionType":"git"},{"version":"1aac4be1aaa5177506219f01dce5e29194e5e95a","status":"affected","lessThan":"bf4409f84023b52b5e9b36c0a071a121eee42138","versionType":"git"},{"version":"5584c776a1af7807ca815ee6265f2c1429fc5727","status":"affected","lessThan":"197e78076c5ecd895f109158c4ea2954b9919af6","versionType":"git"},{"version":"f536f09eb45e4de8d1b9accee9d992aa1846f1d4","status":"affected","lessThan":"a0475a885d69849b1ade38add6d64338dfa83a8f","versionType":"git"},{"version":"2eabb655a968b862bc0c31629a09f0fbf3c80d51","status":"affected","lessThan":"cfc295f7cccf66cbd5123416bcf1bee2e1bd37de","versionType":"git"},{"version":"2eabb655a968b862bc0c31629a09f0fbf3c80d51","status":"affected","lessThan":"903b80c21458bb1e34c3a78c5fdc553821e357f8","versionType":"git"},{"version":"2eabb655a968b862bc0c31629a09f0fbf3c80d51","status":"affected","lessThan":"c90aad369899a607cfbc002bebeafd51e31900cd","versionType":"git"},{"version":"5159a81924311c1ec786ad9fdef784ead8676a6a","status":"affected","versionType":"git"},{"version":"ac9007520e392541a29daebaae8b9109007bc781","status":"affected","versionType":"git"},{"version":"5.4.279","status":"affected","lessThan":"5.4.291","versionType":"semver"},{"version":"5.10.221","status":"affected","lessThan":"5.10.235","versionType":"semver"},{"version":"5.15.162","status":"affected","lessThan":"5.15.179","versionType":"semver"},{"version":"6.1.97","status":"affected","lessThan":"6.1.131","versionType":"semver"},{"version":"6.6.37","status":"affected","lessThan":"6.6.83","versionType":"semver"},{"version":"4.19.317","status":"affected","lessThan":"4.20","versionType":"semver"},{"version":"6.9.8","status":"affected","lessThan":"6.10","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/usb/atm/cxacru.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.10","versionType":"semver"},{"version":"5.4.291","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.235","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.179","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.131","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.83","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.19","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.13.7","status":"unaffected","lessThanOrEqual":"6.13.*","versionType":"semver"},{"version":"6.14","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/usb/atm/cxacru.c"]}],"references":["https://git.kernel.org/stable/c/dcd592ab9dd8a2bfc36e75583b9006db2a77ec24","https://git.kernel.org/stable/c/319529e0356bd904528c64647725a2272d297c83","https://git.kernel.org/stable/c/bf4409f84023b52b5e9b36c0a071a121eee42138","https://git.kernel.org/stable/c/197e78076c5ecd895f109158c4ea2954b9919af6","https://git.kernel.org/stable/c/a0475a885d69849b1ade38add6d64338dfa83a8f","https://git.kernel.org/stable/c/cfc295f7cccf66cbd5123416bcf1bee2e1bd37de","https://git.kernel.org/stable/c/903b80c21458bb1e34c3a78c5fdc553821e357f8","https://git.kernel.org/stable/c/c90aad369899a607cfbc002bebeafd51e31900cd","https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html","https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html"],"weaknesses":[],"ingestedAt":"2026-10-29T20:08:39.238Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/21xxx/CVE-2025-21916.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-21916","state":"PUBLISHED","datePublished":"2025-04-01T15:40:52.519Z","dateUpdated":"2026-05-23T15:57:26.891Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-12-29T08:45:45.787Z"},"containers":{"cna":{"title":"usb: atm: cxacru: fix a flaw in existing endpoint checks","descriptions":[{"lang":"en","value":"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..."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"23926d316d2836315cb113569f91393266eb5b47","status":"affected","lessThan":"dcd592ab9dd8a2bfc36e75583b9006db2a77ec24","versionType":"git"},{"version":"75ddbf776dd04a09fb9e5267ead5d0c989f84506","status":"affected","lessThan":"319529e0356bd904528c64647725a2272d297c83","versionType":"git"},{"version":"1aac4be1aaa5177506219f01dce5e29194e5e95a","status":"affected","lessThan":"bf4409f84023b52b5e9b36c0a071a121eee42138","versionType":"git"},{"version":"5584c776a1af7807ca815ee6265f2c1429fc5727","status":"affected","lessThan":"197e78076c5ecd895f109158c4ea2954b9919af6","versionType":"git"},{"version":"f536f09eb45e4de8d1b9accee9d992aa1846f1d4","status":"affected","lessThan":"a0475a885d69849b1ade38add6d64338dfa83a8f","versionType":"git"},{"version":"2eabb655a968b862bc0c31629a09f0fbf3c80d51","status":"affected","lessThan":"cfc295f7cccf66cbd5123416bcf1bee2e1bd37de","versionType":"git"},{"version":"2eabb655a968b862bc0c31629a09f0fbf3c80d51","status":"affected","lessThan":"903b80c21458bb1e34c3a78c5fdc553821e357f8","versionType":"git"},{"version":"2eabb655a968b862bc0c31629a09f0fbf3c80d51","status":"affected","lessThan":"c90aad369899a607cfbc002bebeafd51e31900cd","versionType":"git"},{"version":"5159a81924311c1ec786ad9fdef784ead8676a6a","status":"affected","versionType":"git"},{"version":"ac9007520e392541a29daebaae8b9109007bc781","status":"affected","versionType":"git"},{"version":"5.4.279","status":"affected","lessThan":"5.4.291","versionType":"semver"},{"version":"5.10.221","status":"affected","lessThan":"5.10.235","versionType":"semver"},{"version":"5.15.162","status":"affected","lessThan":"5.15.179","versionType":"semver"},{"version":"6.1.97","status":"affected","lessThan":"6.1.131","versionType":"semver"},{"version":"6.6.37","status":"affected","lessThan":"6.6.83","versionType":"semver"},{"version":"4.19.317","status":"affected","lessThan":"4.20","versionType":"semver"},{"version":"6.9.8","status":"affected","lessThan":"6.10","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/usb/atm/cxacru.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.10","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.10","versionType":"semver"},{"version":"5.4.291","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.235","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.179","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.131","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.83","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.19","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.13.7","status":"unaffected","lessThanOrEqual":"6.13.*","versionType":"semver"},{"version":"6.14","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/usb/atm/cxacru.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/dcd592ab9dd8a2bfc36e75583b9006db2a77ec24"},{"url":"https://git.kernel.org/stable/c/319529e0356bd904528c64647725a2272d297c83"},{"url":"https://git.kernel.org/stable/c/bf4409f84023b52b5e9b36c0a071a121eee42138"},{"url":"https://git.kernel.org/stable/c/197e78076c5ecd895f109158c4ea2954b9919af6"},{"url":"https://git.kernel.org/stable/c/a0475a885d69849b1ade38add6d64338dfa83a8f"},{"url":"https://git.kernel.org/stable/c/cfc295f7cccf66cbd5123416bcf1bee2e1bd37de"},{"url":"https://git.kernel.org/stable/c/903b80c21458bb1e34c3a78c5fdc553821e357f8"},{"url":"https://git.kernel.org/stable/c/c90aad369899a607cfbc002bebeafd51e31900cd"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-23T15:57:26.891Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.4.279","versionEndExcluding":"5.4.291"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.10.221","versionEndExcluding":"5.10.235"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15.162","versionEndExcluding":"5.15.179"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1.97","versionEndExcluding":"6.1.131"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6.37","versionEndExcluding":"6.6.83"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"6.12.19"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"6.13.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.10","versionEndExcluding":"6.14"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.19.317"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.9.8"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html"},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T19:39:05.568Z"}}]}}}