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 for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250312095251.2554708-1-michal.swiatkowski@linux.intel.com>
Date: Wed, 12 Mar 2025 10:52:48 +0100
From: Michal Swiatkowski <michal.swiatkowski@...ux.intel.com>
To: netdev@...r.kernel.org
Cc: jiri@...nulli.us,
	davem@...emloft.net,
	edumazet@...gle.com,
	kuba@...nel.org,
	pabeni@...hat.com,
	horms@...nel.org,
	pierre@...ckhpc.com,
	hkallweit1@...il.com,
	linux@...linux.org.uk,
	maxime.chevallier@...tlin.com,
	christophe.leroy@...roup.eu,
	arkadiusz.kubalewski@...el.com,
	vadim.fedorenko@...ux.dev,
	Michal Swiatkowski <michal.swiatkowski@...ux.intel.com>
Subject: [PATCH net v2 0/3] fix xa_alloc_cyclic() return checks

Pierre Riteau <pierre@...ckhpc.com> found suspicious handling an error
from xa_alloc_cyclic() in scheduler code [1]. The same is done in few
other places.

v1 --> v2: [2]
 * add fixes tags
 * fix also the same usage in dpll and phy

[1] https://lore.kernel.org/netdev/20250213223610.320278-1-pierre@stackhpc.com/
[2] https://lore.kernel.org/netdev/20250214132453.4108-1-michal.swiatkowski@linux.intel.com/

Michal Swiatkowski (3):
  devlink: fix xa_alloc_cyclic() error handling
  dpll: fix xa_alloc_cyclic() error handling
  phy: fix xa_alloc_cyclic() error handling

 drivers/dpll/dpll_core.c            | 2 +-
 drivers/net/phy/phy_link_topology.c | 2 +-
 net/devlink/core.c                  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

-- 
2.42.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ