CVE-2023-31436: Out-of-bounds write in Linux kernel QFQ qfq_change_class
- Vendor
- Linux
CVE-2023-31436 is an out-of-bounds write vulnerability in the Linux kernel Quick Fair Queueing (QFQ) traffic-control scheduler before upstream version 6.2.13. The qfq_change_class function inadequately validates the lmax value derived from a network device's MTU, allowing an incorrect value to trigger an out-of-bounds kernel-memory write. A local attacker can exploit the flaw to crash the system or potentially escalate privileges. Distribution kernels with backported fixes are not necessarily vulnerable despite having lower version numbers.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Kernel-memory corruption can cause a system crash and denial of service. Successful exploitation may also allow privilege escalation or unauthorized code execution, potentially compromising system confidentiality and integrity. Privilege escalation is a potential outcome, not a guaranteed consequence of triggering the flaw.
Mitigation
If you can’t patch tonight, do this now.
Prevent the sch_qfq kernel module from loading, as recommended by Red Hat, where QFQ scheduling is not required. Ensure the vulnerable module is not already active; blocking future module loads alone does not protect a kernel in which it remains loaded.
Remediation
Patch, then assume compromise.
Install a supported kernel containing the upstream fix introduced in Linux 6.2.13 or a vendor-backported equivalent. Reboot after a conventional kernel update to activate the fix. On supported Red Hat deployments, an applicable updated kpatch-patch package can patch the running kernel. Determine patch status using the distribution's security advisories and package releases rather than the upstream version number alone.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2023-31436 exploited in the wild?
- As of Oct 25, 2026, Mallory has no reports of CVE-2023-31436 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2023-31436?
- As of Oct 25, 2026, Mallory has found no public exploit for CVE-2023-31436.
- Is there a patch for CVE-2023-31436?
- Install a supported kernel containing the upstream fix introduced in Linux 6.2.13 or a vendor-backported equivalent. Reboot after a conventional kernel update to activate the fix.
- What products are affected by CVE-2023-31436?
- Linux Kernel.
- How severe is CVE-2023-31436?
- CVE-2023-31436 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 0.45% (31st percentile) as of Oct 25, 2026.
Recent activity
27 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.