ovpn: replace bind when learning local endpoint
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 21dbc9f4d0bdd3b22f91beabc7840064bf11594f, Kernel aea934a221ec6a867221e5b765f65f1857befd53 and Kernel e283009151d3d131447c2edda500199c5fda5f72.
In the Linux kernel, the following vulnerability has been resolved: ovpn: replace bind when learning local endpoint struct ovpn_bind is published through peer->bind with RCU, but local endpoint learning updates bind->local in place under peer->lock. UDP TX reads the field without that lock. In particular, a concurrent IPv6 update can therefore result in a torn address read. Use ovpn_peer_reset_sockaddr to publish a replacement bind when learning a new local endpoint, just as a remote endpoint change does. Preserve the current remote address and reset the dst cache only after the new bind has been published successfully. Track remote endpoint changes separately so that float notification and transport-address rehashing remain limited to actual peer floats.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.16, >=f0281c1d3732d1ec084fa1e06d1767d33e1a570e <21dbc9f4d0bdd3b22f91beabc7840064bf11594f, >=f0281c1d3732d1ec084fa1e06d1767d33e1a570e <aea934a221ec6a867221e5b765f65f1857befd53, >=f0281c1d3732d1ec084fa1e06d1767d33e1a570e <e283009151d3d131447c2edda500199c5fda5f72 | 21dbc9f4d0bdd3b22f91beabc7840064bf11594f, aea934a221ec6a867221e5b765f65f1857befd53, e283009151d3d131447c2edda500199c5fda5f72 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket