binder: fix memory leak in binder_init()
Published Dec 24, 2025
No CVSS score
EPSS 0.21%
Description
In binder_init(), the destruction of binder_alloc_shrinker_init() is not performed in the wrong path, which will cause memory leaks. So this commit introduces binder_alloc_shrinker_exit() and calls it in the wrong path to fix that.
Affected products
-
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version
-
- Version 4.14StatusaffectedConstraints-
- Version 0StatusunaffectedConstraints<4.14
- Version 4.14.324StatusunaffectedConstraints<=4.14.*
- Version 4.19.292StatusunaffectedConstraints<=4.19.*
- Version 5.10.191StatusunaffectedConstraints<=5.10.*
- Version 5.15.127StatusunaffectedConstraints<=5.15.*
- Version 5.4.254StatusunaffectedConstraints<=5.4.*
- Version 6.1.46StatusunaffectedConstraints<=6.1.*
- Version 6.4.11StatusunaffectedConstraints<=6.4.*
- Version 6.5StatusunaffectedConstraints<=*
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Linux | Linux | unaffected |
| |||||||||||||||||||||||||||||||||
| Linux | Linux | affected |
|
No data.
No data.
Red Hat Enterprise Linux 10
kernel
Not affected
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-rt
Not affected
Red Hat Enterprise Linux 8
kernel
Not affected
Red Hat Enterprise Linux 8
kernel-rt
Not affected
Red Hat Enterprise Linux 9
kernel
Not affected
Red Hat Enterprise Linux 9
kernel-rt
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
No CWE recorded.
References (14)
- https://access.redhat.com/security/cve/CVE-2023-54005 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2424972 Issue Tracking
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-205157 Advisory
- https://git.kernel.org/stable/c/03eebad96233397f951d8e9fafd82a1674a77284
- https://git.kernel.org/stable/c/486dd742ba186ea333664c517d6775b06b1448ca
- https://git.kernel.org/stable/c/adb9743d6a08778b78d62d16b4230346d3508986
- https://git.kernel.org/stable/c/b97dad01c12169991f895de3d4f61b8115d12bab
- https://git.kernel.org/stable/c/ceb0f8cc987fb3d25c06b9662e08a42f99651207
- https://git.kernel.org/stable/c/d7e5e2b87f5d27469075b6326b6b358e38cd9dcb
- https://git.kernel.org/stable/c/ee95051c0c1928051f86198bf5e554277a53b26b
- https://git.kernel.org/stable/c/f11a26633eb6d3bb24a10b1bacc4e4a9b0c6389f
- https://lore.kernel.org/linux-cve-announce/2025122428-CVE-2023-54005-d9ae@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2023-54005
- https://www.cve.org/CVERecord?id=CVE-2023-54005
Change history (0)
No recorded changes yet.