{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2025-38555",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-38555",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-08-19T17:02:34.110Z",
    "updatedAt": "2026-08-05T12:02:53.142Z",
    "importedAt": "2026-10-24T01:57:34.152Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "usb: gadget : fix use-after-free in composite_dev_cleanup()",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget : fix use-after-free in composite_dev_cleanup()\n\n1. In func configfs_composite_bind() -> composite_os_desc_req_prepare():\nif kmalloc fails, the pointer cdev->os_desc_req will be freed but not\nset to NULL. Then it will return a failure to the upper-level function.\n2. in func configfs_composite_bind() -> composite_dev_cleanup():\nit will checks whether cdev->os_desc_req is NULL. If it is not NULL, it\nwill attempt to use it.This will lead to a use-after-free issue.\n\nBUG: KASAN: use-after-free in composite_dev_cleanup+0xf4/0x2c0\nRead of size 8 at addr 0000004827837a00 by task init/1\n\nCPU: 10 PID: 1 Comm: init Tainted: G           O      5.10.97-oh #1\n kasan_report+0x188/0x1cc\n __asan_load8+0xb4/0xbc\n composite_dev_cleanup+0xf4/0x2c0\n configfs_composite_bind+0x210/0x7ac\n udc_bind_to_driver+0xb4/0x1ec\n usb_gadget_probe_driver+0xec/0x21c\n gadget_dev_desc_UDC_store+0x264/0x27c",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "37a3a533429ef9b3cc9f15a656c19623f0e88df7",
              "status": "affected",
              "versionType": "git",
              "lessThan": "dba96dfa5a0f685b959dd28a52ac8dab0b805204"
            },
            {
              "version": "37a3a533429ef9b3cc9f15a656c19623f0e88df7",
              "status": "affected",
              "versionType": "git",
              "lessThan": "2db29235e900a084a656dea7e0939b0abb7bb897"
            },
            {
              "version": "37a3a533429ef9b3cc9f15a656c19623f0e88df7",
              "status": "affected",
              "versionType": "git",
              "lessThan": "8afb22aa063f706f3343707cdfb8cda4d021dd33"
            },
            {
              "version": "37a3a533429ef9b3cc9f15a656c19623f0e88df7",
              "status": "affected",
              "versionType": "git",
              "lessThan": "e624bf26127645a2f7821e73fdf6dc64bad07835"
            },
            {
              "version": "37a3a533429ef9b3cc9f15a656c19623f0e88df7",
              "status": "affected",
              "versionType": "git",
              "lessThan": "aada327a9f8028c573636fa60c0abc80fb8135c9"
            },
            {
              "version": "37a3a533429ef9b3cc9f15a656c19623f0e88df7",
              "status": "affected",
              "versionType": "git",
              "lessThan": "5f06ee9f9a3665d43133f125c17e5258a13f3963"
            },
            {
              "version": "37a3a533429ef9b3cc9f15a656c19623f0e88df7",
              "status": "affected",
              "versionType": "git",
              "lessThan": "bd3c4ef60baf7f65c963f3e12d9d7b2b091e20ba"
            },
            {
              "version": "37a3a533429ef9b3cc9f15a656c19623f0e88df7",
              "status": "affected",
              "versionType": "git",
              "lessThan": "e1be1f380c82a69f80c68c96a7cfe8759fb30355"
            },
            {
              "version": "37a3a533429ef9b3cc9f15a656c19623f0e88df7",
              "status": "affected",
              "versionType": "git",
              "lessThan": "151c0aa896c47a4459e07fee7d4843f44c1bb18e"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "3.16",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "3.16"
            },
            {
              "version": "5.4.297",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.241",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.190",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.148",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.102",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.42",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.15.10",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.15.*"
            },
            {
              "version": "6.16.1",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.16.*"
            },
            {
              "version": "6.17",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}