CVE-2026-22999 (GCVE-0-2026-22999)
Vulnerability from cvelistv5
Published
2026-01-25 14:36
Modified
2026-08-05 12:20
Summary
In the Linux kernel, the following vulnerability has been resolved: net/sched: sch_qfq: do not free existing class in qfq_change_class() Fixes qfq_change_class() error case. cl->qdisc and cl should only be freed if a new class and qdisc were allocated, or we risk various UAF.
Impacted products
Vendor Product Version
Linux Linux Version: 462dbc9101acd38e92eda93c0726857517a24bbd
Version: 462dbc9101acd38e92eda93c0726857517a24bbd
Version: 462dbc9101acd38e92eda93c0726857517a24bbd
Version: 462dbc9101acd38e92eda93c0726857517a24bbd
Version: 462dbc9101acd38e92eda93c0726857517a24bbd
Version: 462dbc9101acd38e92eda93c0726857517a24bbd
Version: 462dbc9101acd38e92eda93c0726857517a24bbd
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-22999",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-06-16T20:35:55.025194Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-06-16T20:36:05.459Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "net/sched/sch_qfq.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "2a64fb9b47afffeb5dbab5fd3a518e1436dcc90e",
              "status": "affected",
              "version": "462dbc9101acd38e92eda93c0726857517a24bbd",
              "versionType": "git"
            },
            {
              "lessThan": "cff6cd703f41d8071995956142729e4bba160363",
              "status": "affected",
              "version": "462dbc9101acd38e92eda93c0726857517a24bbd",
              "versionType": "git"
            },
            {
              "lessThan": "f06f7635499bc806cbe2bbc8805c7cef8b1edddf",
              "status": "affected",
              "version": "462dbc9101acd38e92eda93c0726857517a24bbd",
              "versionType": "git"
            },
            {
              "lessThan": "0a234660dc70ce45d771cbc76b20d925b73ec160",
              "status": "affected",
              "version": "462dbc9101acd38e92eda93c0726857517a24bbd",
              "versionType": "git"
            },
            {
              "lessThan": "362e269bb03f7076ba9990e518aeddb898232e50",
              "status": "affected",
              "version": "462dbc9101acd38e92eda93c0726857517a24bbd",
              "versionType": "git"
            },
            {
              "lessThan": "e9d8f11652fa08c647bf7bba7dd8163241a332cd",
              "status": "affected",
              "version": "462dbc9101acd38e92eda93c0726857517a24bbd",
              "versionType": "git"
            },
            {
              "lessThan": "3879cffd9d07aa0377c4b8835c4f64b4fb24ac78",
              "status": "affected",
              "version": "462dbc9101acd38e92eda93c0726857517a24bbd",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/sched/sch_qfq.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.8"
            },
            {
              "lessThan": "3.8",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.249",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.199",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.162",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.122",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.67",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.7",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.19",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.249",
                  "versionStartIncluding": "3.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.199",
                  "versionStartIncluding": "3.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.162",
                  "versionStartIncluding": "3.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.122",
                  "versionStartIncluding": "3.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.67",
                  "versionStartIncluding": "3.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.7",
                  "versionStartIncluding": "3.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.19",
                  "versionStartIncluding": "3.8",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet/sched: sch_qfq: do not free existing class in qfq_change_class()\n\nFixes qfq_change_class() error case.\n\ncl-\u003eqdisc and cl should only be freed if a new class and qdisc\nwere allocated, or we risk various UAF."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The vulnerable `qfq_change_class()` path is reached through local rtnetlink/tc `RTM_NEWTCLASS` messages, ultimately sent via a netlink socket from userspace. It is not reachable directly from remote network packets.\nAC:L - The attacker controls the qdisc/class setup and can repeatedly attempt the class-change error path; there is no victim race or external timing requirement. Although the observed bad path depends on allocation failure, local memory pressure/failure conditions are attacker-influenceable, and uncertainty is scored upward.\nPR:L - Rtnetlink rejects non-GET tc operations without `CAP_NET_ADMIN` in the relevant network namespace. Because tc/qdisc operations are reachable inside user-created network namespaces on systems allowing unprivileged user namespaces, this is low privilege rather than real init-namespace root.\nUI:N - No victim action is required after the attacker has local execution and sends crafted netlink messages. The trigger is entirely attacker-driven.\nS:U - The impact is within the kernel/local host security authority. This is not a VM escape, IOMMU bypass, or cross-authority boundary violation.\nC:H - The bug frees an existing `struct qfq_class` while it remains reachable from the qdisc class hash and scheduler paths, creating a kernel heap use-after-free. Reclaiming the kmalloc-128 object can turn later class dumps/searches/pointer dereferences into strong information disclosure primitives.\nI:H - The stale class contains pointers such as `qdisc`, `agg`, list/hash nodes, and stats fields that are later read and modified by enqueue/dequeue, graft, dump, reset, and destroy paths. A controllable UAF in these scheduler structures is defensibly exploitable for kernel memory corruption or control-flow/data integrity compromise.\nA:H - The public syzbot report demonstrates a KASAN slab-use-after-free in `qfq_search_class`, and the stale object is also used by multiple qdisc paths. Even without full exploitation, this can cause kernel oops/panic or persistent scheduler corruption."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T12:20:03.450Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/2a64fb9b47afffeb5dbab5fd3a518e1436dcc90e"
        },
        {
          "url": "https://git.kernel.org/stable/c/cff6cd703f41d8071995956142729e4bba160363"
        },
        {
          "url": "https://git.kernel.org/stable/c/f06f7635499bc806cbe2bbc8805c7cef8b1edddf"
        },
        {
          "url": "https://git.kernel.org/stable/c/0a234660dc70ce45d771cbc76b20d925b73ec160"
        },
        {
          "url": "https://git.kernel.org/stable/c/362e269bb03f7076ba9990e518aeddb898232e50"
        },
        {
          "url": "https://git.kernel.org/stable/c/e9d8f11652fa08c647bf7bba7dd8163241a332cd"
        },
        {
          "url": "https://git.kernel.org/stable/c/3879cffd9d07aa0377c4b8835c4f64b4fb24ac78"
        }
      ],
      "title": "net/sched: sch_qfq: do not free existing class in qfq_change_class()",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-22999",
    "datePublished": "2026-01-25T14:36:13.909Z",
    "dateReserved": "2026-01-13T15:37:45.938Z",
    "dateUpdated": "2026-08-05T12:20:03.450Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-22999\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-06-16T20:35:55.025194Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-06-16T20:36:00.502Z\"}}], \"cna\": {\"title\": \"net/sched: sch_qfq: do not free existing class in qfq_change_class()\", \"metrics\": [{\"cvssV3_1\": {\"version\": \"3.1\", \"baseScore\": 7.8, \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"AV:L - The vulnerable `qfq_change_class()` path is reached through local rtnetlink/tc `RTM_NEWTCLASS` messages, ultimately sent via a netlink socket from userspace. It is not reachable directly from remote network packets.\\nAC:L - The attacker controls the qdisc/class setup and can repeatedly attempt the class-change error path; there is no victim race or external timing requirement. Although the observed bad path depends on allocation failure, local memory pressure/failure conditions are attacker-influenceable, and uncertainty is scored upward.\\nPR:L - Rtnetlink rejects non-GET tc operations without `CAP_NET_ADMIN` in the relevant network namespace. Because tc/qdisc operations are reachable inside user-created network namespaces on systems allowing unprivileged user namespaces, this is low privilege rather than real init-namespace root.\\nUI:N - No victim action is required after the attacker has local execution and sends crafted netlink messages. The trigger is entirely attacker-driven.\\nS:U - The impact is within the kernel/local host security authority. This is not a VM escape, IOMMU bypass, or cross-authority boundary violation.\\nC:H - The bug frees an existing `struct qfq_class` while it remains reachable from the qdisc class hash and scheduler paths, creating a kernel heap use-after-free. Reclaiming the kmalloc-128 object can turn later class dumps/searches/pointer dereferences into strong information disclosure primitives.\\nI:H - The stale class contains pointers such as `qdisc`, `agg`, list/hash nodes, and stats fields that are later read and modified by enqueue/dequeue, graft, dump, reset, and destroy paths. A controllable UAF in these scheduler structures is defensibly exploitable for kernel memory corruption or control-flow/data integrity compromise.\\nA:H - The public syzbot report demonstrates a KASAN slab-use-after-free in `qfq_search_class`, and the stale object is also used by multiple qdisc paths. Even without full exploitation, this can cause kernel oops/panic or persistent scheduler corruption.\"}]}], \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"462dbc9101acd38e92eda93c0726857517a24bbd\", \"lessThan\": \"2a64fb9b47afffeb5dbab5fd3a518e1436dcc90e\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"462dbc9101acd38e92eda93c0726857517a24bbd\", \"lessThan\": \"cff6cd703f41d8071995956142729e4bba160363\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"462dbc9101acd38e92eda93c0726857517a24bbd\", \"lessThan\": \"f06f7635499bc806cbe2bbc8805c7cef8b1edddf\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"462dbc9101acd38e92eda93c0726857517a24bbd\", \"lessThan\": \"0a234660dc70ce45d771cbc76b20d925b73ec160\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"462dbc9101acd38e92eda93c0726857517a24bbd\", \"lessThan\": \"362e269bb03f7076ba9990e518aeddb898232e50\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"462dbc9101acd38e92eda93c0726857517a24bbd\", \"lessThan\": \"e9d8f11652fa08c647bf7bba7dd8163241a332cd\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"462dbc9101acd38e92eda93c0726857517a24bbd\", \"lessThan\": \"3879cffd9d07aa0377c4b8835c4f64b4fb24ac78\", \"versionType\": \"git\"}], \"programFiles\": [\"net/sched/sch_qfq.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"3.8\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"3.8\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"5.10.249\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.15.199\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"6.1.162\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.1.*\"}, {\"status\": \"unaffected\", \"version\": \"6.6.122\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.6.*\"}, {\"status\": \"unaffected\", \"version\": \"6.12.67\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.12.*\"}, {\"status\": \"unaffected\", \"version\": \"6.18.7\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.18.*\"}, {\"status\": \"unaffected\", \"version\": \"6.19\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"net/sched/sch_qfq.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/2a64fb9b47afffeb5dbab5fd3a518e1436dcc90e\"}, {\"url\": \"https://git.kernel.org/stable/c/cff6cd703f41d8071995956142729e4bba160363\"}, {\"url\": \"https://git.kernel.org/stable/c/f06f7635499bc806cbe2bbc8805c7cef8b1edddf\"}, {\"url\": \"https://git.kernel.org/stable/c/0a234660dc70ce45d771cbc76b20d925b73ec160\"}, {\"url\": \"https://git.kernel.org/stable/c/362e269bb03f7076ba9990e518aeddb898232e50\"}, {\"url\": \"https://git.kernel.org/stable/c/e9d8f11652fa08c647bf7bba7dd8163241a332cd\"}, {\"url\": \"https://git.kernel.org/stable/c/3879cffd9d07aa0377c4b8835c4f64b4fb24ac78\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nnet/sched: sch_qfq: do not free existing class in qfq_change_class()\\n\\nFixes qfq_change_class() error case.\\n\\ncl-\u003eqdisc and cl should only be freed if a new class and qdisc\\nwere allocated, or we risk various UAF.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.10.249\", \"versionStartIncluding\": \"3.8\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.15.199\", \"versionStartIncluding\": \"3.8\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.1.162\", \"versionStartIncluding\": \"3.8\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.6.122\", \"versionStartIncluding\": \"3.8\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.12.67\", \"versionStartIncluding\": \"3.8\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.18.7\", \"versionStartIncluding\": \"3.8\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.19\", \"versionStartIncluding\": \"3.8\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-08-05T12:20:03.450Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2026-22999\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-08-05T12:20:03.450Z\", \"dateReserved\": \"2026-01-13T15:37:45.938Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2026-01-25T14:36:13.909Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…