Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 680aea08e78c003292415518ad270bc20f9c80b1 before 088ba80eef85fa7a5ad8f9e7c82b403c99242b56; affected 680aea08e78c003292415518ad270bc20f9c80b1 before 78a1cf5c54b2f795c81fedb530755a8d01cc84f0; affected 680aea08e78c003292415518ad270bc20f9c80b1 before 7dfa7ca97f3ac46353edd4cc44f7733758e4535b; affected 680aea08e78c003292415518ad270bc20f9c80b1 before 221ef5e1e44a044790f0f54e6aa237883f475a4d; affected 680aea08e78c003292415518ad270bc20f9c80b1 before e02a5b6588161673ef75a4bc5cdfb62bd493374d |
| Linux / Linux | affected 5.12; unaffected 0 before 5.12; unaffected 6.6.160 through 6.6.*; unaffected 6.12.113 through 6.12.*; unaffected 6.18.57 through 6.18.*; unaffected 7.2.11 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- 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