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: <171947576772.2875250.15838690035445924875.b4-ty@kernel.org>
Date: Thu, 27 Jun 2024 09:09:27 +0100
From: Lee Jones <lee@...nel.org>
To: Pavel Machek <pavel@....cz>, Lee Jones <lee@...nel.org>, 
 Miaoqian Lin <linmq006@...il.com>, 
 Luca Ceresoli <luca.ceresoli@...tlin.com>
Cc: Hans de Goede <hdegoede@...hat.com>, 
 Hervé Codina <herve.codina@...tlin.com>, 
 Thomas Petazzoni <thomas.petazzoni@...tlin.com>, linux-leds@...r.kernel.org, 
 linux-kernel@...r.kernel.org
Subject: Re: (subset) [PATCH v2] Revert "leds: led-core: Fix refcount leak
 in of_led_get()"

On Tue, 25 Jun 2024 10:34:38 +0200, Luca Ceresoli wrote:
> This reverts commit da1afe8e6099980fe1e2fd7436dca284af9d3f29.
> 
> Commit 699a8c7c4bd3 ("leds: Add of_led_get() and led_put()"), introduced in
> 5.5, added of_led_get() and led_put() but missed a put_device() in
> led_put(), thus creating a leak in case the consumer device is removed.
> 
> Arguably device removal was not very popular, so this went apparently
> unnoticed until 2022. In January 2023 two different patches got merged to
> fix the same bug:
> 
> [...]

Applied, thanks!

[1/1] Revert "leds: led-core: Fix refcount leak in of_led_get()"
      commit: 940b27161afc6ec53fc66245a4fb3518394cdc92

--
Lee Jones [李琼斯]


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ