{
  "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-38000",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-38000",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-06-06T13:03:35.405Z",
    "updatedAt": "2026-10-15T21:52:06.159Z",
    "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": "sch_hfsc: Fix qlen accounting bug when using peek in hfsc_enqueue()",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nsch_hfsc: Fix qlen accounting bug when using peek in hfsc_enqueue()\n\nWhen enqueuing the first packet to an HFSC class, hfsc_enqueue() calls the\nchild qdisc's peek() operation before incrementing sch->q.qlen and\nsch->qstats.backlog. If the child qdisc uses qdisc_peek_dequeued(), this may\ntrigger an immediate dequeue and potential packet drop. In such cases,\nqdisc_tree_reduce_backlog() is called, but the HFSC qdisc's qlen and backlog\nhave not yet been updated, leading to inconsistent queue accounting. This\ncan leave an empty HFSC class in the active list, causing further\nconsequences like use-after-free.\n\nThis patch fixes the bug by moving the increment of sch->q.qlen and\nsch->qstats.backlog before the call to the child qdisc's peek() operation.\nThis ensures that queue length and backlog are always accurate when packet\ndrops or dequeues are triggered during the peek.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "12d0ad3be9c3854e52ec74bb83bb6f43612827c7",
              "status": "affected",
              "versionType": "git",
              "lessThan": "1034e3310752e8675e313f7271b348914008719a"
            },
            {
              "version": "12d0ad3be9c3854e52ec74bb83bb6f43612827c7",
              "status": "affected",
              "versionType": "git",
              "lessThan": "f9f593e34d2fb67644372c8f7b033bdc622ad228"
            },
            {
              "version": "12d0ad3be9c3854e52ec74bb83bb6f43612827c7",
              "status": "affected",
              "versionType": "git",
              "lessThan": "89c301e929a0db14ebd94b4d97764ce1d6981653"
            },
            {
              "version": "12d0ad3be9c3854e52ec74bb83bb6f43612827c7",
              "status": "affected",
              "versionType": "git",
              "lessThan": "f1dde3eb17dc1b8bd07aed00004b1e05fc87a3d4"
            },
            {
              "version": "12d0ad3be9c3854e52ec74bb83bb6f43612827c7",
              "status": "affected",
              "versionType": "git",
              "lessThan": "93c276942e75de0e5bc91576300d292e968f5a02"
            },
            {
              "version": "12d0ad3be9c3854e52ec74bb83bb6f43612827c7",
              "status": "affected",
              "versionType": "git",
              "lessThan": "49b21795b8e5654a7df3d910a12e1060da4c04cf"
            },
            {
              "version": "12d0ad3be9c3854e52ec74bb83bb6f43612827c7",
              "status": "affected",
              "versionType": "git",
              "lessThan": "3f3a22eebbc32b4fa8ce9c1d5f9db214b45b9335"
            },
            {
              "version": "12d0ad3be9c3854e52ec74bb83bb6f43612827c7",
              "status": "affected",
              "versionType": "git",
              "lessThan": "3f981138109f63232a5fb7165938d4c945cc1b9d"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "4.8",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "4.8"
            },
            {
              "version": "5.4.294",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.238",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.185",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.141",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.93",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.31",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.14.9",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.14.*"
            },
            {
              "version": "6.15",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}