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, 06 Aug 2017 21:24:02 -0700 (PDT) From: David Miller <davem@...emloft.net> To: stephen@...workplumber.org Cc: kys@...rosoft.com, haiyangz@...rosoft.com, sthemmin@...rosoft.com, devel@...uxdriverproject.org, netdev@...r.kernel.org Subject: Re: [PATCH net 1/1] netvsc: fix race on sub channel creation From: Stephen Hemminger <stephen@...workplumber.org> Date: Thu, 3 Aug 2017 17:13:54 -0700 > The existing sub channel code did not wait for all the sub-channels > to completely initialize. This could lead to race causing crash > in napi_netif_del() from bad list. The existing code would send > an init message, then wait only for the initial response that > the init message was received. It thought it was waiting for > sub channels but really the init response did the wakeup. > > The new code keeps track of the number of open channels and > waits until that many are open. > > Other issues here were: > * host might return less sub-channels than was requested. > * the new init status is not valid until after init was completed. > > Fixes: b3e6b82a0099 ("hv_netvsc: Wait for sub-channels to be processed during probe") > Signed-off-by: Stephen Hemminger <sthemmin@...rosoft.com> Applied, thanks.
Powered by blists - more mailing lists