CVE-2023-53221Missing Release of Memory after Effective Lifetime in Linux

Severity
5.5MEDIUMNVD
EPSS
0.0%
top 93.72%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedSep 15

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Fix memleak due to fentry attach failure If it fails to attach fentry, the allocated bpf trampoline image will be left in the system. That can be verified by checking /proc/kallsyms. This meamleak can be verified by a simple bpf program as follows: SEC("fentry/trap_init") int fentry_run() { return 0; } It will fail to attach trap_init because this function is freed after kernel init, and then we can find the trampoline

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitability: 1.8 | Impact: 3.6

Patches

🔴Vulnerability Details

2
GHSA
GHSA-2px5-v96w-8g69: In the Linux kernel, the following vulnerability has been resolved: bpf: Fix memleak due to fentry attach failure If it fails to attach fentry, the2025-09-15
OSV
CVE-2023-53221: In the Linux kernel, the following vulnerability has been resolved: bpf: Fix memleak due to fentry attach failure If it fails to attach fentry, the al2025-09-15

📋Vendor Advisories

3
Red Hat
kernel: bpf: Fix memleak due to fentry attach failure2025-09-15
Microsoft
bpf: Fix memleak due to fentry attach failure2025-09-09
Debian
CVE-2023-53221: linux - In the Linux kernel, the following vulnerability has been resolved: bpf: Fix me...2023
CVE-2023-53221 — Linux vulnerability | cvebase