CVE-2023-54033

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

N/A
Published: December 24, 2025 at 10:56 AM UTC
Updated: June 17, 2026 at 06:46 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 0.2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.11 ≤ v < 5.15.1155.11 ≤ v < 6.1.315.11 ≤ v < 6.3.55.11 ≤ v < 6.420b6cc34ea74b6a84599c1f8a70f3315b56a18835.11
Vendor states this is fixed in 1a9e80f757bbb1562d82e350afce2bb2f712cc3d (fixed)
Vendor states this is fixed in 79ea1a12fb9a8275b6e19d4ca625dd872dedcbb9 (fixed)
Vendor states this is fixed in 965e9cccbe6b9c7b379908cebcb5e3a47f20dd5e (fixed)
Vendor states this is fixed in b34ffb0c6d23583830f9327864b9c1f486003305 (fixed)
Vendor states this is fixed in 5.11 (unaffected)
Vendor states this is fixed in 5.15.115 (unaffected)
Vendor states this is fixed in 6.1.31 (unaffected)
Vendor states this is fixed in 6.3.5 (unaffected)
Vendor states this is fixed in 6.4 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

Quick Info

StatusDEFERRED

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card