CVE-2026-31680·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: net: ipv6: flowlabel: defer exclusive option free until RCU teardown `ip6fl_seq_show()` walks the global flowlabel hash under the seq-file RCU read-side lock and prints `fl->opt->opt_nflen` when an option block is present. Exclusive flowlabels currently free `fl->opt` as soon as `fl->users` drops to zero in `fl_release()`. However, the surrounding `struct ip6_flowlabel` remains visible in the global hash table until later garbage collection removes it and `fl_free_rcu()` finally tears it down. A concurrent `/proc/net/ip6_flowlabel` reader can therefore race that early `kfree()` and dereference freed option state, triggering a crash in `ip6fl_seq_show()`. Fix this by keeping `fl->opt` alive until `fl_free_rcu()`. That matches the lifetime already required for the enclosing flowlabel while readers can still reach it under RCU.
- Severity
- high
- 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.18% — higher than 7% 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.
Read the two together. CVE-2026-31680 scores 7.8 on CVSS, so a successful attack would be serious — but at 0.18%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
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 resolve a use-after-free vulnerability in the IPv6 flowlabel subsystem. This flaw allows local attackers to trigger a kernel crash by racing a flowlabel option block deallocation with concurrent reads of the /proc/net/ip6_flowlabel interface. Apply the kernel security update through your distribution's package manager immediately.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Step 1: Check your current kernel version with: uname -r — you are vulnerable if the output shows 6.19.0 through 6.19.11
- Step 2: Verify IPv6 flowlabel is in use by checking if /proc/net/ip6_flowlabel exists and contains entries: cat /proc/net/ip6_flowlabel | head
- Step 3: Search kernel logs for use-after-free or BUG warnings related to IPv6: sudo dmesg | grep -i 'use.after.free\|BUG.*ip6'
- Step 4: After patching, verify the new kernel is loaded with: uname -r — confirm it shows 6.19.12 or later
FAQ
What is CVE-2026-31680?
This is a use-after-free vulnerability in the Linux kernel's IPv6 flowlabel implementation where the flowlabel option block can be freed prematurely while still being accessed by concurrent readers of /proc/net/ip6_flowlabel, potentially causing a kernel crash.
Is CVE-2026-31680 being actively exploited?
No. There is no evidence of active exploitation, and no public exploits are currently available. However, it requires only local access to trigger, making it a concern for multi-tenant or shared systems.
What versions of Kernel are affected by CVE-2026-31680?
Kernel versions 6.19.0 through 6.19.11 are vulnerable. Version 6.19.12 and later contain the fix.
How do I check if my server is vulnerable to CVE-2026-31680?
Run uname -r and check if the output is between 6.19.0 and 6.19.11. If so, you are vulnerable and must update.
Does Defensia detect CVE-2026-31680?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Kernel is installed on a monitored server, CVE-2026-31680 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/3c54b66c83fb8fcbde8e6a7bf90b65856e39f827
- https://git.kernel.org/stable/c/414726b69921fe6355ae453f5b35e68dd078342a
- https://git.kernel.org/stable/c/4b6798024f7b2d535f3db1002c760143cdbd1bd3
- https://git.kernel.org/stable/c/572ce62778519a7d4d1c15f55dd2e45a474133c4
- https://git.kernel.org/stable/c/5a6b15f861b7c1304949e3350d23490a5fe429fd
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-31680. Free for 1 server.
Get started free