Paolo Abeni
8fb4792f09
ipv6: fix another slab-out-of-bounds in fib6_nh_flush_exceptions
...
While running the self-tests on a KASAN enabled kernel, I observed a
slab-out-of-bounds splat very similar to the one reported in
commit 821bbf79fe ("ipv6: Fix KASAN: slab-out-of-bounds Read in
fib6_nh_flush_exceptions").
We additionally need to take care of fib6_metrics initialization
failure when the caller provides an nh.
The fix is similar, explicitly free the route instead of calling
fib6_info_release on a half-initialized object.
Fixes: f88d8ea67f ("ipv6: Plumb support for nexthop object in a fib6_info")
Signed-off-by: Paolo Abeni <pabeni@redhat.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2021-07-20 07:25:25 -07:00
..
2021-06-02 14:01:55 -07:00
2021-07-01 11:21:57 -07:00
2021-06-18 11:58:03 -07:00
2021-06-18 19:47:02 -07:00
2021-06-10 14:08:09 -07:00
2021-03-30 16:54:50 -07:00
2021-06-18 19:47:02 -07:00
2021-07-05 14:08:24 -07:00
2021-07-12 17:13:08 +02:00
2021-06-25 13:13:50 +02:00
2021-07-20 13:08:45 +02:00
2021-07-15 11:08:33 -07:00
2021-06-29 15:45:27 -07:00
2021-06-30 15:51:09 -07:00
2021-07-18 09:42:17 -07:00
2021-06-01 17:01:33 -07:00
2021-06-29 11:28:21 -07:00
2021-07-16 14:06:16 -07:00
2021-07-13 14:47:10 -07:00
2021-04-13 14:35:02 -07:00
2021-07-01 13:08:18 -07:00
2021-06-16 12:13:01 -07:00
2021-06-03 10:59:49 +02:00
2021-07-19 10:11:51 -07:00
2021-07-20 07:25:25 -07:00
2021-07-01 15:54:01 -07:00
2021-06-29 11:28:21 -07:00
2021-05-26 07:03:39 +02:00
2021-06-07 14:08:30 -07:00
2021-06-08 16:31:25 -07:00
2021-04-27 14:16:14 -07:00
2021-06-23 18:12:00 +02:00
2021-04-06 22:42:16 +02:00
2021-04-27 14:17:00 -07:00
2021-07-13 09:28:29 -07:00
2021-07-08 14:16:39 -07:00
2021-07-06 14:15:13 +02:00
2021-06-15 11:19:04 -07:00
2021-07-13 09:28:29 -07:00
2021-07-18 09:48:59 -07:00
2021-07-05 14:08:24 -07:00
2021-07-01 11:13:10 -07:00
2021-06-30 15:51:09 -07:00
2021-06-29 11:28:21 -07:00
2021-06-30 15:51:09 -07:00
2021-04-20 16:44:04 -07:00
2021-06-30 15:51:09 -07:00
2021-07-20 07:13:51 -07:00
2021-07-18 09:47:29 -07:00
2021-06-29 11:28:21 -07:00
2021-06-29 11:28:21 -07:00
2021-07-09 09:43:57 -07:00
2021-06-28 14:09:03 -07:00
2021-06-30 15:51:09 -07:00
2021-06-29 15:45:27 -07:00
2021-07-13 09:28:29 -07:00
2021-06-30 15:51:09 -07:00
2021-06-23 13:05:09 +02:00
2021-06-10 14:08:09 -07:00
2021-06-29 15:45:27 -07:00
2021-06-30 15:51:09 -07:00
2021-06-03 15:13:56 -07:00
2021-06-11 12:55:28 -07:00
2021-05-11 13:56:16 -07:00
2021-07-01 13:08:18 -07:00
2021-04-12 13:27:11 -07:00