# CVE-2023-54033: bpf: fix a memory leak in the LRU and LRU\_PERCPU hash maps

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.28% (percentile 13, 2026-11-26)
- **Published:** 2025-12-24T10:56:00.579Z
- **Modified:** 2026-06-17T06:46:34.477Z

## Who should check

- Anyone running Linux \>= 20b6cc34ea74b6a84599c1f8a70f3315b56a1883, \< 79ea1a12fb9a8275b6e19d4ca625dd872dedcbb9; \>= 20b6cc34ea74b6a84599c1f8a70f3315b56a1883, \< 1a9e80f757bbb1562d82e350afce2bb2f712cc3d; \>= 20b6cc34ea74b6a84599c1f8a70f3315b56a1883, \< 965e9cccbe6b9c7b379908cebcb5e3a47f20dd5e; \>= 20b6cc34ea74b6a84599c1f8a70f3315b56a1883, \< b34ffb0c6d23583830f9327864b9c1f486003305
- Anyone running Linux 5.11

## Description

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

bpf: fix a memory leak in the LRU and LRU\_PERCPU hash maps

The LRU and LRU\_PERCPU maps allocate a new element on update before locking the
target hash table bucket. Right after that the maps try to lock the bucket.
If this fails, then maps return -EBUSY to the caller without releasing the
allocated element. This makes the element untracked: it doesn't belong to
either of free lists, and it doesn't belong to the hash table, so can't be
re-used; this eventually leads to the permanent -ENOMEM on LRU map updates,
which is unexpected. Fix this by returning the element to the local free list
if bucket locking fails.

## Affected and fixed versions

- Linux: \>= 20b6cc34ea74b6a84599c1f8a70f3315b56a1883, \< 79ea1a12fb9a8275b6e19d4ca625dd872dedcbb9; \>= 20b6cc34ea74b6a84599c1f8a70f3315b56a1883, \< 1a9e80f757bbb1562d82e350afce2bb2f712cc3d; \>= 20b6cc34ea74b6a84599c1f8a70f3315b56a1883, \< 965e9cccbe6b9c7b379908cebcb5e3a47f20dd5e; \>= 20b6cc34ea74b6a84599c1f8a70f3315b56a1883, \< b34ffb0c6d23583830f9327864b9c1f486003305 (cvelist)
- Linux: 5.11 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-54033. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-54033.md
Affected: Linux >= 20b6cc34ea74b6a84599c1f8a70f3315b56a1883, < 79ea1a12fb9a8275b6e19d4ca625dd872dedcbb9; >= 20b6cc34ea74b6a84599c1f8a70f3315b56a1883, < 1a9e80f757bbb1562d82e350afce2bb2f712cc3d; >= 20b6cc34ea74b6a84599c1f8a70f3315b56a1883, < 965e9cccbe6b9c7b379908cebcb5e3a47f20dd5e; >= 20b6cc34ea74b6a84599c1f…
Fixed in: Linux 79ea1a12fb9a8275b6e19d4ca625dd872dedcbb9, Linux 1a9e80f757bbb1562d82e350afce2bb2f712cc3d, Linux 965e9cccbe6b9c7b379908cebcb5e3a47f20dd5e

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-54033 being exploited?

There is no confirmed exploitation: CVE-2023-54033 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-54033?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2023-54033?

Linux \>= 20b6cc34ea74b6a84599c1f8a70f3315b56a1883, \< 79ea1a12fb9a8275b6e19d4ca625dd872dedcbb9; \>= 20b6cc34ea74b6a84599c1f8a70f3315b56a1883, \< 1a9e80f757bbb1562d82e350afce2bb2f712cc3d; \>= 20b6cc34ea74b6a84599c1f8a70f3315b56a1883, \< 965e9cccbe6b9c7b379908cebcb5e3a47f20dd5e; \>= 20b6cc34ea74b6a84599c1f8a70f3315b56a1883, \< b34ffb0c6d23583830f9327864b9c1f486003305; Linux 5.11.

### Is there a fix for CVE-2023-54033?

Yes. Fixed in Linux 79ea1a12fb9a8275b6e19d4ca625dd872dedcbb9, Linux 1a9e80f757bbb1562d82e350afce2bb2f712cc3d, Linux 965e9cccbe6b9c7b379908cebcb5e3a47f20dd5e. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-54033?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/79ea1a12fb9a8275b6e19d4ca625dd872dedcbb9>
- other: <https://git.kernel.org/stable/c/1a9e80f757bbb1562d82e350afce2bb2f712cc3d>
- other: <https://git.kernel.org/stable/c/965e9cccbe6b9c7b379908cebcb5e3a47f20dd5e>
- other: <https://git.kernel.org/stable/c/b34ffb0c6d23583830f9327864b9c1f486003305>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-54033>

HTML: <https://flawdb.com/CVE-2023-54033> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-54033>
