CVE-2026-31422·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: net/sched: cls_flow: fix NULL pointer dereference on shared blocks flow_change() calls tcf_block_q() and dereferences q->handle to derive a default baseclass. Shared blocks leave block->q NULL, causing a NULL deref when a flow filter without a fully qualified baseclass is created on a shared block. Check tcf_block_shared() before accessing block->q and return -EINVAL for shared blocks. This avoids the null-deref shown below: ======================================================================= KASAN: null-ptr-deref in range [0x0000000000000038-0x000000000000003f] RIP: 0010:flow_change (net/sched/cls_flow.c:508) Call Trace: tc_new_tfilter (net/sched/cls_api.c:2432) rtnetlink_rcv_msg (net/core/rtnetlink.c:6980) [...] =======================================================================
- Severity
- medium
- Software
- Kernel
- Fixed in
- 6.19.12
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.12% — higher than 2% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Affected versions
From: 6.19
Until: 6.19.12
Fixed in: 6.19.12
How to fix this CVE
Update your Linux kernel to version 6.19.12 or later to patch a NULL pointer dereference in the traffic control flow classifier. This vulnerability occurs when creating flow filters on shared network scheduling blocks without a fully qualified baseclass, causing kernel crashes. Immediate patching is recommended for systems running kernel versions 6.19 through 6.19.11.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check your kernel version with: uname -r — ensure it is NOT between 6.19.0 and 6.19.11
- Verify if traffic control (tc) with flow classifiers is in use by running: tc filter show — if output is empty, this component is not actively configured
- Search system logs for flow_change() NULL pointer dereference errors: grep -i 'flow_change\|NULL.*ptr\|BUG.*sched' /var/log/kern.log or journalctl -k | grep -i 'flow_change'
- After patching, confirm the new kernel version with: uname -r and verify it is 6.19.12 or later
FAQ
What is CVE-2026-31422?
This is a NULL pointer dereference vulnerability in the Linux kernel's network traffic control (tc) subsystem, specifically in the flow classifier module. When traffic control rules are applied to shared network scheduling blocks without a fully qualified base class, the kernel attempts to dereference a NULL pointer, triggering a crash.
Is CVE-2026-31422 being actively exploited?
No, this vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits are currently available. However, it can be triggered locally by privileged users with access to configure network traffic control rules.
What versions of Kernel are affected by CVE-2026-31422?
Linux kernel versions 6.19 through 6.19.11 are vulnerable. Version 6.19.12 and all later releases contain the fix.
How do I check if my server is vulnerable to CVE-2026-31422?
Run 'uname -r' to check your kernel version. If the output shows 6.19.0 through 6.19.11, your system is vulnerable. Additionally, verify if tc flow classifiers are in use with 'tc filter show' — if no output appears, this specific code path is not active on your system.
Does Defensia detect CVE-2026-31422?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel is installed on a monitored server, CVE-2026-31422 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/1a280dd4bd1d616a01d6ffe0de284c907b555504
- https://git.kernel.org/stable/c/415ea0c973c754b9f375225807810eb9045f4293
- https://git.kernel.org/stable/c/4a09f72007201c9f667dc47f64517ec23eea65e5
- https://git.kernel.org/stable/c/57f94ac7e953eece5ed4819605a18f3cdfc63dcc
- https://git.kernel.org/stable/c/942813276edeb1741fa5b0a73471beb4e495fa08
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-31422. Free for 1 server.
Get started free