{"id":"CVE-2023-54033","aliases":["CVE-2023-54033"],"related":[],"kind":"vulnerability","state":"published","title":"bpf: fix a memory leak in the LRU and LRU_PERCPU hash maps","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2025-12-24T10:56:00.579Z","modified":"2026-06-17T06:46:34.477Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"20b6cc34ea74b6a84599c1f8a70f3315b56a1883","fixed":"79ea1a12fb9a8275b6e19d4ca625dd872dedcbb9","status":"affected"},{"type":"git","introduced":"20b6cc34ea74b6a84599c1f8a70f3315b56a1883","fixed":"1a9e80f757bbb1562d82e350afce2bb2f712cc3d","status":"affected"},{"type":"git","introduced":"20b6cc34ea74b6a84599c1f8a70f3315b56a1883","fixed":"965e9cccbe6b9c7b379908cebcb5e3a47f20dd5e","status":"affected"},{"type":"git","introduced":"20b6cc34ea74b6a84599c1f8a70f3315b56a1883","fixed":"b34ffb0c6d23583830f9327864b9c1f486003305","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.11","status":"unaffected"},{"type":"semver","introduced":"5.15.115","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.31","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.3.5","lastAffected":"6.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.4","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/79ea1a12fb9a8275b6e19d4ca625dd872dedcbb9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1a9e80f757bbb1562d82e350afce2bb2f712cc3d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/965e9cccbe6b9c7b379908cebcb5e3a47f20dd5e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b34ffb0c6d23583830f9327864b9c1f486003305","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-54033","url":"https://www.cve.org/CVERecord?id=CVE-2023-54033","licence":"CVE Terms of Use","modified":"2026-05-11T19:54:07.901Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-54033","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54033","licence":"Public domain","modified":"2026-06-17T06:46:34.477Z"}],"updatedAt":"2026-11-25T22:58:35.149Z","epss":{"score":0.002,"percentile":0.10327,"date":"2026-12-01T12:00:22.000Z"}}