ipv4: do not warn on route notification size race
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.6.160, 6.12.113, 6.18.57, 7.2.11
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- First seen by cve.now
- Record last updated
Affected versions
- Linux Linux
Version range not reported
- Linux Linux
5.12
- KernelLinux
From 5.12.0 · fixed in 6.6.160; From 6.7.0 · fixed in 6.12.113; From 6.13.0 · fixed in 6.18.57; From 6.19.0 · fixed in 7.2.11
References 7
git.kernel.org
- stable/c/8b35e7767fdee63e57948a1ec89d9238a651f8c6
- stable/c/096ad0cb77f8da1928d04a0d170535e14ca6311b
- stable/c/088ba80eef85fa7a5ad8f9e7c82b403c99242b56
- stable/c/78a1cf5c54b2f795c81fedb530755a8d01cc84f0
- stable/c/7dfa7ca97f3ac46353edd4cc44f7733758e4535b
- stable/c/221ef5e1e44a044790f0f54e6aa237883f475a4d
- stable/c/e02a5b6588161673ef75a4bc5cdfb62bd493374d