CVE-2023-54017

powerpc/pseries: fix possible memory leak in ibmebus_bus_init()

State
Published
Severity
Not scored
Published
Dec 24, 2025
Updated
May 11, 2026
Reserved
Dec 24, 2025

Read the record on cve.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().

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • d7a301033f1990188f65abf4fe8e5b90ef0e3888 to before e4ff88548defafb1ef84facd9856ec252da7b008Affected
  • d7a301033f1990188f65abf4fe8e5b90ef0e3888 to before 3cc4c2f6c266fe5b33a7fa797f31e8b3f06ce58cAffected
  • d7a301033f1990188f65abf4fe8e5b90ef0e3888 to before 7ffe14fce7425c32e735bdc44bce425f18976a49Affected
  • d7a301033f1990188f65abf4fe8e5b90ef0e3888 to before 9f3b2b666833ebef6d0ce5a40e189f38e70342a1Affected
  • d7a301033f1990188f65abf4fe8e5b90ef0e3888 to before d35e7ae10eb8917883da2a0b1823c620a1be42d6Affected
  • d7a301033f1990188f65abf4fe8e5b90ef0e3888 to before 96f27ff732208dce6468016e7a7d5032bd1bfc23Affected
  • d7a301033f1990188f65abf4fe8e5b90ef0e3888 to before ebd8dc974fcc59e2851a0d89ee7935b55142dc8eAffected
  • d7a301033f1990188f65abf4fe8e5b90ef0e3888 to before afda85b963c12947e298ad85d757e333aa40fd74Affected
LinuxLinux
  • 2.6.16Affected
  • before 2.6.16Not affected
  • 4.14.326 through 4.14.*Not affected
  • 4.19.295 through 4.19.*Not affected
  • 5.4.257 through 5.4.*Not affected
  • 5.10.197 through 5.10.*Not affected
  • 5.15.133 through 5.15.*Not affected
  • 6.1.55 through 6.1.*Not affected
  • 6.5.5 through 6.5.*Not affected
  • 6.6 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.