{"id":"CVE-2023-54033","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2025-12-24T11:15:56.297","lastModified":"2026-06-17T06:46:34.477","vulnStatus":"Deferred","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: fix a memory leak in the LRU and LRU_PERCPU hash maps\n\nThe LRU and LRU_PERCPU maps allocate a new element on update before locking the\ntarget hash table bucket. Right after that the maps try to lock the bucket.\nIf this fails, then maps return -EBUSY to the caller without releasing the\nallocated element. This makes the element untracked: it doesn't belong to\neither of free lists, and it doesn't belong to the hash table, so can't be\nre-used; this eventually leads to the permanent -ENOMEM on LRU map updates,\nwhich is unexpected. Fix this by returning the element to the local free list\nif bucket locking fails."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["kernel/bpf/hashtab.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"20b6cc34ea74b6a84599c1f8a70f3315b56a1883","lessThan":"79ea1a12fb9a8275b6e19d4ca625dd872dedcbb9","versionType":"git","status":"affected"},{"version":"20b6cc34ea74b6a84599c1f8a70f3315b56a1883","lessThan":"1a9e80f757bbb1562d82e350afce2bb2f712cc3d","versionType":"git","status":"affected"},{"version":"20b6cc34ea74b6a84599c1f8a70f3315b56a1883","lessThan":"965e9cccbe6b9c7b379908cebcb5e3a47f20dd5e","versionType":"git","status":"affected"},{"version":"20b6cc34ea74b6a84599c1f8a70f3315b56a1883","lessThan":"b34ffb0c6d23583830f9327864b9c1f486003305","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["kernel/bpf/hashtab.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"5.11","status":"affected"},{"version":"0","lessThan":"5.11","versionType":"semver","status":"unaffected"},{"version":"5.15.115","lessThanOrEqual":"5.15.*","versionType":"semver","status":"unaffected"},{"version":"6.1.31","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.3.5","lessThanOrEqual":"6.3.*","versionType":"semver","status":"unaffected"},{"version":"6.4","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/1a9e80f757bbb1562d82e350afce2bb2f712cc3d","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/79ea1a12fb9a8275b6e19d4ca625dd872dedcbb9","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/965e9cccbe6b9c7b379908cebcb5e3a47f20dd5e","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/b34ffb0c6d23583830f9327864b9c1f486003305","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}