In the Linux kernel, the following vulnerability has been resolved:
ipv4: fib: Dont ignore error route in local/main tables.
When CONFIG_IP_MULTIPLE_TABLES is enabled but no rule is added, fib_lookup() performs route lookup directly on two tables.
Since the first lookup does not properly bail out, the result of an error route in the merged local/main table could be overwritten by another route in the default table:
192.168.0.1 dev lo table default uid 0 cache
Once a random rule is added, the error route is respected:
RTNETLINK answers: No route to host
Lets fix the inconsistent behaviour.