Florian Westphal
2c82c7e724
netfilter: nf_tables: fix oops during rule dump
...
We can oops in nf_tables_fill_rule_info().
Its not possible to fetch previous element in rcu-protected lists
when deletions are not prevented somehow: list_del_rcu poisons
the ->prev pointer value.
Before rcu-conversion this was safe as dump operations did hold
nfnetlink mutex.
Pass previous rule as argument, obtained by keeping a pointer to
the previous rule during traversal.
Fixes: d9adf22a29 ("netfilter: nf_tables: use call_rcu in netlink dumps")
Signed-off-by: Florian Westphal <fw@strlen.de >
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org >
2019-05-20 19:45:23 +02:00
..
2019-04-23 19:09:58 +02:00
2019-03-13 11:50:04 +01:00
2019-05-09 09:31:16 -07:00
2019-05-02 22:14:21 -04:00
2019-05-05 10:25:52 -07:00
2019-04-21 10:37:26 -07:00
2019-05-09 09:44:17 -07:00
2019-05-07 22:03:58 -07:00
2019-04-27 09:07:04 -07:00
2019-02-23 13:34:40 -08:00
2019-05-13 08:55:15 -07:00
2019-05-17 11:31:15 -07:00
2019-04-27 17:07:21 -04:00
2019-05-14 09:47:46 -07:00
2019-05-16 14:25:58 -07:00
2019-04-27 17:07:21 -04:00
2019-05-12 13:21:30 -07:00
2019-04-27 17:07:21 -04:00
2019-04-11 14:01:08 -07:00
2019-05-12 13:19:46 -07:00
2019-05-07 12:22:47 -07:00
2019-04-27 17:07:22 -04:00
2019-04-27 17:07:22 -04:00
2019-05-16 12:12:40 -07:00
2019-05-16 14:30:53 -07:00
2019-04-01 14:59:20 -07:00
2019-03-26 08:35:36 +01:00
2019-05-07 17:22:09 -07:00
2019-04-12 10:25:03 -07:00
2019-05-02 22:14:21 -04:00
2019-04-27 17:07:21 -04:00
2019-04-27 17:07:22 -04:00
2019-05-20 19:45:23 +02:00
2019-04-27 17:07:22 -04:00
2019-05-04 01:27:10 -04:00
2019-04-19 14:07:40 -07:00
2019-04-27 17:07:22 -04:00
2019-05-08 09:43:15 -07:00
2019-05-09 13:45:46 -07:00
2019-04-27 17:07:21 -04:00
2019-04-27 17:07:22 -04:00
2019-05-11 09:59:48 -07:00
2019-05-14 09:47:46 -07:00
2019-05-06 17:46:41 +03:00
2019-04-25 23:52:29 -04:00
2019-05-02 22:14:21 -04:00
2019-05-08 16:34:58 -07:00
2019-05-07 22:03:58 -07:00
2019-05-09 09:02:46 -07:00
2019-04-22 21:50:54 -07:00
2019-05-09 14:33:15 -07:00
2019-03-01 21:35:19 -08:00
2019-05-17 12:15:05 -07:00
2019-05-09 16:37:39 -07:00
2019-04-08 09:51:54 -07:00
2019-05-18 10:50:28 -07:00
2019-04-27 17:07:22 -04:00
2019-05-07 22:03:58 -07:00
2019-04-19 14:07:40 -07:00
2019-05-14 09:47:45 -07:00
2019-05-16 14:14:47 -07:00
2019-04-19 14:07:40 -07:00
2019-03-24 14:55:31 -04:00
2019-02-28 08:24:23 -07:00
2019-05-05 10:38:04 -07:00