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-prev] [day] [month] [year] [list]
Message-Id: <169279175567.797584.15288361947822567301.b4-ty@ellerman.id.au>
Date:   Wed, 23 Aug 2023 21:55:55 +1000
From:   Michael Ellerman <patch-notifications@...erman.id.au>
To:     npiggin@...il.com, christophe.leroy@...roup.eu, windhl@....com,
        linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org,
        ruanjinjie <ruanjinjie@...wei.com>
Subject: Re: [PATCH] powerpc/pseries: fix possible memory leak in ibmebus_bus_init()

On Thu, 10 Nov 2022 09:19:29 +0800, ruanjinjie wrote:
> If device_register() returns error in ibmebus_bus_init(), name of kobject
> which is allocated in dev_set_name() called in device_add() is leaked.
> 
> As comment of device_add() says, it should call put_device() to drop
> the reference count that was set in device_initialize() when it fails,
> so the name can be freed in kobject_cleanup().
> 
> [...]

Applied to powerpc/next.

[1/1] powerpc/pseries: fix possible memory leak in ibmebus_bus_init()
      https://git.kernel.org/powerpc/c/afda85b963c12947e298ad85d757e333aa40fd74

cheers

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ