Skip to content
Heist/ feed
Back to feed
HighFix available

usb: gadget: u_audio: Fix race condition use of controls after free during gadget unbind.

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: usb: gadget: u_audio: Fix race condition use of controls after free during gadget unbind. Hang on to the control IDs instead of pointers since those are correctly handled with locks.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.1.93, 6.6.33, 6.9.4
CVEs
CVE-2024-38628
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 03:43 UTC · Revision 1

Source evidence

usb: gadget: u_audio: Fix race condition use of controls after free during gadget unbind.

core-osv · Original source

Published 21 Jun 2024, 10:18 UTC

In the Linux kernel, the following vulnerability has been resolved: usb: gadget: u_audio: Fix race condition use of controls after free during gadget unbind. Hang on to the control IDs instead of pointers since those are correctly handled with locks.

osv:CVE-2024-38628

Kernel

Fixed versions: 6.1.93, 6.6.33, 6.9.4

Complete source record
{
  "id": "8ba629298d39739ab9bfb6382deced56e086098fd421cba28a10fc1fad75f65c",
  "url": "https://osv.dev/vulnerability/CVE-2024-38628",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "usb: gadget: u_audio: Fix race condition use of controls after free during gadget unbind.",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: usb: gadget: u_audio: Fix race condition use of controls after free during gadget unbind. Hang on to the control IDs instead of pointers since those are correctly handled with locks.",
    "evidence": "osv:CVE-2024-38628",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.1.93",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.33",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.9.4",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-38628",
      "aliases": [
        "CVE-2024-38628"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "02de698ca8123782c0c6fb8ed99080e2f032b0d2"
                },
                {
                  "fixed": "89e66809684485590ea0b32c3178e42cba36ac09"
                },
                {
                  "fixed": "453d3fa9266e53f85377b911c19b9a4563fa88c0"
                },
                {
                  "fixed": "bea73b58ab67fe581037ad9cdb93c2557590c068"
                },
                {
                  "fixed": "1b739388aa3f8dfb63a9fca777e6dfa6912d0464"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-38628.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.15.0"
                },
                {
                  "fixed": "6.1.93"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.33"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.9.4"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-38628.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:25.934404323Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/1b739388aa3f8dfb63a9fca777e6dfa6912d0464",
        "https://git.kernel.org/stable/c/453d3fa9266e53f85377b911c19b9a4563fa88c0",
        "https://git.kernel.org/stable/c/89e66809684485590ea0b32c3178e42cba36ac09",
        "https://git.kernel.org/stable/c/bea73b58ab67fe581037ad9cdb93c2557590c068",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38628.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-38628",
        "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/2024/38xxx/CVE-2024-38628.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-38628",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 492245,
  "published_at": "2024-06-21T10:18:19.558+00:00"
}