[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20101216.141600.116387366.davem@davemloft.net>
Date: Thu, 16 Dec 2010 14:16:00 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: opurdila@...acom.com, netdev@...r.kernel.org, lcrestez@...acom.com,
stable@...nel.org
Subject: Re: [PATCH net-2.6 v2] net: fix nulls list corruptions in
sk_prot_alloc
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Tue, 14 Dec 2010 22:23:31 +0100
> Le mardi 14 décembre 2010 à 19:19 +0200, Octavian Purdila a écrit :
>> Special care is taken inside sk_port_alloc to avoid overwriting
>> skc_node/skc_nulls_node. We should also avoid overwriting
>> skc_bind_node/skc_portaddr_node.
>>
>> The patch fixes the following crash:
>>
>> BUG: unable to handle kernel paging request at fffffffffffffff0
>> IP: [<ffffffff812ec6dd>] udp4_lib_lookup2+0xad/0x370
>> [<ffffffff812ecc22>] __udp4_lib_lookup+0x282/0x360
>> [<ffffffff812ed63e>] __udp4_lib_rcv+0x31e/0x700
>> [<ffffffff812bba45>] ? ip_local_deliver_finish+0x65/0x190
>> [<ffffffff812bbbf8>] ? ip_local_deliver+0x88/0xa0
>> [<ffffffff812eda35>] udp_rcv+0x15/0x20
>> [<ffffffff812bba45>] ip_local_deliver_finish+0x65/0x190
>> [<ffffffff812bbbf8>] ip_local_deliver+0x88/0xa0
>> [<ffffffff812bb2cd>] ip_rcv_finish+0x32d/0x6f0
>> [<ffffffff8128c14c>] ? netif_receive_skb+0x99c/0x11c0
>> [<ffffffff812bb94b>] ip_rcv+0x2bb/0x350
>> [<ffffffff8128c14c>] netif_receive_skb+0x99c/0x11c0
>>
>> Signed-off-by: Leonard Crestez <lcrestez@...acom.com>
>> Signed-off-by: Octavian Purdila <opurdila@...acom.com>
>> Cc: Eric Dumazet <eric.dumazet@...il.com>
>> Cc: stable@...nel.org
>> ---
>
> Thanks Octavian !
>
> Acked-by: Eric Dumazet <eric.dumazet@...il.com>
Applied, thanks everyone.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists