openvswitch: defer tunnel netdev_put to RCU release
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.1.168, 6.6.131, 6.12.80, 6.18.21, 6.19.11
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
Version range not reported
- Linux Linux
4.3
- KernelLinux
From 4.3.0 · fixed in 6.1.168; From 6.2.0 · fixed in 6.6.131; From 6.7.0 · fixed in 6.12.80; From 6.13.0 · fixed in 6.18.21; From 6.19.0 · fixed in 6.19.11
References 7
git.kernel.org
- stable/c/f0ec49d3a39c1f5a4f3270ea27ca0854fad2a2a2
- stable/c/9d56aced21fb9c104e8a3f3be9b21fbafe448ffc
- stable/c/42f0d3d81209654c08ffdde5a34b9b92d2645896
- stable/c/bbe7bd722bfaea36aab3da6cc60fb4a05c644643
- stable/c/98b726ab5e2a4811e27c28e4d041f75bba147eab
- stable/c/b8c56a3fc5d879c0928f207a756b0f067f06c6a8
- stable/c/6931d21f87bc6d657f145798fad0bf077b82486c