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
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1721784184.git.jamie.bainbridge@gmail.com>
Date: Wed, 24 Jul 2024 11:46:49 +1000
From: Jamie Bainbridge <jamie.bainbridge@...il.com>
To: netdev@...r.kernel.org,
	"David S. Miller" <davem@...emloft.net>,
	Eric Dumazet <edumazet@...gle.com>,
	Jakub Kicinski <kuba@...nel.org>,
	Paolo Abeni <pabeni@...hat.com>
Cc: Jamie Bainbridge <jamie.bainbridge@...il.com>
Subject: [PATCH net 0/4] net-sysfs: check device is present when showing paths

A sysfs reader can race with a device reset or removal.

This was fixed for speed_show with commit 4224cfd7fb65 ("net-sysfs: add
check for netdevice being present to speed_show") so add the same check
to carrier, duplex, testing, and dormant paths.

Submitting as separate patches to make Fixes reporting accurate.

Signed-off-by: Jamie Bainbridge <jamie.bainbridge@...il.com>

Jamie Bainbridge (4):
  net-sysfs: check device is present when showing carrier
  net-sysfs: check device is present when showing duplex
  net-sysfs: check device is present when showing testing
  net-sysfs: check device is present when showing dormant

 net/core/net-sysfs.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

--
2.39.2


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ