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: <176217960447.2905062.12628399125158047270.b4-ty@kernel.org>
Date: Mon,  3 Nov 2025 14:57:47 +0000
From: Will Deacon <will@...nel.org>
To: mark.rutland@....com,
	robin.murphy@....com,
	james.clark@...aro.org,
	ilkka@...amperecomputing.com,
	u.kleine-koenig@...libre.com,
	bwicaksono@...dia.com,
	suzuki.poulose@....com,
	Ma Ke <make24@...as.ac.cn>
Cc: catalin.marinas@....com,
	kernel-team@...roid.com,
	Will Deacon <will@...nel.org>,
	linux-arm-kernel@...ts.infradead.org,
	linux-perf-users@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	akpm@...ux-foundation.org,
	stable@...r.kernel.org
Subject: Re: [PATCH RESEND] perf: arm_cspmu: fix error handling in arm_cspmu_impl_unregister()

On Wed, 22 Oct 2025 19:53:25 +0800, Ma Ke wrote:
> driver_find_device() calls get_device() to increment the reference
> count once a matching device is found. device_release_driver()
> releases the driver, but it does not decrease the reference count that
> was incremented by driver_find_device(). At the end of the loop, there
> is no put_device() to balance the reference count. To avoid reference
> count leakage, add put_device() to decrease the reference count.
> 
> [...]

Applied to will (for-next/perf), thanks!

[1/1] perf: arm_cspmu: fix error handling in arm_cspmu_impl_unregister()
      https://git.kernel.org/will/c/970e1e41805f

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ