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-prev] [day] [month] [year] [list]
Message-Id: <175189320409.2280.2456749792554779164.b4-ty@linux.intel.com>
Date: Mon, 07 Jul 2025 16:00:04 +0300
From: Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>
To: sre@...nel.org, Hans de Goede <hansg@...nel.org>, 
 Armin Wolf <W_Armin@....de>
Cc: linux-pm@...r.kernel.org, platform-driver-x86@...r.kernel.org, 
 linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/3] power: supply: core: Add
 power_supply_get/set_property_direct()

On Fri, 27 Jun 2025 22:51:22 +0200, Armin Wolf wrote:

> Power supply extensions might want to interact with the underlying
> power supply to retrieve data like serial numbers, charging status
> and more. However doing so causes psy->extensions_sem to be locked
> twice, possibly causing a deadlock.
> 
> Provide special variants of power_supply_get/set_property() that
> ignore any power supply extensions and thus do not touch the
> associated psy->extensions_sem lock.
> 
> [...]


Thank you for your contribution, it has been applied to my local
review-ilpo-fixes branch. Note it will show up in the public
platform-drivers-x86/review-ilpo-fixes branch only once I've pushed my
local branch there, which might take a while.

The list of commits applied:
[1/3] power: supply: core: Add power_supply_get/set_property_direct()
      commit: 3ebed2fddf6fac5729ffc8c471c87d111b641678
[2/3] power: supply: test-power: Test access to extended power supply
      commit: a5f354232118751fe43be6ac896f8d6e7d7418b5
[3/3] platform/x86: dell-ddv: Fix taking the psy->extensions_sem lock twice
      commit: d4e83784b2a9be58b938d55efb232d2751c4cab4

--
 i.


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ