CVE-2026-31680
net: ipv6: flowlabel: defer exclusive option free until RCU teardown
Mitigation
- Upgrade Linux to 9ca562bb8e66978b53028fa32b1a190708e6a091 or later.
Who should check
- Anyone running Linux >= d3aedd5ebd4b0b925b0bcda548066803e1318499, < 4b6798024f7b2d535f3db1002c760143cdbd1bd3; >= d3aedd5ebd4b0b925b0bcda548066803e1318499, < 3c54b66c83fb8fcbde8e6a7bf90b65856e39f827; >= d3aedd5ebd4b0b925b0bcda548066803e1318499, < 5a6b15f861b7c1304949e3350d23490a5fe429fd; >= d3aedd5ebd4b0b925b0bcda548066803e1318499, < 6c7fbdb8ffde6413640de7cfbd7c976c353e89f8; >= d3aedd5ebd4b0b925b0bcda548066803e1318499, < 8027964931785cb73d520ac70a342a3dc16c249b; >= d3aedd5ebd4b0b925b0bcda548066803e1318499, < 414726b69921fe6355ae453f5b35e68dd078342a; >= d3aedd5ebd4b0b925b0bcda548066803e1318499, < 572ce62778519a7d4d1c15f55dd2e45a474133c4; >= d3aedd5ebd4b0b925b0bcda548066803e1318499, < 9ca562bb8e66978b53028fa32b1a190708e6a091
- Anyone running Linux 3.9
Vulnerability facts
- Affected
- Linux >= d3aedd5ebd4b0b925b0bcda548066803e1318499, < 4b6798024f7b2d535f3db1002c760143cdbd1bd3; >= d3aedd5ebd4b0b925b0bcda548066803e1318499, < 3c54b66c83fb8fcbde8e6a7bf90b65856e39f827; >= d3aedd5ebd4b0b925b0bcda548066803e1318499, < 5a6b15f861b7c1304949e3350d23490a5fe429fd; >= d3aedd5ebd4b0b925b0bcda548066803e1318499, < 6c7fbdb8ffde6413640de7cfbd7c976c353e89f8; >= d3aedd5ebd4b0b925b0bcda548066803e1318499, < 8027964931785cb73d520ac70a342a3dc16c249b; >= d3aedd5ebd4b0b925b0bcda548066803e1318499, < 414726b69921fe6355ae453f5b35e68dd078342a; >= d3aedd5ebd4b0b925b0bcda548066803e1318499, < 572ce62778519a7d4d1c15f55dd2e45a474133c4; >= d3aedd5ebd4b0b925b0bcda548066803e1318499, < 9ca562bb8e66978b53028fa32b1a190708e6a091; Linux 3.9
- Fixed in
- Linux 4b6798024f7b2d535f3db1002c760143cdbd1bd3, Linux 3c54b66c83fb8fcbde8e6a7bf90b65856e39f827, Linux 5a6b15f861b7c1304949e3350d23490a5fe429fd, Linux 6c7fbdb8ffde6413640de7cfbd7c976c353e89f8, Linux 8027964931785cb73d520ac70a342a3dc16c249b, Linux 414726b69921fe6355ae453f5b35e68dd078342a, Linux 572ce62778519a7d4d1c15f55dd2e45a474133c4, Linux 9ca562bb8e66978b53028fa32b1a190708e6a091
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.19% chance of exploitation in 30 days (percentile 5, 2026-11-26)
- CWE
- CWE-416
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= d3aedd5ebd4b0b925b0bcda548066803e1318499, < 4b6798024f7b2d535f3db1002c760143cdbd1bd3; >= d3aedd5ebd4b0b925b0bcda548066803e1318499, < 3c54b66c83fb8fcbde8e6a7bf90b65856e39f827; >= d3aedd5ebd4b0b925b0bcda548066803e1318499, < 5a6b15f861b7c1304949e3350d23490a5fe429fd; >= d3aedd5ebd4b0b925b0bcda548066803e1318499, < 6c7fbdb8ffde6413640de7cfbd7c976c353e89f8; >= d3aedd5ebd4b0b925b0bcda548066803e1318499, < 8027964931785cb73d520ac70a342a3dc16c249b; >= d3aedd5ebd4b0b925b0bcda548066803e1318499, < 414726b69921fe6355ae453f5b35e68dd078342a; >= d3aedd5ebd4b0b925b0bcda548066803e1318499, < 572ce62778519a7d4d1c15f55dd2e45a474133c4; >= d3aedd5ebd4b0b925b0bcda548066803e1318499, < 9ca562bb8e66978b53028fa32b1a190708e6a091 | — | cvelist |
| Linux | 3.9 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-31680. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-31680.md Affected: Linux >= d3aedd5ebd4b0b925b0bcda548066803e1318499, < 4b6798024f7b2d535f3db1002c760143cdbd1bd3; >= d3aedd5ebd4b0b925b0bcda548066803e1318499, < 3c54b66c83fb8fcbde8e6a7bf90b65856e39f827; >= d3aedd5ebd4b0b925b0bcda548066803e1318499, < 5a6b15f861b7c1304949e3350d23490a5fe429fd; >= d3aedd5ebd4b0b925b0bcda… Fixed in: Linux 4b6798024f7b2d535f3db1002c760143cdbd1bd3, Linux 3c54b66c83fb8fcbde8e6a7bf90b65856e39f827, Linux 5a6b15f861b7c1304949e3350d23490a5fe429fd, Linux 6c7fbdb8ffde6413640de7cfbd7c976c353e89f8, Linux 8027964931785cb73d520ac70a342a3dc16c249b, Linux 414726b69921fe6355ae453f5b35e68dd078342a, Linux 572ce… Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/4b6798024f7b2d535f3db1002c760143cdbd1bd3
- https://git.kernel.org/stable/c/3c54b66c83fb8fcbde8e6a7bf90b65856e39f827
- https://git.kernel.org/stable/c/5a6b15f861b7c1304949e3350d23490a5fe429fd
- https://git.kernel.org/stable/c/6c7fbdb8ffde6413640de7cfbd7c976c353e89f8
- https://git.kernel.org/stable/c/8027964931785cb73d520ac70a342a3dc16c249b
- https://git.kernel.org/stable/c/414726b69921fe6355ae453f5b35e68dd078342a
- https://git.kernel.org/stable/c/572ce62778519a7d4d1c15f55dd2e45a474133c4
- https://git.kernel.org/stable/c/9ca562bb8e66978b53028fa32b1a190708e6a091
FAQ
Is CVE-2026-31680 being exploited?
There is no confirmed exploitation: CVE-2026-31680 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.19% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-31680?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-31680?
Linux >= d3aedd5ebd4b0b925b0bcda548066803e1318499, < 4b6798024f7b2d535f3db1002c760143cdbd1bd3; >= d3aedd5ebd4b0b925b0bcda548066803e1318499, < 3c54b66c83fb8fcbde8e6a7bf90b65856e39f827; >= d3aedd5ebd4b0b925b0bcda548066803e1318499, < 5a6b15f861b7c1304949e3350d23490a5fe429fd; >= d3aedd5ebd4b0b925b0bcda548066803e1318499, < 6c7fbdb8ffde6413640de7cfbd7c976c353e89f8; >= d3aedd5ebd4b0b925b0bcda548066803e1318499, < 8027964931785cb73d520ac70a342a3dc16c249b; >= d3aedd5ebd4b0b925b0bcda548066803e1318499, < 414726b69921fe6355ae453f5b35e68dd078342a; >= d3aedd5ebd4b0b925b0bcda548066803e1318499, < 572ce62778519a7d4d1c15f55dd2e45a474133c4; >= d3aedd5ebd4b0b925b0bcda548066803e1318499, < 9ca562bb8e66978b53028fa32b1a190708e6a091; Linux 3.9.
Is there a fix for CVE-2026-31680?
Yes. Fixed in Linux 4b6798024f7b2d535f3db1002c760143cdbd1bd3, Linux 3c54b66c83fb8fcbde8e6a7bf90b65856e39f827, Linux 5a6b15f861b7c1304949e3350d23490a5fe429fd, Linux 6c7fbdb8ffde6413640de7cfbd7c976c353e89f8, Linux 8027964931785cb73d520ac70a342a3dc16c249b, Linux 414726b69921fe6355ae453f5b35e68dd078342a, Linux 572ce62778519a7d4d1c15f55dd2e45a474133c4, Linux 9ca562bb8e66978b53028fa32b1a190708e6a091. Upgrade Linux to 9ca562bb8e66978b53028fa32b1a190708e6a091 or later.
How do I check if I'm affected by CVE-2026-31680?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.