# CVE-2026-22999: net/sched: sch_qfq: do not free existing class in qfq_change_class()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2026-01-25T14:36:13.909Z
- Modified: 2026-10-19T19:17:31.557Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 462dbc9101acd38e92eda93c0726857517a24bbd before 2a64fb9b47afffeb5dbab5fd3a518e1436dcc90e; from 462dbc9101acd38e92eda93c0726857517a24bbd before cff6cd703f41d8071995956142729e4bba160363; from 462dbc9101acd38e92eda93c0726857517a24bbd before f06f7635499bc806cbe2bbc8805c7cef8b1edddf; from 462dbc9101acd38e92eda93c0726857517a24bbd before 0a234660dc70ce45d771cbc76b20d925b73ec160; from 462dbc9101acd38e92eda93c0726857517a24bbd before 362e269bb03f7076ba9990e518aeddb898232e50; from 462dbc9101acd38e92eda93c0726857517a24bbd before e9d8f11652fa08c647bf7bba7dd8163241a332cd; from 462dbc9101acd38e92eda93c0726857517a24bbd before 3879cffd9d07aa0377c4b8835c4f64b4fb24ac78; 3.8 (not affected: before 3.8; from 5.10.249 up to 5.10.*; from 5.15.199 up to 5.15.*; from 6.1.162 up to 6.1.*; from 6.6.122 up to 6.6.*; from 6.12.67 up to 6.12.*; from 6.18.7 up to 6.18.*; from 6.19 up to *)
- linux linux_kernel: from 3.8 before 5.10.249; from 5.11 before 5.15.199; from 5.16 before 6.1.162; from 6.2 before 6.6.122; from 6.7 before 6.12.67; from 6.13 before 6.18.7; 6.19

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/2a64fb9b47afffeb5dbab5fd3a518e1436dcc90e> (patch)
- <https://git.kernel.org/stable/c/cff6cd703f41d8071995956142729e4bba160363> (patch)
- <https://git.kernel.org/stable/c/f06f7635499bc806cbe2bbc8805c7cef8b1edddf> (patch)
- <https://git.kernel.org/stable/c/0a234660dc70ce45d771cbc76b20d925b73ec160> (patch)
- <https://git.kernel.org/stable/c/362e269bb03f7076ba9990e518aeddb898232e50> (patch)
- <https://git.kernel.org/stable/c/e9d8f11652fa08c647bf7bba7dd8163241a332cd> (patch)
- <https://git.kernel.org/stable/c/3879cffd9d07aa0377c4b8835c4f64b4fb24ac78> (patch)

## Sources

- CVE List: [CVE-2026-22999](https://www.cve.org/CVERecord?id=CVE-2026-22999), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-22999](https://nvd.nist.gov/vuln/detail/CVE-2026-22999), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-22999 · Whole record: https://cve.day/CVE-2026-22999.json · Rebuilt by cve.day 2026-11-25T22:59:13.169Z
