Skip to contentSkip to conversation

CVE-2026-98603: ovpn: replace bind when clearing stale local source

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 18

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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

ovpn: replace bind when clearing stale local source

The UDP output fallback clears bind->local in place when the remembered source address is no longer usable. The bind is RCU-published and read locklessly by concurrent TX, so an IPv6 reader can observe a torn address.

Retry the route lookup with source address autoselection without modifying the bind. After a successful lookup, revalidate the bind and route key under peer->lock, reset the dst cache, and best-effort publish a replacement bind with a wildcard local address.

Do not cache the resolved dst when clearing the local source. Replacing the source invalidates all per-CPU cache entries, while dst_cache_set_ip4 and dst_cache_set_ip6 update only the current CPU slot. The current packet can still use the resolved route; if bind allocation fails, a later cache miss retries the repair.

The Linux kernel CVE team has assigned CVE-2026-98603 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.16 with commit 08857b5ec5d91d83e69e40a36554a8c7557b7301 and fixed in 6.18.55 with commit c44a04722f7dae9a45a101b8e100931ab59f1c18
	Issue introduced in 6.16 with commit 08857b5ec5d91d83e69e40a36554a8c7557b7301 and fixed in 7.2.9 with commit 72bd1bea37ea2c8553938f086bf48ccd2147dfe1
	Issue introduced in 6.16 with commit 08857b5ec5d91d83e69e40a36554a8c7557b7301 and fixed in 7.3-rc5 with commit 7d8104988f423572df1f3347ce578037b1043f34

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-98603

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/net/ovpn/udp.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/c44a04722f7dae9a45a101b8e100931ab59f1c18
	https://git.kernel.org/stable/c/72bd1bea37ea2c8553938f086bf48ccd2147dfe1
	https://git.kernel.org/stable/c/7d8104988f423572df1f3347ce578037b1043f34