High · published October 22, 2024
In the Linux kernel, the following vulnerability has been resolved:
ipv4: Handle attempt to delete multipath route when fib_info contains an nh reference
Gwangun Jung reported a slab-out-of-bounds access in fib_nh_match:
fib_nh_match+0xf98/0x1130 linux-6.0-rc7/net/ipv4/fib_semantics.c:961
fib_table_delete+0x5f3/0xa40 linux-6.0-rc7/net/ipv4/fib_trie.c:1753
inet_rtm_delroute+0x2b3/0x380 linux-6.0-rc7/net/ipv4/fib_frontend.c:874
Separate nexthop objects are mutually exclusive with the legacy
multipath spec. Fix fib_nh_match to return if the config for the
to be deleted route contains a multipath spec while the fib_info
is using a nexthop object.
| Product | Versions | Fixed in |
|---|---|---|
| linux/linux_kernel | ≥ 5.3, < 5.4.226 | 5.4.226 |
| linux/linux_kernel | ≥ 5.5, < 5.10.158 | 5.10.158 |
| linux/linux_kernel | ≥ 5.11, < 5.15.82 | 5.15.82 |
| linux/linux_kernel | ≥ 5.16, < 6.0.12 | 6.0.12 |