
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2023-31436 affects the Linux kernel before version 6.2.13, specifically in the qfqchangeclass function within net/sched/schqfq.c. The vulnerability allows an out-of-bounds write because lmax can exceed QFQMIN_LMAX. This issue was discovered by Gwangun Jung and was disclosed in April 2023 (NVD, GitHub).
The vulnerability occurs in the Quick Fair Queueing (QFQ) scheduler implementation of the Linux kernel's traffic control subsystem. When the TCAQFQLMAX value is not provided through nlattr, the lmax value is determined by the MTU value of the network device. Since the MTU of the loopback device can be set up to 2^31-1, it's possible for lmax to exceed QFQMINLMAX. This invalid lmax value leads to an index being generated that exceeds the QFQMAXINDEX(=24) value, resulting in out-of-bounds read/write errors. The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (HIGH) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).
Successful exploitation of this vulnerability can lead to information leaks, denial of service (DoS), or potential privilege escalation. The out-of-bounds write capability could allow attackers to corrupt kernel memory, potentially leading to system crashes or arbitrary code execution (NetApp Advisory, Debian Security).
The vulnerability has been fixed in Linux kernel version 6.2.13 and backported to various stable kernel versions. The fix involves adding proper validation of the lmax value before it's used in calculations. Users are recommended to upgrade to patched kernel versions. Various Linux distributions have released security updates to address this vulnerability (Debian Security, NetApp Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."