# CVE-2026-31680: net: ipv6: flowlabel: defer exclusive option free until RCU teardown

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-04-25 · Modified: 2026-11-10
- Aliases: UBUNTU-CVE-2026-31680, DEBIAN-CVE-2026-31680
- Record: https://cvemate.com/vulnerability/CVE-2026-31680 · JSON: https://cvemate.com/vulnerability/CVE-2026-31680/json

## Description

```text
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.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.17%, percentile 6.642%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 161)

- debian linux (Debian): \< 6.1.170-1 \| \< 6.12.85-1 \| \< 6.19.12-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-186.196 \| \< 6.8.0-136.136
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1112.119 \| \< 6.8.0-1061.64
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1112.119~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1061.64~22.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1112.119+fips1 \| \< 6.8.0-1061.64+fips1
- ubuntu linux-aws-hwe (Ubuntu): All versions (No fix recorded)
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1117.126 \| \< 6.8.0-1063.71

## References (first 20 of 43)

- <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>
- <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- <https://ubuntu.com/security/CVE-2026-31680>
- <https://www.cve.org/CVERecord?id=CVE-2026-31680>
- <https://git.kernel.org/linus/9ca562bb8e66978b53028fa32b1a190708e6a091>
- <https://ubuntu.com/security/notices/USN-8567-1>
- <https://ubuntu.com/security/notices/USN-8574-1>
- <https://ubuntu.com/security/notices/USN-8575-1>
- <https://ubuntu.com/security/notices/USN-8576-1>
- <https://ubuntu.com/security/notices/USN-8574-2>
- <https://ubuntu.com/security/notices/USN-8595-1>
- <https://ubuntu.com/security/notices/USN-8596-1>

---

Data as of 2026-12-05T03:09:57.049Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
