Re: v3.10-rc1 regression notice. (bug #818: NULL pointer dereference ipt_log_packet+0x2e/0x2b0)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Tue, 2013-05-14 at 19:21 +0200, Ronald wrote:
> Dear netfilter developers,
> 
> Since v3.10-rc1 I get kernel panics on two entirely different
> machines. They seem to be related to netfilter. I posted a bugreport
> [1], but have not seen any reply.

a quick look says that both net_device *in and *out is NULL
Why is another question...

static void
ipt_log_packet(u_int8_t pf,
	       unsigned int hooknum,
	       const struct sk_buff *skb,
	       const struct net_device *in,
	       const struct net_device *out,
	       const struct nf_loginfo *loginfo,
	       const char *prefix)
{
	struct sbuff *m;
	struct net *net = dev_net(in ? in : out);
   0x00000d23 <+35>:    test   %edi,%edi
   0x00000d25 <+37>:    mov    %edi,%eax
   0x00000d27 <+39>:    mov    0x44(%esp),%ebx
   0x00000d2b <+43>:    cmove  %ebp,%eax

	/* FIXME: Disabled from containers until syslog ns is supported */
	if (!net_eq(net, &init_net))
Here is the crash.
-> 0x00000d2e <+46>:    cmpl   $0x0,0x20c(%eax)
   0x00000d38 <+56>:    je     0xd50 <ipt_log_packet+80>
   0x00000d3a <+58>:    mov    0x28(%esp),%ebx
   0x00000d3e <+62>:    mov    0x2c(%esp),%esi
   0x00000d42 <+66>:    mov    0x30(%esp),%edi
   0x00000d46 <+70>:    mov    0x34(%esp),%ebp
   0x00000d4a <+74>:    add    $0x38,%esp
   0x00000d4d <+77>:    ret    


> If I did something (incredibly) wrong, please let me know. Otherwise,
> sorry for my impatience.
> 
>                     Ronald
> 
> [1]: https://bugzilla.netfilter.org/show_bug.cgi?id=818
> --
> To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

Attachment: smime.p7s
Description: S/MIME cryptographic signature


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux