7.8high
openvswitch: defer tunnel netdev_put to RCU release
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.14% (higher than 3% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: openvswitch: defer tunnel netdev_put to RCU release ovs_netdev_tunnel_destroy() may run after NETDEV_UNREGISTER already detached the device. Dropping the netdev reference in destroy can race with concurrent readers that still observe vport->dev. Do not release vport->dev in ovs_netdev_tunnel_destroy(). Instead, let vport_netdev_free() drop the reference from the RCU callback, matching the non-tunnel destroy path and avoiding additional synchronization under RTNL.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from a9020fde67a6eb77f8130feff633189f99264db1 before 5622cc9ba01f0188690bd3b4908bfc51e252addd, from a9020fde67a6eb77f8130feff633189f99264db1 before f0ec49d3a39c1f5a4f3270ea27ca0854fad2a2a2, from a9020fde67a6eb77f8130feff633189f99264db1 before 9d56aced21fb9c104e8a3f3be9b21fbafe448ffc, from a9020fde67a6eb77f8130feff633189f99264db1 before 42f0d3d81209654c08ffdde5a34b9b92d2645896, from a9020fde67a6eb77f8130feff633189f99264db1 before bbe7bd722bfaea36aab3da6cc60fb4a05c644643, from a9020fde67a6eb77f8130feff633189f99264db1 before 98b726ab5e2a4811e27c28e4d041f75bba147eab, from a9020fde67a6eb77f8130feff633189f99264db1 before b8c56a3fc5d879c0928f207a756b0f067f06c6a8, from a9020fde67a6eb77f8130feff633189f99264db1 before 6931d21f87bc6d657f145798fad0bf077b82486c and 1 more Not affected: before 4.3, from 5.10.275 up to 5.10.*, from 5.15.224 up to 5.15.*, from 6.1.168 up to 6.1.*, from 6.6.131 up to 6.6.*, from 6.12.80 up to 6.12.* | CVE List |
| linux linux_kernel | from 4.3 before 6.1.168, from 6.2 before 6.6.131, from 6.7 before 6.12.80, from 6.13 before 6.18.21, from 6.19 before 6.19.11, 7.0 | NVD |
Classification
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: openvswitch: defer tunnel netdev_put to RCU release ovs_netdev_tunnel_destroy() may run after NETDEV_UNREGISTER already detached the device. Dropping the netdev reference in destroy can race with concurrent readers that still observe vport->dev. Do not release vport->dev in ovs_netdev_tunnel_destroy(). Instead, let vport_netdev_free() drop the reference from the RCU callback, matching the non-tunnel destroy path and avoiding additional synchronization under RTNL.
NVD (es)
En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: openvswitch: aplazar netdev_put del túnel a la liberación RCU ovs_netdev_tunnel_destroy() puede ejecutarse después de que NETDEV_UNREGISTER ya haya desvinculado el dispositivo. Liberar la referencia de netdev en destroy puede competir con lectores concurrentes que aún observan vport -> dev. No liberar vport -> dev en ovs_netdev_tunnel_destroy(). En su lugar, permitir que vport_netdev_free() libere la referencia desde la llamada de retorno RCU, coincidiendo con la ruta de destrucción sin túnel y evitando sincronización adicional bajo RTNL.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-31678 changed 2026-11-23 | CVE Terms of Use |
| NVD | CVE-2026-31678 changed 2026-11-23 | Public domain |