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 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sun, 01 Jun 2014 20:41:31 +0400 From: Sergei Shtylyov <sergei.shtylyov@...entembedded.com> To: Or Gerlitz <ogerlitz@...lanox.com>, davem@...emloft.net CC: netdev@...r.kernel.org, amirv@...lanox.com, weiyang@...ux.vnet.ibm.com, Jack Morgenstein <jackm@....mellanox.co.il> Subject: Re: [PATCH net] net/mlx4_core: Fix Oops on reboot when SRIOV VFs are probed into the Host Hello. On 06/01/2014 02:49 PM, Or Gerlitz wrote: > From: Jack Morgenstein <jackm@....mellanox.co.il> > Commit befdf89 did not take into account the case where the Host Please also specify that commit's summary line in parens. > driver is being unloaded. In this case, pci_get_drvdata for the VF > remove_one call may return NULL, so that dereferencing the priv > struct results in a kernel oops. > The fix is to also test that the dev pointer returned by > pci_get_drvdata is non-NULL. > Fixes: befdf89 ("preserve pcd_dev_data after __mlx4_remove_one()") > Signed-off-by: Jack Morgenstein <jackm@....mellanox.co.il> > Signed-off-by: Or Gerlitz <ogerlitz@...lanox.com> WBR, Sergei -- 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