{
  "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-38457",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-38457",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-07-25T15:27:36.226Z",
    "updatedAt": "2026-10-15T01:07:17.428Z",
    "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": "net/sched: Abort __tc_modify_qdisc if parent class does not exist",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet/sched: Abort __tc_modify_qdisc if parent class does not exist\n\nLion's patch [1] revealed an ancient bug in the qdisc API.\nWhenever a user creates/modifies a qdisc specifying as a parent another\nqdisc, the qdisc API will, during grafting, detect that the user is\nnot trying to attach to a class and reject. However grafting is\nperformed after qdisc_create (and thus the qdiscs' init callback) is\nexecuted. In qdiscs that eventually call qdisc_tree_reduce_backlog\nduring init or change (such as fq, hhf, choke, etc), an issue\narises. For example, executing the following commands:\n\nsudo tc qdisc add dev lo root handle a: htb default 2\nsudo tc qdisc add dev lo parent a: handle beef fq\n\nQdiscs such as fq, hhf, choke, etc unconditionally invoke\nqdisc_tree_reduce_backlog() in their control path init() or change() which\nthen causes a failure to find the child class; however, that does not stop\nthe unconditional invocation of the assumed child qdisc's qlen_notify with\na null class. All these qdiscs make the assumption that class is non-null.\n\nThe solution is ensure that qdisc_leaf() which looks up the parent\nclass, and is invoked prior to qdisc_create(), should return failure on\nnot finding the class.\nIn this patch, we leverage qdisc_leaf to return ERR_PTRs whenever the\nparentid doesn't correspond to a class, so that we can detect it\nearlier on and abort before qdisc_create is called.\n\n[1] https://lore.kernel.org/netdev/d912cbd7-193b-4269-9857-525bee8bbb6a@gmail.com/",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "5e50da01d0ce7ef0ba3ed6cfabd62f327da0aca6",
              "status": "affected",
              "versionType": "git",
              "lessThan": "923a276c74e25073ae391e930792ac86a9f77f1e"
            },
            {
              "version": "5e50da01d0ce7ef0ba3ed6cfabd62f327da0aca6",
              "status": "affected",
              "versionType": "git",
              "lessThan": "90436e72c9622c2f70389070088325a3232d339f"
            },
            {
              "version": "5e50da01d0ce7ef0ba3ed6cfabd62f327da0aca6",
              "status": "affected",
              "versionType": "git",
              "lessThan": "25452638f133ac19d75af3f928327d8016952c8e"
            },
            {
              "version": "5e50da01d0ce7ef0ba3ed6cfabd62f327da0aca6",
              "status": "affected",
              "versionType": "git",
              "lessThan": "23c165dde88eac405eebb59051ea1fe139a45803"
            },
            {
              "version": "5e50da01d0ce7ef0ba3ed6cfabd62f327da0aca6",
              "status": "affected",
              "versionType": "git",
              "lessThan": "4c691d1b6b6dbd73f30ed9ee7da05f037b0c49af"
            },
            {
              "version": "5e50da01d0ce7ef0ba3ed6cfabd62f327da0aca6",
              "status": "affected",
              "versionType": "git",
              "lessThan": "8ecd651ef24ab50123692a4e3e25db93cb11602a"
            },
            {
              "version": "5e50da01d0ce7ef0ba3ed6cfabd62f327da0aca6",
              "status": "affected",
              "versionType": "git",
              "lessThan": "e28a383d6485c3bb51dc5953552f76c4dea33eea"
            },
            {
              "version": "5e50da01d0ce7ef0ba3ed6cfabd62f327da0aca6",
              "status": "affected",
              "versionType": "git",
              "lessThan": "ffdde7bf5a439aaa1955ebd581f5c64ab1533963"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "2.6.20",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "2.6.20"
            },
            {
              "version": "5.4.296",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.240",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.189",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.146",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.99",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.39",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.15.7",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.15.*"
            },
            {
              "version": "6.16",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}