Hans Schillstrom
8cdb46da06
netfilter: log: netns NULL ptr bug when calling from conntrack
...
Since (69b34fb netfilter: xt_LOG: add net namespace support
for xt_LOG), we hit this:
[ 4224.708977] BUG: unable to handle kernel NULL pointer dereference at 0000000000000388
[ 4224.709074] IP: [<ffffffff8147f699>] ipt_log_packet+0x29/0x270
when callling log functions from conntrack both in and out
are NULL i.e. the net pointer is invalid.
Adding struct net *net in call to nf_logfn() will secure that
there always is a vaild net ptr.
Reported as netfilter's bugzilla bug 818:
https://bugzilla.netfilter.org/show_bug.cgi?id=818
Reported-by: Ronald <ronald645@gmail.com>
Signed-off-by: Hans Schillstrom <hans@schillstrom.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
2013-05-15 14:11:07 +02:00
..
2013-04-29 20:09:03 +02:00
2013-04-30 03:55:20 -04:00
2013-04-18 20:27:55 +02:00
2013-02-21 12:05:51 -08:00
2013-01-21 12:20:19 +01:00
2013-01-23 12:55:29 +01:00
2013-04-18 20:27:55 +02:00
2013-05-01 14:08:52 -07:00
2013-04-18 20:27:55 +02:00
2013-04-19 17:55:29 -04:00
2012-06-16 15:08:49 +02:00
2013-04-18 20:27:55 +02:00
2013-04-18 20:27:55 +02:00
2013-04-18 20:27:55 +02:00
2013-04-18 20:27:55 +02:00
2013-01-23 12:56:23 +01:00
2013-03-19 17:02:18 +01:00
2013-04-18 20:27:55 +02:00
2013-04-05 20:12:54 +02:00
2012-07-04 19:37:22 +02:00
2013-04-18 20:27:55 +02:00
2013-04-18 20:27:55 +02:00
2013-04-18 20:27:55 +02:00
2013-04-18 20:27:55 +02:00
2013-04-05 20:12:54 +02:00
2013-04-18 20:27:55 +02:00
2013-02-19 02:48:05 +01:00
2013-04-06 14:03:18 +02:00
2013-01-18 00:28:18 +01:00
2013-04-18 20:27:55 +02:00
2013-04-18 20:27:55 +02:00
2013-01-23 12:56:02 +01:00
2013-01-23 12:55:39 +01:00
2012-09-03 13:52:54 +02:00
2013-05-15 14:11:07 +02:00
2013-04-18 20:27:55 +02:00
2013-04-25 00:53:40 -04:00
2013-02-19 02:48:05 +01:00
2013-04-18 20:27:55 +02:00
2013-02-19 02:48:05 +01:00
2012-08-30 03:00:14 +02:00
2012-08-30 03:00:14 +02:00
2013-04-29 20:09:08 +02:00
2012-08-30 03:00:14 +02:00
2012-08-30 03:00:14 +02:00
2012-08-30 03:00:14 +02:00
2012-08-30 03:00:14 +02:00
2013-02-19 02:48:05 +01:00
2013-02-19 02:48:05 +01:00
2013-04-29 20:09:05 +02:00
2013-03-25 14:21:30 +01:00
2013-02-27 19:10:24 -08:00
2012-11-21 23:50:14 +01:00
2013-05-15 14:11:07 +02:00
2013-05-06 12:28:01 +02:00
2012-06-23 02:13:38 +02:00
2013-04-19 14:58:36 -04:00
2013-05-01 17:51:54 -07:00
2013-03-04 14:45:25 +01:00
2013-01-21 12:20:19 +01:00
2013-01-18 00:28:15 +01:00
2013-02-27 19:10:24 -08:00
2013-04-18 20:27:55 +02:00
2013-02-05 01:49:26 +01:00
2011-12-27 20:45:25 +01:00
2013-05-01 17:51:54 -07:00
2012-11-09 17:05:07 -08:00
2012-09-28 11:34:33 +09:00
2013-04-18 20:27:55 +02:00
2013-05-15 14:11:07 +02:00
2012-05-09 20:49:18 -04:00
2012-10-15 13:39:12 +02:00
2012-09-21 12:11:08 +02:00
2013-05-15 14:11:07 +02:00
2013-04-02 01:26:10 +02:00
2013-04-05 20:12:54 +02:00
2012-08-14 21:55:30 -07:00
2013-02-27 19:10:24 -08:00
2013-05-01 17:29:18 -04:00
2012-09-21 12:12:05 +02:00
2013-04-29 20:09:03 +02:00
2012-09-03 13:31:39 +02:00
2013-04-18 20:27:55 +02:00
2012-10-17 11:00:31 +02:00
2012-09-24 14:29:01 +02:00
2012-07-10 23:13:45 -07:00