CVE-2025-21916 (GCVE-0-2025-21916)
Vulnerability from cvelistv5
Published
2025-04-01 15:40
Modified
2025-05-04 13:06
Severity ?
Summary
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 ...
Impacted products
Vendor Product Version
Linux Linux Version: 23926d316d2836315cb113569f91393266eb5b47
Version: 75ddbf776dd04a09fb9e5267ead5d0c989f84506
Version: 1aac4be1aaa5177506219f01dce5e29194e5e95a
Version: 5584c776a1af7807ca815ee6265f2c1429fc5727
Version: f536f09eb45e4de8d1b9accee9d992aa1846f1d4
Version: 2eabb655a968b862bc0c31629a09f0fbf3c80d51
Version: 2eabb655a968b862bc0c31629a09f0fbf3c80d51
Version: 2eabb655a968b862bc0c31629a09f0fbf3c80d51
Version: 5159a81924311c1ec786ad9fdef784ead8676a6a
Version: ac9007520e392541a29daebaae8b9109007bc781
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/usb/atm/cxacru.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "dcd592ab9dd8a2bfc36e75583b9006db2a77ec24",
              "status": "affected",
              "version": "23926d316d2836315cb113569f91393266eb5b47",
              "versionType": "git"
            },
            {
              "lessThan": "319529e0356bd904528c64647725a2272d297c83",
              "status": "affected",
              "version": "75ddbf776dd04a09fb9e5267ead5d0c989f84506",
              "versionType": "git"
            },
            {
              "lessThan": "bf4409f84023b52b5e9b36c0a071a121eee42138",
              "status": "affected",
              "version": "1aac4be1aaa5177506219f01dce5e29194e5e95a",
              "versionType": "git"
            },
            {
              "lessThan": "197e78076c5ecd895f109158c4ea2954b9919af6",
              "status": "affected",
              "version": "5584c776a1af7807ca815ee6265f2c1429fc5727",
              "versionType": "git"
            },
            {
              "lessThan": "a0475a885d69849b1ade38add6d64338dfa83a8f",
              "status": "affected",
              "version": "f536f09eb45e4de8d1b9accee9d992aa1846f1d4",
              "versionType": "git"
            },
            {
              "lessThan": "cfc295f7cccf66cbd5123416bcf1bee2e1bd37de",
              "status": "affected",
              "version": "2eabb655a968b862bc0c31629a09f0fbf3c80d51",
              "versionType": "git"
            },
            {
              "lessThan": "903b80c21458bb1e34c3a78c5fdc553821e357f8",
              "status": "affected",
              "version": "2eabb655a968b862bc0c31629a09f0fbf3c80d51",
              "versionType": "git"
            },
            {
              "lessThan": "c90aad369899a607cfbc002bebeafd51e31900cd",
              "status": "affected",
              "version": "2eabb655a968b862bc0c31629a09f0fbf3c80d51",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "5159a81924311c1ec786ad9fdef784ead8676a6a",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "ac9007520e392541a29daebaae8b9109007bc781",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/usb/atm/cxacru.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.10"
            },
            {
              "lessThan": "6.10",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.291",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.235",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.179",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.131",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.83",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.19",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.13.*",
              "status": "unaffected",
              "version": "6.13.7",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.14",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.291",
                  "versionStartIncluding": "5.4.279",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.235",
                  "versionStartIncluding": "5.10.221",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.179",
                  "versionStartIncluding": "5.15.162",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.131",
                  "versionStartIncluding": "6.1.97",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.83",
                  "versionStartIncluding": "6.6.37",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.19",
                  "versionStartIncluding": "6.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.13.7",
                  "versionStartIncluding": "6.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.14",
                  "versionStartIncluding": "6.10",
                  "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",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "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\u0027s 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 \u003cTASK\u003e\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..."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-05-04T13:06:45.506Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "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"
        }
      ],
      "title": "usb: atm: cxacru: fix a flaw in existing endpoint checks",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2025-21916",
    "datePublished": "2025-04-01T15:40:52.519Z",
    "dateReserved": "2024-12-29T08:45:45.787Z",
    "dateUpdated": "2025-05-04T13:06:45.506Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2025-21916\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-04-01T16:15:22.223\",\"lastModified\":\"2025-04-01T20:26:01.990\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"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\u0027s 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 \u003cTASK\u003e\\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...\"},{\"lang\":\"es\",\"value\":\"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\u00f3 a identificar un fallo en la comprobaci\u00f3n de endpoints USB, consulte [1]. Esta vez, el problema se debe a una confirmaci\u00f3n de mi autor\u00eda (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\u00f3neos, en este caso se necesita m\u00e1s que simplemente encontrar e identificar la cantidad suficiente de endpoints de los tipos correctos: tambi\u00e9n se necesita comprobar la direcci\u00f3n del endpoint. Dado que cxacru_bind() rellena las URB teniendo en cuenta la direcci\u00f3n CXACRU_EP_CMD, cambie el enfoque de verificaci\u00f3n 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 ... \"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/197e78076c5ecd895f109158c4ea2954b9919af6\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/319529e0356bd904528c64647725a2272d297c83\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/903b80c21458bb1e34c3a78c5fdc553821e357f8\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/a0475a885d69849b1ade38add6d64338dfa83a8f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/bf4409f84023b52b5e9b36c0a071a121eee42138\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/c90aad369899a607cfbc002bebeafd51e31900cd\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/cfc295f7cccf66cbd5123416bcf1bee2e1bd37de\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/dcd592ab9dd8a2bfc36e75583b9006db2a77ec24\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…