{"id":"CVE-2026-98604","state":"PUBLISHED","title":"ovpn: replace bind when learning local endpoint","description":"In the Linux kernel, the following vulnerability has been resolved:\n\novpn: replace bind when learning local endpoint\n\nstruct ovpn_bind is published through peer->bind with RCU, but local\nendpoint learning updates bind->local in place under peer->lock. UDP TX\nreads the field without that lock. In particular, a concurrent IPv6\nupdate can therefore result in a torn address read.\n\nUse ovpn_peer_reset_sockaddr to publish a replacement bind when learning\na new local endpoint, just as a remote endpoint change does. Preserve\nthe current remote address and reset the dst cache only after the new\nbind has been published successfully.\n\nTrack remote endpoint changes separately so that float notification and\ntransport-address rehashing remain limited to actual peer floats.","publishedAt":"2026-10-18T15:19:17.227Z","updatedAt":"2026-10-19T09:22:31.480Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f0281c1d3732d1ec084fa1e06d1767d33e1a570e","status":"affected","lessThan":"21dbc9f4d0bdd3b22f91beabc7840064bf11594f","versionType":"git"},{"version":"f0281c1d3732d1ec084fa1e06d1767d33e1a570e","status":"affected","lessThan":"e283009151d3d131447c2edda500199c5fda5f72","versionType":"git"},{"version":"f0281c1d3732d1ec084fa1e06d1767d33e1a570e","status":"affected","lessThan":"aea934a221ec6a867221e5b765f65f1857befd53","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ovpn/peer.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.16","versionType":"semver"},{"version":"6.18.55","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.9","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ovpn/peer.c"]}],"references":["https://git.kernel.org/stable/c/21dbc9f4d0bdd3b22f91beabc7840064bf11594f","https://git.kernel.org/stable/c/e283009151d3d131447c2edda500199c5fda5f72","https://git.kernel.org/stable/c/aea934a221ec6a867221e5b765f65f1857befd53"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/98xxx/CVE-2026-98604.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-98604","state":"PUBLISHED","datePublished":"2026-10-18T15:19:17.227Z","dateUpdated":"2026-10-19T09:22:31.480Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.359Z"},"containers":{"cna":{"title":"ovpn: replace bind when learning local endpoint","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\novpn: replace bind when learning local endpoint\n\nstruct ovpn_bind is published through peer->bind with RCU, but local\nendpoint learning updates bind->local in place under peer->lock. UDP TX\nreads the field without that lock. In particular, a concurrent IPv6\nupdate can therefore result in a torn address read.\n\nUse ovpn_peer_reset_sockaddr to publish a replacement bind when learning\na new local endpoint, just as a remote endpoint change does. Preserve\nthe current remote address and reset the dst cache only after the new\nbind has been published successfully.\n\nTrack remote endpoint changes separately so that float notification and\ntransport-address rehashing remain limited to actual peer floats."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"f0281c1d3732d1ec084fa1e06d1767d33e1a570e","status":"affected","lessThan":"21dbc9f4d0bdd3b22f91beabc7840064bf11594f","versionType":"git"},{"version":"f0281c1d3732d1ec084fa1e06d1767d33e1a570e","status":"affected","lessThan":"e283009151d3d131447c2edda500199c5fda5f72","versionType":"git"},{"version":"f0281c1d3732d1ec084fa1e06d1767d33e1a570e","status":"affected","lessThan":"aea934a221ec6a867221e5b765f65f1857befd53","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ovpn/peer.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.16","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.16","versionType":"semver"},{"version":"6.18.55","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.9","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/ovpn/peer.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/21dbc9f4d0bdd3b22f91beabc7840064bf11594f"},{"url":"https://git.kernel.org/stable/c/e283009151d3d131447c2edda500199c5fda5f72"},{"url":"https://git.kernel.org/stable/c/aea934a221ec6a867221e5b765f65f1857befd53"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T09:22:31.480Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"6.18.55"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"7.2.9"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.16","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}