Skip to main content
Mallory
HighVulnerability

CVE-2023-31436: Out-of-bounds write in Linux kernel QFQ qfq_change_class

Published Apr 28, 2023 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.8High · v3.1
EPSS0.45%31st percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendor
Linux
IdentifiersCVE-2023-31436CWE-787 · Out-of-bounds Write

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.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

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.

VendorProductType
LinuxLinux Kerneloperating_system
FAQ

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.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.