{
  "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-21647",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-21647",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-01-19T10:18:04.415Z",
    "updatedAt": "2026-10-15T01:02:46.614Z",
    "importedAt": "2026-10-24T01:57:29.455Z",
    "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": "sched: sch_cake: add bounds checks to host bulk flow fairness counts",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nsched: sch_cake: add bounds checks to host bulk flow fairness counts\n\nEven though we fixed a logic error in the commit cited below, syzbot\nstill managed to trigger an underflow of the per-host bulk flow\ncounters, leading to an out of bounds memory access.\n\nTo avoid any such logic errors causing out of bounds memory accesses,\nthis commit factors out all accesses to the per-host bulk flow counters\nto a series of helpers that perform bounds-checking before any\nincrements and decrements. This also has the benefit of improving\nreadability by moving the conditional checks for the flow mode into\nthese helpers, instead of having them spread out throughout the\ncode (which was the cause of the original logic error).\n\nAs part of this change, the flow quantum calculation is consolidated\ninto a helper function, which means that the dithering applied to the\nost load scaling is now applied both in the DRR rotation and when a\nsparse flow's quantum is first initiated. The only user-visible effect\nof this is that the maximum packet size that can be sent while a flow\nstays sparse will now vary with +/- one byte in some cases. This should\nnot make a noticeable difference in practice, and thus it's not worth\ncomplicating the code to preserve the old behaviour.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "4a4eeefa514db570be025ab46d779af180e2c9bb",
              "status": "affected",
              "versionType": "git",
              "lessThan": "44fe1efb4961c1a5ccab16bb579dfc6b308ad58b"
            },
            {
              "version": "7725152b54d295b7da5e34c2f419539b30d017bd",
              "status": "affected",
              "versionType": "git",
              "lessThan": "b1a1743aaa4906c41c426eda97e2e2586f79246d"
            },
            {
              "version": "cde71a5677971f4f1b69b25e854891dbe78066a4",
              "status": "affected",
              "versionType": "git",
              "lessThan": "bb0245fa72b783cb23a9949c5048781341e91423"
            },
            {
              "version": "549e407569e08459d16122341d332cb508024094",
              "status": "affected",
              "versionType": "git",
              "lessThan": "a777e06dfc72bed73c05dcb437d7c27ad5f90f3f"
            },
            {
              "version": "d4a9039a7b3d8005b90c7b1a55a306444f0e5447",
              "status": "affected",
              "versionType": "git",
              "lessThan": "27202e2e8721c3b23831563c36ed5ac7818641ba"
            },
            {
              "version": "546ea84d07e3e324644025e2aae2d12ea4c5896e",
              "status": "affected",
              "versionType": "git",
              "lessThan": "91bb18950b88f955838ec0c1d97f74d135756dc7"
            },
            {
              "version": "546ea84d07e3e324644025e2aae2d12ea4c5896e",
              "status": "affected",
              "versionType": "git",
              "lessThan": "737d4d91d35b5f7fa5bb442651472277318b0bfd"
            },
            {
              "version": "d7c01c0714c04431b5e18cf17a9ea68a553d1c3c",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "5.4.284",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "5.4.291"
            },
            {
              "version": "5.10.226",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "5.10.235"
            },
            {
              "version": "5.15.167",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "5.15.179"
            },
            {
              "version": "6.1.110",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "6.1.125"
            },
            {
              "version": "6.6.51",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "6.6.72"
            },
            {
              "version": "6.10.10",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "6.11"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "6.11",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "6.11"
            },
            {
              "version": "5.4.291",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.235",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.179",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.125",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.72",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.10",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.13",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}