[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20140701.122048.2126140839754660400.davem@davemloft.net>
Date: Tue, 01 Jul 2014 12:20:48 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org, walken@...gle.com, ariel.elior@...gic.com
Subject: Re: [PATCH] bnx2x: fix possible panic under memory stress
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Thu, 26 Jun 2014 00:44:02 -0700
> From: Eric Dumazet <edumazet@...gle.com>
>
> While it is legal to kfree(NULL), it is not wise to use :
> put_page(virt_to_head_page(NULL))
>
> BUG: unable to handle kernel paging request at ffffeba400000000
> IP: [<ffffffffc01f5928>] virt_to_head_page+0x36/0x44 [bnx2x]
>
> Reported-by: Michel Lespinasse <walken@...gle.com>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> Cc: Ariel Elior <ariel.elior@...gic.com>
> Fixes: d46d132cc021 ("bnx2x: use netdev_alloc_frag()")
> ---
> This is a stable candidate, bug added in linux-3.8
Applied and queued up for -stable, thanks.
--
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