lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 07 Apr 2014 15:10:47 -0400 (EDT) From: David Miller <davem@...emloft.net> To: gilles.chanteperdrix@...omai.org Cc: nicolas.ferre@...el.com, netdev@...r.kernel.org Subject: Re: [PATCH] net/at91_ether: avoid NULL pointer dereference From: Gilles Chanteperdrix <gilles.chanteperdrix@...omai.org> Date: Sun, 6 Apr 2014 20:37:44 +0200 > The at91_ether driver calls macb_mii_init passing a 'struct macb' > structure whose tx_clk member is initialized to 0. However, > macb_handle_link_change() expects tx_clk to be the result of > a call to clk_get, and so IS_ERR(tx_clk) to be true if the clock > is invalid. This causes an oops when booting Linux 3.14 on the > csb637 board. The following changes avoids this. > > Signed-off-by: Gilles Chanteperdrix <gilles.chanteperdrix@...omai.org> 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