[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025122432-CVE-2023-54017-f83d@gregkh>
Date: Wed, 24 Dec 2025 11:57:01 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2023-54017: powerpc/pseries: fix possible memory leak in ibmebus_bus_init()
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
powerpc/pseries: fix possible memory leak in ibmebus_bus_init()
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().
The Linux kernel CVE team has assigned CVE-2023-54017 to this issue.
Affected and fixed versions
===========================
Fixed in 4.14.326 with commit e4ff88548defafb1ef84facd9856ec252da7b008
Fixed in 4.19.295 with commit 3cc4c2f6c266fe5b33a7fa797f31e8b3f06ce58c
Fixed in 5.4.257 with commit 7ffe14fce7425c32e735bdc44bce425f18976a49
Fixed in 5.10.197 with commit 9f3b2b666833ebef6d0ce5a40e189f38e70342a1
Fixed in 5.15.133 with commit d35e7ae10eb8917883da2a0b1823c620a1be42d6
Fixed in 6.1.55 with commit 96f27ff732208dce6468016e7a7d5032bd1bfc23
Fixed in 6.5.5 with commit ebd8dc974fcc59e2851a0d89ee7935b55142dc8e
Fixed in 6.6 with commit afda85b963c12947e298ad85d757e333aa40fd74
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2023-54017
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
arch/powerpc/platforms/pseries/ibmebus.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
https://git.kernel.org/stable/c/e4ff88548defafb1ef84facd9856ec252da7b008
https://git.kernel.org/stable/c/3cc4c2f6c266fe5b33a7fa797f31e8b3f06ce58c
https://git.kernel.org/stable/c/7ffe14fce7425c32e735bdc44bce425f18976a49
https://git.kernel.org/stable/c/9f3b2b666833ebef6d0ce5a40e189f38e70342a1
https://git.kernel.org/stable/c/d35e7ae10eb8917883da2a0b1823c620a1be42d6
https://git.kernel.org/stable/c/96f27ff732208dce6468016e7a7d5032bd1bfc23
https://git.kernel.org/stable/c/ebd8dc974fcc59e2851a0d89ee7935b55142dc8e
https://git.kernel.org/stable/c/afda85b963c12947e298ad85d757e333aa40fd74
Powered by blists - more mailing lists