CVE-2023-54005 binder: fix memory leak in binder_init()

Not scored Published Updated

A memory leak in the Linux kernel binder subsystem can lead to resource exhaustion and denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-54005?

CVE-2023-54005 is a memory corruption vulnerability in Linux, published on 24 Dec 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In the Linux kernel, the following vulnerability has been resolved:

binder: fix memory leak in binder_init()

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.

Which versions are affected by CVE-2023-54005?

How do I fix CVE-2023-54005?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2023-54005 being exploited?

There is no known exploitation of CVE-2023-54005 in the wild and no public exploit code.

Sources

Also known as BELL-CVE-2023-54005, DEBIAN-CVE-2023-54005, GHSA-5h2v-hcwg-qff4, UBUNTU-CVE-2023-54005.

Is CVE-2023-54005 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free