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: <174622974059.536802.1308149045945940669.b4-ty@kernel.org>
Date: Sat,  3 May 2025 08:49:40 +0900
From: William Breathitt Gray <wbg@...nel.org>
To: linux-iio@...r.kernel.org,
	Alexander Sverdlin <alexander.sverdlin@...il.com>
Cc: William Breathitt Gray <wbg@...nel.org>,
	Oleksij Rempel <o.rempel@...gutronix.de>,
	Pengutronix Kernel Team <kernel@...gutronix.de>,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] counter: interrupt-cnt: Protect enable/disable OPs with mutex


On Mon, 31 Mar 2025 18:36:40 +0200, A. Sverdlin wrote:
> Enable/disable seems to be racy on SMP, consider the following scenario:
> 
> CPU0					CPU1
> 
> interrupt_cnt_enable_write(true)
> {
> 	if (priv->enabled == enable)
> 		return 0;
> 
> [...]

Applied, thanks!

[1/1] counter: interrupt-cnt: Protect enable/disable OPs with mutex
      commit: 7351312632e831e51383f48957d47712fae791ef

Best regards,
-- 
William Breathitt Gray <wbg@...nel.org>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ