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

CVE-2023-54017
Not available

At a glance

Source
NVD
EPSS
EPSS 0.22 % · percentile 13 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Deferred

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().

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected d7a301033f1990188f65abf4fe8e5b90ef0e3888 < e4ff88548defafb1ef84facd9856ec252da7b008 ; affected d7a301033f1990188f65abf4fe8e5b90ef0e3888 < 3cc4c2f6c266fe5b33a7fa797f31e8b3f06ce58c ; affected d7a301033f1990188f65abf4fe8e5b90ef0e3888 < 7ffe14fce7425c32e735bdc44bce425f18976a49 ; affected d7a301033f1990188f65abf4fe8e5b90ef0e3888 < 9f3b2b666833ebef6d0ce5a40e189f38e70342a1 ; affected d7a301033f1990188f65abf4fe8e5b90ef0e3888 < d35e7ae10eb8917883da2a0b1823c620a1be42d6 ; affected d7a301033f1990188f65abf4fe8e5b90ef0e3888 < 96f27ff732208dce6468016e7a7d5032bd1bfc23
Linux · Linuxaffected 2.6.16 ; unaffected 0 < 2.6.16 ; unaffected 4.14.326 ≤ 4.14.* ; unaffected 4.19.295 ≤ 4.19.* ; unaffected 5.4.257 ≤ 5.4.* ; unaffected 5.10.197 ≤ 5.10.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD