# CVE-2026-31508: net: openvswitch: Avoid releasing netdev before teardown completes

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.15% (percentile 2, 2026-11-26)
- **CWE:** CWE-362
- **Published:** 2026-04-22T13:54:26.599Z
- **Modified:** 2026-11-11T23:10:00.263Z

## Who should check

- Anyone running Linux \>= b823c3344d5446b720227ba561df10a4f0add515, \< df3c95be76103604e752131d9495a24814915ece; \>= 052e5db5be4576e0a8ef1460b210da5f328f4cd1, \< 33609454be4f582e686a4bf13d4482a5ca0f6c4b; \>= c98263d5ace597c096a7a60aeef790da7b54979e, \< 5fdeaf591a0942772c2d18ff3563697a49ad01c6; \>= 0fc642f011cb7a7eff41109e66d3b552e9f4d795, \< 4c3e25a7b711a402fcbbbcfbbdf2868ece1ae7c8; \>= 5116f61ab11846844585c9082c547c4ccd97ff1a, \< 43579baa17270aa51f93eb09b6e4af6e047b7f6e; \>= f31557fb1b35332cca9994aa196cef284bcf3807, \< 95265232b49765a4d00f4d028c100bb7185600f4; \>= 5498227676303e3ffa9a3a46214af96bc3e81314, \< 755a6300afbd743cda4b102f24f343380ec0e0ff; \>= 5498227676303e3ffa9a3a46214af96bc3e81314, \< 7c770dadfda5cbbde6aa3c4363ed513f1d212bf8; \>= 5.10.248, \< 5.10.253; \>= 5.15.198, \< 5.15.203; …
- Anyone running Linux 6.19

## Description

In the Linux kernel, the following vulnerability has been resolved:

net: openvswitch: Avoid releasing netdev before teardown completes

The patch cited in the Fixes tag below changed the teardown code for
OVS ports to no longer unconditionally take the RTNL. After this change,
the netdev\_destroy() callback can proceed immediately to the call\_rcu()
invocation if the IFF\_OVS\_DATAPATH flag is already cleared on the
netdev.

The ovs\_netdev\_detach\_dev() function clears the flag before completing
the unregistration, and if it gets preempted after clearing the flag (as
can happen on an -rt kernel), netdev\_destroy() can complete and the
device can be freed before the unregistration completes. This leads to a
splat like:

\[  998.393867\] Oops: general protection fault, probably for non-canonical address 0xff00000001000239: 0000 \[\#1\] SMP PTI
\[  998.393877\] CPU: 42 UID: 0 PID: 55177 Comm: ip Kdump: loaded Not tainted 6.12.0-211.1.1.el10\_2.x86\_64+rt \#1 PREEMPT\_RT
\[  998.393886\] Hardware name: Dell Inc. PowerEdge R740/0JMK61, BIOS 2.24.0 03/27/2025
\[  998.393889\] RIP: 0010:dev\_set\_promiscuity+0x8d/0xa0
\[  998.393901\] Code: 00 00 75 d8 48 8b 53 08 48 83 ba b0 02 00 00 00 75 ca 48 83 c4 08 5b c3 cc cc cc cc 48 83 bf 48 09 00 00 00 75 91 48 8b 47 08 \<48\> 83 b8 b0 02 00 00 00 74 97 eb 81 0f 1f 80 00 00 00 00 90 90 90
\[  998.393906\] RSP: 0018:ffffce5864a5f6a0 EFLAGS: 00010246
\[  998.393912\] RAX: ff00000000ffff89 RBX: ffff894d0adf5a05 RCX: 0000000000000000
\[  998.393917\] RDX: 0000000000000000 RSI: 00000000ffffffff RDI: ffff894d0adf5a05
\[  998.393921\] RBP: ffff894d19252000 R08: ffff894d19252000 R09: 0000000000000000
\[  998.393924\] R10: ffff894d19252000 R11: ffff894d192521b8 R12: 0000000000000006
\[  998.393927\] R13: ffffce5864a5f738 R14: 00000000ffffffe2 R15: 0000000000000000
\[  998.393931\] FS:  00007fad61971800(0000) GS:ffff894cc0140000(0000) knlGS:0000000000000000
\[  998.393936\] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
\[  998.393940\] CR2: 000055df0a2a6e40 CR3: 000000011c7fe003 CR4: 00000000007726f0
\[  998.393944\] PKRU: 55555554
\[  998.393946\] Call Trace:
\[  998.393949\]  \<TASK\>
\[  998.393952\]  ? show\_trace\_log\_lvl+0x1b0/0x2f0
\[  998.393961\]  ? show\_trace\_log\_lvl+0x1b0/0x2f0
\[  998.393975\]  ? dp\_device\_event+0x41/0x80 \[openvswitch\]
\[  998.394009\]  ? \_\_die\_body.cold+0x8/0x12
\[  998.394016\]  ? die\_addr+0x3c/0x60
\[  998.394027\]  ? exc\_general\_protection+0x16d/0x390
\[  998.394042\]  ? asm\_exc\_general\_protection+0x26/0x30
\[  998.394058\]  ? dev\_set\_promiscuity+0x8d/0xa0
\[  998.394066\]  ? ovs\_netdev\_detach\_dev+0x3a/0x80 \[openvswitch\]
\[  998.394092\]  dp\_device\_event+0x41/0x80 \[openvswitch\]
\[  998.394102\]  notifier\_call\_chain+0x5a/0xd0
\[  998.394106\]  unregister\_netdevice\_many\_notify+0x51b/0xa60
\[  998.394110\]  rtnl\_dellink+0x169/0x3e0
\[  998.394121\]  ? rt\_mutex\_slowlock.constprop.0+0x95/0xd0
\[  998.394125\]  rtnetlink\_rcv\_msg+0x142/0x3f0
\[  998.394128\]  ? avc\_has\_perm\_noaudit+0x69/0xf0
\[  998.394130\]  ? \_\_pfx\_rtnetlink\_rcv\_msg+0x10/0x10
\[  998.394132\]  netlink\_rcv\_skb+0x50/0x100
\[  998.394138\]  netlink\_unicast+0x292/0x3f0
\[  998.394141\]  netlink\_sendmsg+0x21b/0x470
\[  998.394145\]  \_\_\_\_sys\_sendmsg+0x39d/0x3d0
\[  998.394149\]  \_\_\_sys\_sendmsg+0x9a/0xe0
\[  998.394156\]  \_\_sys\_sendmsg+0x7a/0xd0
\[  998.394160\]  do\_syscall\_64+0x7f/0x170
\[  998.394162\]  entry\_SYSCALL\_64\_after\_hwframe+0x76/0x7e
\[  998.394165\] RIP: 0033:0x7fad61bf4724
\[  998.394188\] Code: 89 02 b8 ff ff ff ff eb bb 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 f3 0f 1e fa 80 3d c5 e9 0c 00 00 74 13 b8 2e 00 00 00 0f 05 \<48\> 3d 00 f0 ff ff 77 54 c3 0f 1f 00 48 83 ec 28 89 54 24 1c 48 89
\[  998.394189\] RSP: 002b:00007ffd7e2f7cb8 EFLAGS: 00000202 ORIG\_RAX: 000000000000002e
\[  998.394191\] RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007fad61bf4724
\[  998.394193\] RDX: 0000000000000000 RSI: 00007ffd7e2f7d20 RDI: 0000000000000003
\[  998.394194\] RBP: 00007ffd7e2f7d90 R08: 0000000000000010 R09: 000000000000003f
\[  998.394195\] R10: 000055df11558010 R11: 0000000000000202 R12: 00007ffd7e2
---truncated---

## Affected and fixed versions

- Linux: \>= b823c3344d5446b720227ba561df10a4f0add515, \< df3c95be76103604e752131d9495a24814915ece; \>= 052e5db5be4576e0a8ef1460b210da5f328f4cd1, \< 33609454be4f582e686a4bf13d4482a5ca0f6c4b; \>= c98263d5ace597c096a7a60aeef790da7b54979e, \< 5fdeaf591a0942772c2d18ff3563697a49ad01c6; \>= 0fc642f011cb7a7eff41109e66d3b552e9f4d795, \< 4c3e25a7b711a402fcbbbcfbbdf2868ece1ae7c8; \>= 5116f61ab11846844585c9082c547c4ccd97ff1a, \< 43579baa17270aa51f93eb09b6e4af6e047b7f6e; \>= f31557fb1b35332cca9994aa196cef284bcf3807, \< 95265232b49765a4d00f4d028c100bb7185600f4; \>= 5498227676303e3ffa9a3a46214af96bc3e81314, \< 755a6300afbd743cda4b102f24f343380ec0e0ff; \>= 5498227676303e3ffa9a3a46214af96bc3e81314, \< 7c770dadfda5cbbde6aa3c4363ed513f1d212bf8; \>= 5.10.248, \< 5.10.253; \>= 5.15.198, \< 5.15.203; … (cvelist)
- Linux: 6.19 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-31508. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-31508.md
Affected: Linux >= b823c3344d5446b720227ba561df10a4f0add515, < df3c95be76103604e752131d9495a24814915ece; >= 052e5db5be4576e0a8ef1460b210da5f328f4cd1, < 33609454be4f582e686a4bf13d4482a5ca0f6c4b; >= c98263d5ace597c096a7a60aeef790da7b54979e, < 5fdeaf591a0942772c2d18ff3563697a49ad01c6; >= 0fc642f011cb7a7eff41109…
Fixed in: Linux 33609454be4f582e686a4bf13d4482a5ca0f6c4b, Linux 5fdeaf591a0942772c2d18ff3563697a49ad01c6, Linux 4c3e25a7b711a402fcbbbcfbbdf2868ece1ae7c8, Linux 43579baa17270aa51f93eb09b6e4af6e047b7f6e, Linux 95265232b49765a4d00f4d028c100bb7185600f4, Linux 755a6300afbd743cda4b102f24f343380ec0e0ff, Linux 7c770…

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

## FAQ

### Is CVE-2026-31508 being exploited?

There is no confirmed exploitation: CVE-2026-31508 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.15% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-31508?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-31508?

Linux \>= b823c3344d5446b720227ba561df10a4f0add515, \< df3c95be76103604e752131d9495a24814915ece; \>= 052e5db5be4576e0a8ef1460b210da5f328f4cd1, \< 33609454be4f582e686a4bf13d4482a5ca0f6c4b; \>= c98263d5ace597c096a7a60aeef790da7b54979e, \< 5fdeaf591a0942772c2d18ff3563697a49ad01c6; \>= 0fc642f011cb7a7eff41109e66d3b552e9f4d795, \< 4c3e25a7b711a402fcbbbcfbbdf2868ece1ae7c8; \>= 5116f61ab11846844585c9082c547c4ccd97ff1a, \< 43579baa17270aa51f93eb09b6e4af6e047b7f6e; \>= f31557fb1b35332cca9994aa196cef284bcf3807, \< 95265232b49765a4d00f4d028c100bb7185600f4; \>= 5498227676303e3ffa9a3a46214af96bc3e81314, \< 755a6300afbd743cda4b102f24f343380ec0e0ff; \>= 5498227676303e3ffa9a3a46214af96bc3e81314, \< 7c770dadfda5cbbde6aa3c4363ed513f1d212bf8; \>= 5.10.248, \< 5.10.253; \>= 5.15.198, \< 5.15.203; …; Linux 6.19.

### Is there a fix for CVE-2026-31508?

Yes. Fixed in Linux 33609454be4f582e686a4bf13d4482a5ca0f6c4b, Linux 5fdeaf591a0942772c2d18ff3563697a49ad01c6, Linux 4c3e25a7b711a402fcbbbcfbbdf2868ece1ae7c8, Linux 43579baa17270aa51f93eb09b6e4af6e047b7f6e, Linux 95265232b49765a4d00f4d028c100bb7185600f4, Linux 755a6300afbd743cda4b102f24f343380ec0e0ff, Linux 7c770dadfda5cbbde6aa3c4363ed513f1d212bf8, Linux 5.10.253, Linux 5.15.203. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-31508?

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.

## References

- patch: <https://git.kernel.org/stable/c/df3c95be76103604e752131d9495a24814915ece>
- patch: <https://git.kernel.org/stable/c/33609454be4f582e686a4bf13d4482a5ca0f6c4b>
- patch: <https://git.kernel.org/stable/c/5fdeaf591a0942772c2d18ff3563697a49ad01c6>
- patch: <https://git.kernel.org/stable/c/4c3e25a7b711a402fcbbbcfbbdf2868ece1ae7c8>
- patch: <https://git.kernel.org/stable/c/43579baa17270aa51f93eb09b6e4af6e047b7f6e>
- patch: <https://git.kernel.org/stable/c/95265232b49765a4d00f4d028c100bb7185600f4>
- patch: <https://git.kernel.org/stable/c/755a6300afbd743cda4b102f24f343380ec0e0ff>
- patch: <https://git.kernel.org/stable/c/7c770dadfda5cbbde6aa3c4363ed513f1d212bf8>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-31508>

HTML: <https://flawdb.com/CVE-2026-31508> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-31508>
