{"id":"CVE-2026-31680","published":"2026-04-25T08:46:56Z","modified":"2026-11-10T12:45:28Z","title":"net: ipv6: flowlabel: defer exclusive option free until RCU teardown","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: ipv6: flowlabel: defer exclusive option free until RCU teardown\n\n`ip6fl_seq_show()` walks the global flowlabel hash under the seq-file\nRCU read-side lock and prints `fl->opt->opt_nflen` when an option block\nis present.\n\nExclusive flowlabels currently free `fl->opt` as soon as `fl->users`\ndrops to zero in `fl_release()`. However, the surrounding\n`struct ip6_flowlabel` remains visible in the global hash table until\nlater garbage collection removes it and `fl_free_rcu()` finally tears it\ndown.\n\nA concurrent `/proc/net/ip6_flowlabel` reader can therefore race that\nearly `kfree()` and dereference freed option state, triggering a crash\nin `ip6fl_seq_show()`.\n\nFix this by keeping `fl->opt` alive until `fl_free_rcu()`. That matches\nthe lifetime already required for the enclosing flowlabel while readers\ncan still reach it under RCU.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00191,"percentile":0.05056,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://git.kernel.org/stable/c/4b6798024f7b2d535f3db1002c760143cdbd1bd3","tags":[]},{"url":"https://git.kernel.org/stable/c/3c54b66c83fb8fcbde8e6a7bf90b65856e39f827","tags":[]},{"url":"https://git.kernel.org/stable/c/5a6b15f861b7c1304949e3350d23490a5fe429fd","tags":[]},{"url":"https://git.kernel.org/stable/c/6c7fbdb8ffde6413640de7cfbd7c976c353e89f8","tags":[]},{"url":"https://git.kernel.org/stable/c/8027964931785cb73d520ac70a342a3dc16c249b","tags":[]},{"url":"https://git.kernel.org/stable/c/414726b69921fe6355ae453f5b35e68dd078342a","tags":[]},{"url":"https://git.kernel.org/stable/c/572ce62778519a7d4d1c15f55dd2e45a474133c4","tags":[]},{"url":"https://git.kernel.org/stable/c/9ca562bb8e66978b53028fa32b1a190708e6a091","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-082556.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":[]}],"priority":{"score":6.5,"factors":[{"name":"EPSS percentile","points":1.01},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= d3aedd5ebd4b0b925b0bcda548066803e1318499, < 4b6798024f7b2d535f3db1002c760143cdbd1bd3",">= d3aedd5ebd4b0b925b0bcda548066803e1318499, < 3c54b66c83fb8fcbde8e6a7bf90b65856e39f827",">= d3aedd5ebd4b0b925b0bcda548066803e1318499, < 5a6b15f861b7c1304949e3350d23490a5fe429fd",">= d3aedd5ebd4b0b925b0bcda548066803e1318499, < 6c7fbdb8ffde6413640de7cfbd7c976c353e89f8",">= d3aedd5ebd4b0b925b0bcda548066803e1318499, < 8027964931785cb73d520ac70a342a3dc16c249b",">= d3aedd5ebd4b0b925b0bcda548066803e1318499, < 414726b69921fe6355ae453f5b35e68dd078342a",">= d3aedd5ebd4b0b925b0bcda548066803e1318499, < 572ce62778519a7d4d1c15f55dd2e45a474133c4",">= d3aedd5ebd4b0b925b0bcda548066803e1318499, < 9ca562bb8e66978b53028fa32b1a190708e6a091"]},{"vendor":"Linux","product":"Linux","versions":["3.9"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-16T15:12:23.036935Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-25647","exploited":false,"provenance":"source"}}