Skip to contentSkip to conversation

CVE-2026-99071: ipv4: do not warn on route notification size race

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Oct 23

lore
Share & tools
lore
#0 lore raw

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

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

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

ipv4: do not warn on route notification size race

Commit 680aea08e78c ("net: ipv4: Emit notification when fib hardware flags are changed") added asynchronous route notifications for hardware flag changes.

fib_alias_hw_flags_set() sizes the skb with fib_nlmsg_size() and later fills it with fib_dump_info() while holding only RCU. With nexthop compatibility mode enabled, a concurrent replacement can grow the group between these independent snapshots. fib_dump_info() can then legitimately return -EMSGSIZE, so the warning does not prove a sizing bug.

Remove the warning. The existing error path still frees the skb and reports the error to listeners.

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

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

	Issue introduced in 5.12 with commit 680aea08e78c003292415518ad270bc20f9c80b1 and fixed in 6.6.160 with commit 088ba80eef85fa7a5ad8f9e7c82b403c99242b56
	Issue introduced in 5.12 with commit 680aea08e78c003292415518ad270bc20f9c80b1 and fixed in 6.12.113 with commit 78a1cf5c54b2f795c81fedb530755a8d01cc84f0
	Issue introduced in 5.12 with commit 680aea08e78c003292415518ad270bc20f9c80b1 and fixed in 6.18.57 with commit 7dfa7ca97f3ac46353edd4cc44f7733758e4535b
	Issue introduced in 5.12 with commit 680aea08e78c003292415518ad270bc20f9c80b1 and fixed in 7.2.11 with commit 221ef5e1e44a044790f0f54e6aa237883f475a4d
	Issue introduced in 5.12 with commit 680aea08e78c003292415518ad270bc20f9c80b1 and fixed in 7.3 with commit e02a5b6588161673ef75a4bc5cdfb62bd493374d

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-99071

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:

	net/ipv4/fib_trie.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/088ba80eef85fa7a5ad8f9e7c82b403c99242b56
	https://git.kernel.org/stable/c/78a1cf5c54b2f795c81fedb530755a8d01cc84f0
	https://git.kernel.org/stable/c/7dfa7ca97f3ac46353edd4cc44f7733758e4535b
	https://git.kernel.org/stable/c/221ef5e1e44a044790f0f54e6aa237883f475a4d
	https://git.kernel.org/stable/c/e02a5b6588161673ef75a4bc5cdfb62bd493374d