{
  "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-40083",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2025-40083",
    "idYear": 2025,
    "status": "PUBLISHED",
    "publishedAt": "2025-10-29T13:37:01.868Z",
    "updatedAt": "2026-06-16T19:43:09.432Z",
    "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: sch_qfq: Fix null-deref in agg_dequeue",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet/sched: sch_qfq: Fix null-deref in agg_dequeue\n\nTo prevent a potential crash in agg_dequeue (net/sched/sch_qfq.c)\nwhen cl->qdisc->ops->peek(cl->qdisc) returns NULL, we check the return\nvalue before using it, similar to the existing approach in sch_hfsc.c.\n\nTo avoid code duplication, the following changes are made:\n\n1. Changed qdisc_warn_nonwc(include/net/pkt_sched.h) into a static\ninline function.\n\n2. Moved qdisc_peek_len from net/sched/sch_hfsc.c to\ninclude/net/pkt_sched.h so that sch_qfq can reuse it.\n\n3. Applied qdisc_peek_len in agg_dequeue to avoid crashing.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "462dbc9101acd38e92eda93c0726857517a24bbd",
              "status": "affected",
              "versionType": "git",
              "lessThan": "71d84658a61322e5630c85c5388fc25e4a2d08b2"
            },
            {
              "version": "462dbc9101acd38e92eda93c0726857517a24bbd",
              "status": "affected",
              "versionType": "git",
              "lessThan": "99fc137f178797204d36ac860dd8b31e35baa2df"
            },
            {
              "version": "462dbc9101acd38e92eda93c0726857517a24bbd",
              "status": "affected",
              "versionType": "git",
              "lessThan": "1bed56f089f09b465420bf23bb32985c305cfc28"
            },
            {
              "version": "462dbc9101acd38e92eda93c0726857517a24bbd",
              "status": "affected",
              "versionType": "git",
              "lessThan": "3c2a8994807623c7655ece205667ae2cf74940aa"
            },
            {
              "version": "462dbc9101acd38e92eda93c0726857517a24bbd",
              "status": "affected",
              "versionType": "git",
              "lessThan": "6ffa9d66187188e3068b5a3895e6ae1ee34f9199"
            },
            {
              "version": "462dbc9101acd38e92eda93c0726857517a24bbd",
              "status": "affected",
              "versionType": "git",
              "lessThan": "6ff8e74c8f8a68ec07ef837b95425dfe900d060f"
            },
            {
              "version": "462dbc9101acd38e92eda93c0726857517a24bbd",
              "status": "affected",
              "versionType": "git",
              "lessThan": "dd831ac8221e691e9e918585b1003c7071df0379"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "3.8",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "3.8"
            },
            {
              "version": "5.4.302",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.247",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.197",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.159",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.116",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.57",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.16",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}