Skip to content
Heist/ feed
Back to feed
UnratedFix available

usb: misc: usbio: Fix URB memory leak on submit failure

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: usb: misc: usbio: Fix URB memory leak on submit failure When usb_submit_urb() fails in usbio_probe(), the previously allocated URB is never freed, causing a memory leak. Fix this by jumping to err_free_urb label to properly release the URB on the error path.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.18.22, 6.19.12
CVEs
CVE-2026-31757
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 11:36 UTC · Revision 1

Source evidence

usb: misc: usbio: Fix URB memory leak on submit failure

core-osv · Original source

Published 1 May 2026, 14:14 UTC

In the Linux kernel, the following vulnerability has been resolved: usb: misc: usbio: Fix URB memory leak on submit failure When usb_submit_urb() fails in usbio_probe(), the previously allocated URB is never freed, causing a memory leak. Fix this by jumping to err_free_urb label to properly release the URB on the error path.

osv:CVE-2026-31757

Kernel

Fixed versions: 6.18.22, 6.19.12

Complete source record
{
  "id": "24b972d989a982280f55df660747c708078334b76df1b5135ebc6d36d9abf8ba",
  "url": "https://osv.dev/vulnerability/CVE-2026-31757",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "usb: misc: usbio: Fix URB memory leak on submit failure",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: usb: misc: usbio: Fix URB memory leak on submit failure When usb_submit_urb() fails in usbio_probe(), the previously allocated URB is never freed, causing a memory leak. Fix this by jumping to err_free_urb label to properly release the URB on the error path.",
    "evidence": "osv:CVE-2026-31757",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.18.22",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.19.12",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-31757",
      "aliases": [
        "CVE-2026-31757"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "121a0f839dbb397af5fabb701cea3e9983223e50"
                },
                {
                  "fixed": "65ff09f48b0e72e4049096a989723406aabcf091"
                },
                {
                  "fixed": "1762dc43b983d321180582afba4a0c5185fae04c"
                },
                {
                  "fixed": "33cfe0709b6bf1a7f1a16d5e8d65d003a71b6a21"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31757.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.18.0"
                },
                {
                  "fixed": "6.18.22"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "6.19.12"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31757.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:50.698582190Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/1762dc43b983d321180582afba4a0c5185fae04c",
        "https://git.kernel.org/stable/c/33cfe0709b6bf1a7f1a16d5e8d65d003a71b6a21",
        "https://git.kernel.org/stable/c/65ff09f48b0e72e4049096a989723406aabcf091",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31757.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-31757",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31757.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-31757",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 519149,
  "published_at": "2026-05-01T14:14:47.659+00:00"
}