CVE-2026-31758 (GCVE-0-2026-31758)
Vulnerability from cvelistv5
Published
2026-05-01 14:14
Modified
2026-10-19 19:06
Summary
In the Linux kernel, the following vulnerability has been resolved: usb: usbtmc: Flush anchored URBs in usbtmc_release When calling usbtmc_release, pending anchored URBs must be flushed or killed to prevent use-after-free errors (e.g. in the HCD giveback path). Call usbtmc_draw_down() to allow anchored URBs to be completed.
Impacted products
Vendor Product Version
Linux Linux Version: 4f3c8d6eddc272b386464524235440a418ed2029
Version: 4f3c8d6eddc272b386464524235440a418ed2029
Version: 4f3c8d6eddc272b386464524235440a418ed2029
Version: 4f3c8d6eddc272b386464524235440a418ed2029
Version: 4f3c8d6eddc272b386464524235440a418ed2029
Version: 4f3c8d6eddc272b386464524235440a418ed2029
Version: 4f3c8d6eddc272b386464524235440a418ed2029
Version: 4f3c8d6eddc272b386464524235440a418ed2029
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-31758",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-10-16T15:13:00.464457Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "problemTypes": [
          {
            "descriptions": [
              {
                "cweId": "CWE-416",
                "description": "CWE-416 Use After Free",
                "lang": "en",
                "type": "CWE"
              }
            ]
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-10-19T19:06:07.783Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/usb/class/usbtmc.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "959ef329071136e4335b54822fe2f607659b4569",
              "status": "affected",
              "version": "4f3c8d6eddc272b386464524235440a418ed2029",
              "versionType": "git"
            },
            {
              "lessThan": "e189d443767f7cd390c52f2e122e1fc41c7562d6",
              "status": "affected",
              "version": "4f3c8d6eddc272b386464524235440a418ed2029",
              "versionType": "git"
            },
            {
              "lessThan": "7fa8f61bab3fb75b5deba8a0f3abb74dc5068d9f",
              "status": "affected",
              "version": "4f3c8d6eddc272b386464524235440a418ed2029",
              "versionType": "git"
            },
            {
              "lessThan": "95e09b07e50290254b28b8395509473104518f8c",
              "status": "affected",
              "version": "4f3c8d6eddc272b386464524235440a418ed2029",
              "versionType": "git"
            },
            {
              "lessThan": "d13318dec0c1e0e2ac16f8ecbd522db14cea4bb1",
              "status": "affected",
              "version": "4f3c8d6eddc272b386464524235440a418ed2029",
              "versionType": "git"
            },
            {
              "lessThan": "977b632db51d231dec0bc571089a5c2402674139",
              "status": "affected",
              "version": "4f3c8d6eddc272b386464524235440a418ed2029",
              "versionType": "git"
            },
            {
              "lessThan": "d40198de50232e04c14c6e2092e896766c95ea48",
              "status": "affected",
              "version": "4f3c8d6eddc272b386464524235440a418ed2029",
              "versionType": "git"
            },
            {
              "lessThan": "8a768552f7a8276fb9e01d49773d2094ace7c8f1",
              "status": "affected",
              "version": "4f3c8d6eddc272b386464524235440a418ed2029",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/usb/class/usbtmc.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "4.19"
            },
            {
              "lessThan": "4.19",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.253",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.203",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.168",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.134",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.81",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.22",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.19.*",
              "status": "unaffected",
              "version": "6.19.12",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.0",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.253",
                  "versionStartIncluding": "4.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.203",
                  "versionStartIncluding": "4.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.168",
                  "versionStartIncluding": "4.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.134",
                  "versionStartIncluding": "4.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.81",
                  "versionStartIncluding": "4.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.22",
                  "versionStartIncluding": "4.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.19.12",
                  "versionStartIncluding": "4.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0",
                  "versionStartIncluding": "4.19",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nusb: usbtmc: Flush anchored URBs in usbtmc_release\n\nWhen calling usbtmc_release, pending anchored URBs must be flushed or\nkilled to prevent use-after-free errors (e.g. in the HCD giveback\npath). Call usbtmc_draw_down() to allow anchored URBs to be completed."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The vulnerable path is reached through local syscalls on the registered /dev/usbtmc* character device: open, asynchronous ioctl/read/write submission, then release. A USBTMC device must be present, but exploitation is driven from local device-file operations rather than network traffic.\nAC:L - The attacker can deliberately submit asynchronous URBs and drop the file reference before completion; the missing release-time drawdown makes the UAF deterministic enough to trigger. Any completion timing needed can be influenced by repeated attempts and, in the strongest scenario, by a controlled USBTMC device.\nPR:L - There are no capability or namespace-sensitive privilege checks in the usbtmc open/ioctl/release path. The attacker only needs ordinary local access sufficient to open the /dev/usbtmc* node.\nUI:N - No separate victim action is required once the attacker can access the device node. The attacker can open the file, issue the async operation, and cause release themselves.\nS:U - The corruption occurs within kernel USB/driver memory and affects the same kernel security authority. This is standard kernel memory corruption, not a VM, IOMMU, or sandbox boundary escape by itself.\nC:H - This is a use-after-free of per-file kernel state containing embedded USB anchors and callback context. Per the kernel scoring guidance, UAF memory corruption can be leveraged for high-impact information disclosure.\nI:H - The HCD giveback path and completion callbacks write through freed file_data/anchor memory, giving a heap corruption primitive. UAF corruption is defensibly scored as high integrity impact because it can support arbitrary write or control-flow exploitation.\nA:H - Syzbot reproduced a KASAN slab-use-after-free write in the USB giveback path after usbtmc_release freed the object. Even without full exploitation, this can crash or destabilize the kernel."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T12:24:58.211Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/959ef329071136e4335b54822fe2f607659b4569"
        },
        {
          "url": "https://git.kernel.org/stable/c/e189d443767f7cd390c52f2e122e1fc41c7562d6"
        },
        {
          "url": "https://git.kernel.org/stable/c/7fa8f61bab3fb75b5deba8a0f3abb74dc5068d9f"
        },
        {
          "url": "https://git.kernel.org/stable/c/95e09b07e50290254b28b8395509473104518f8c"
        },
        {
          "url": "https://git.kernel.org/stable/c/d13318dec0c1e0e2ac16f8ecbd522db14cea4bb1"
        },
        {
          "url": "https://git.kernel.org/stable/c/977b632db51d231dec0bc571089a5c2402674139"
        },
        {
          "url": "https://git.kernel.org/stable/c/d40198de50232e04c14c6e2092e896766c95ea48"
        },
        {
          "url": "https://git.kernel.org/stable/c/8a768552f7a8276fb9e01d49773d2094ace7c8f1"
        }
      ],
      "title": "usb: usbtmc: Flush anchored URBs in usbtmc_release",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-31758",
    "datePublished": "2026-05-01T14:14:48.390Z",
    "dateReserved": "2026-03-09T15:48:24.139Z",
    "dateUpdated": "2026-10-19T19:06:07.783Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-31758\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-10-16T15:13:00.464457Z\"}}}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-416\", \"description\": \"CWE-416 Use After Free\"}]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-10-16T15:13:01.055Z\"}}], \"cna\": {\"title\": \"usb: usbtmc: Flush anchored URBs in usbtmc_release\", \"metrics\": [{\"cvssV3_1\": {\"version\": \"3.1\", \"baseScore\": 7.8, \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"AV:L - The vulnerable path is reached through local syscalls on the registered /dev/usbtmc* character device: open, asynchronous ioctl/read/write submission, then release. A USBTMC device must be present, but exploitation is driven from local device-file operations rather than network traffic.\\nAC:L - The attacker can deliberately submit asynchronous URBs and drop the file reference before completion; the missing release-time drawdown makes the UAF deterministic enough to trigger. Any completion timing needed can be influenced by repeated attempts and, in the strongest scenario, by a controlled USBTMC device.\\nPR:L - There are no capability or namespace-sensitive privilege checks in the usbtmc open/ioctl/release path. The attacker only needs ordinary local access sufficient to open the /dev/usbtmc* node.\\nUI:N - No separate victim action is required once the attacker can access the device node. The attacker can open the file, issue the async operation, and cause release themselves.\\nS:U - The corruption occurs within kernel USB/driver memory and affects the same kernel security authority. This is standard kernel memory corruption, not a VM, IOMMU, or sandbox boundary escape by itself.\\nC:H - This is a use-after-free of per-file kernel state containing embedded USB anchors and callback context. Per the kernel scoring guidance, UAF memory corruption can be leveraged for high-impact information disclosure.\\nI:H - The HCD giveback path and completion callbacks write through freed file_data/anchor memory, giving a heap corruption primitive. UAF corruption is defensibly scored as high integrity impact because it can support arbitrary write or control-flow exploitation.\\nA:H - Syzbot reproduced a KASAN slab-use-after-free write in the USB giveback path after usbtmc_release freed the object. Even without full exploitation, this can crash or destabilize the kernel.\"}]}], \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"4f3c8d6eddc272b386464524235440a418ed2029\", \"lessThan\": \"959ef329071136e4335b54822fe2f607659b4569\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"4f3c8d6eddc272b386464524235440a418ed2029\", \"lessThan\": \"e189d443767f7cd390c52f2e122e1fc41c7562d6\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"4f3c8d6eddc272b386464524235440a418ed2029\", \"lessThan\": \"7fa8f61bab3fb75b5deba8a0f3abb74dc5068d9f\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"4f3c8d6eddc272b386464524235440a418ed2029\", \"lessThan\": \"95e09b07e50290254b28b8395509473104518f8c\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"4f3c8d6eddc272b386464524235440a418ed2029\", \"lessThan\": \"d13318dec0c1e0e2ac16f8ecbd522db14cea4bb1\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"4f3c8d6eddc272b386464524235440a418ed2029\", \"lessThan\": \"977b632db51d231dec0bc571089a5c2402674139\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"4f3c8d6eddc272b386464524235440a418ed2029\", \"lessThan\": \"d40198de50232e04c14c6e2092e896766c95ea48\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"4f3c8d6eddc272b386464524235440a418ed2029\", \"lessThan\": \"8a768552f7a8276fb9e01d49773d2094ace7c8f1\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/usb/class/usbtmc.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"4.19\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"4.19\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"5.10.253\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.15.203\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"6.1.168\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.1.*\"}, {\"status\": \"unaffected\", \"version\": \"6.6.134\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.6.*\"}, {\"status\": \"unaffected\", \"version\": \"6.12.81\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.12.*\"}, {\"status\": \"unaffected\", \"version\": \"6.18.22\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.18.*\"}, {\"status\": \"unaffected\", \"version\": \"6.19.12\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.19.*\"}, {\"status\": \"unaffected\", \"version\": \"7.0\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/usb/class/usbtmc.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/959ef329071136e4335b54822fe2f607659b4569\"}, {\"url\": \"https://git.kernel.org/stable/c/e189d443767f7cd390c52f2e122e1fc41c7562d6\"}, {\"url\": \"https://git.kernel.org/stable/c/7fa8f61bab3fb75b5deba8a0f3abb74dc5068d9f\"}, {\"url\": \"https://git.kernel.org/stable/c/95e09b07e50290254b28b8395509473104518f8c\"}, {\"url\": \"https://git.kernel.org/stable/c/d13318dec0c1e0e2ac16f8ecbd522db14cea4bb1\"}, {\"url\": \"https://git.kernel.org/stable/c/977b632db51d231dec0bc571089a5c2402674139\"}, {\"url\": \"https://git.kernel.org/stable/c/d40198de50232e04c14c6e2092e896766c95ea48\"}, {\"url\": \"https://git.kernel.org/stable/c/8a768552f7a8276fb9e01d49773d2094ace7c8f1\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nusb: usbtmc: Flush anchored URBs in usbtmc_release\\n\\nWhen calling usbtmc_release, pending anchored URBs must be flushed or\\nkilled to prevent use-after-free errors (e.g. in the HCD giveback\\npath). Call usbtmc_draw_down() to allow anchored URBs to be completed.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.10.253\", \"versionStartIncluding\": \"4.19\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.15.203\", \"versionStartIncluding\": \"4.19\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.1.168\", \"versionStartIncluding\": \"4.19\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.6.134\", \"versionStartIncluding\": \"4.19\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.12.81\", \"versionStartIncluding\": \"4.19\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.18.22\", \"versionStartIncluding\": \"4.19\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.19.12\", \"versionStartIncluding\": \"4.19\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"7.0\", \"versionStartIncluding\": \"4.19\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-08-05T12:24:58.211Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2026-31758\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-10-19T19:06:07.783Z\", \"dateReserved\": \"2026-03-09T15:48:24.139Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2026-05-01T14:14:48.390Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


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.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • 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…