CVE-2023-54033
bpf: fix a memory leak in the LRU and LRU_PERCPU hash maps
- Published
- Updated
- Reserved
- Assigned by
- Linux
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.
Timeline
ID reserved
By Linux
Published
- 5 months later
· 5 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
No CVSS score yet: neither the CNA, CISA nor NVD has scored this CVE. NVD status: Deferred.
- EPSS (exploitation in 30 days)
- 0.19% · top 92% of all CVEs (7 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Not scored.
Affected products
- affected 20b6cc34ea74b6a84599c1f8a70f3315b56a1883 – < 79ea1a12fb9a8275b6e19d4ca625dd872dedcbb9
- affected 20b6cc34ea74b6a84599c1f8a70f3315b56a1883 – < 1a9e80f757bbb1562d82e350afce2bb2f712cc3d
- affected 20b6cc34ea74b6a84599c1f8a70f3315b56a1883 – < 965e9cccbe6b9c7b379908cebcb5e3a47f20dd5e
- affected 20b6cc34ea74b6a84599c1f8a70f3315b56a1883 – < b34ffb0c6d23583830f9327864b9c1f486003305
- affected 5.11
- unaffected < 5.11
- unaffected 5.15.115 – ≤ 5.15.*
- unaffected 6.1.31 – ≤ 6.1.*
- unaffected 6.3.5 – ≤ 6.3.*
- unaffected 6.4 – ≤ *
References (4)
- https://git.kernel.org/stable/c/79ea1a12fb9a8275b6e19d4ca625dd872dedcbb9 (opens in a new tab)
- https://git.kernel.org/stable/c/1a9e80f757bbb1562d82e350afce2bb2f712cc3d (opens in a new tab)
- https://git.kernel.org/stable/c/965e9cccbe6b9c7b379908cebcb5e3a47f20dd5e (opens in a new tab)
- https://git.kernel.org/stable/c/b34ffb0c6d23583830f9327864b9c1f486003305 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2023-54033)Record last updated .