{
  "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-38497",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-38497",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-07-28T11:22:05.855Z",
    "updatedAt": "2026-05-11T21:29:09.774Z",
    "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: configfs: Fix OOB read on empty string write",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: configfs: Fix OOB read on empty string write\n\nWhen writing an empty string to either 'qw_sign' or 'landingPage'\nsysfs attributes, the store functions attempt to access page[l - 1]\nbefore validating that the length 'l' is greater than zero.\n\nThis patch fixes the vulnerability by adding a check at the beginning\nof os_desc_qw_sign_store() and webusb_landingPage_store() to handle\nthe zero-length input case gracefully by returning immediately.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "87213d388e927aaa88b21d5ff7e1f75ca2288da1",
              "status": "affected",
              "versionType": "git",
              "lessThan": "78b41148cfea2a3f04d87adf3a71b21735820a37"
            },
            {
              "version": "87213d388e927aaa88b21d5ff7e1f75ca2288da1",
              "status": "affected",
              "versionType": "git",
              "lessThan": "d68b7c8fefbaeae8f065b84e40cf64baf4cc0c76"
            },
            {
              "version": "87213d388e927aaa88b21d5ff7e1f75ca2288da1",
              "status": "affected",
              "versionType": "git",
              "lessThan": "15a87206879951712915c03c8952a73d6a74721e"
            },
            {
              "version": "87213d388e927aaa88b21d5ff7e1f75ca2288da1",
              "status": "affected",
              "versionType": "git",
              "lessThan": "2798111f8e504ac747cce911226135d50b8de468"
            },
            {
              "version": "87213d388e927aaa88b21d5ff7e1f75ca2288da1",
              "status": "affected",
              "versionType": "git",
              "lessThan": "58bdd5160184645771553ea732da5c2887fc9bd1"
            },
            {
              "version": "87213d388e927aaa88b21d5ff7e1f75ca2288da1",
              "status": "affected",
              "versionType": "git",
              "lessThan": "783ea37b237a9b524f1e5ca018ea17d772ee0ea0"
            },
            {
              "version": "87213d388e927aaa88b21d5ff7e1f75ca2288da1",
              "status": "affected",
              "versionType": "git",
              "lessThan": "22b7897c289cc25d99c603f5144096142a30d897"
            },
            {
              "version": "87213d388e927aaa88b21d5ff7e1f75ca2288da1",
              "status": "affected",
              "versionType": "git",
              "lessThan": "3014168731b7930300aab656085af784edc861f6"
            }
          ]
        },
        {
          "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.147",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.100",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.40",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.15.8",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.15.*"
            },
            {
              "version": "6.16",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}