Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2023-53221

published medium CVSS 3.1 · 5.5

bpf: Fix memleak due to fentry attach failure

Published
15 Sep 2025, 14:21:50 UTC
Updated
23 May 2026, 15:28:16 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxe21aa341785c679dd409c8cb71f864c00fe6c463 to < 20109ddd5bea2c24d790debf5d02584ef24c3f5e · e21aa341785c679dd409c8cb71f864c00fe6c463 to < f72c67d1a82dada7d6d504c806e111e913721a30 · e21aa341785c679dd409c8cb71f864c00fe6c463 to < 6aa27775db63ba8c7c73891c7dfb71ddc230c48d · e21aa341785c679dd409c8cb71f864c00fe6c463 to < 108598c39eefbedc9882273ac0df96127a629220 · e21d2b92354b3cd25dd774ebb0f0e52ff04a7861 · 85d177f56e5256e14b74a65940f981f6e3e8bb32 · 5.10.28 to < 5.11 · 5.11.11 to < 5.12 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.12 (affected) · 0 to < 5.12 (unaffected · semver) · 6.1.39 through 6.1.* (unaffected · semver) · 6.3.13 through 6.3.* (unaffected · semver) · 6.4.4 through 6.4.* (unaffected · semver) · 6.5 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected; No Fix Planned Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2023-299 Fixed Not stated Amazon Linux assessment
Red Hat Enterprise Linux RHEL-9 bpftoolaarch64 Advisory build 7.3.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 bpftoolppc64le Advisory build 7.3.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 bpftools390x Advisory build 7.3.0-427.13.1.el9_4 RHSA-2024:2394
Show 97 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Red Hat Enterprise Linux RHEL-9 bpftoolx86_64 Advisory build 7.3.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfoaarch64 Advisory build 7.3.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfoppc64le Advisory build 7.3.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfos390x Advisory build 7.3.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 bpftool-debuginfox86_64 Advisory build 7.3.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernelaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernelppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernels390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernelsrc Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernelx86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64kaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-coreaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-debugaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-coreaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-debuginfoaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-develaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-devel-matchedaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modulesaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modules-coreaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-debug-modules-extraaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-debuginfoaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-develaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-devel-matchedaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-modulesaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-modules-coreaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-64k-modules-extraaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-abi-stablelistsnoarch Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-coreaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-coreppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-cores390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-corex86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debugaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debugppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debugs390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debugx86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-coreaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-coreppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-cores390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-corex86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfoaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfoppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfos390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-debuginfox86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-develaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-develppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-devels390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-develx86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matcheds390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-devel-matchedx86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-moduless390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-modulesx86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-coreaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-coreppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-cores390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-corex86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extraaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extrappc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extras390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-modules-extrax86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debug-uki-virtx86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debuginfoaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debuginfoppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debuginfos390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debuginfox86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-aarch64aarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-ppc64leppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-s390xs390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-debuginfo-common-x86_64x86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-develaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-develppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-devels390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-develx86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-devel-matchedaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-devel-matchedppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-devel-matcheds390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-devel-matchedx86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-docnoarch Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-modulesaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-modulesppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-moduless390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-modulesx86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-modules-coreaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-modules-coreppc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-modules-cores390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-modules-corex86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-modules-extraaarch64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-modules-extrappc64le Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-modules-extras390x Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-modules-extrax86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-rtx86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-rt-corex86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-rt-debugx86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394
Red Hat Enterprise Linux RHEL-9 kernel-rt-debug-corex86_64 Advisory build 5.14.0-427.13.1.el9_4 RHSA-2024:2394

Package entries are limited to the first 100 builds and 100 linked advisories.

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 image is left in the system by checking /proc/kallsyms. $ tail /proc/kallsyms ffffffffc0613000 t bpf_trampoline_6442453466_1 [bpf] ffffffffc06c3000 t bpf_trampoline_6442453466_1 [bpf] $ bpftool btf dump file /sys/kernel/btf/vmlinux | grep "FUNC 'trap_init'" [2522] FUNC 'trap_init' type_id=119 linkage=static $ echo $((6442453466 & 0x7fffffff)) 2522 Note that there are two left bpf trampoline images, that is because the libbpf will fallback to raw tracepoint if -EINVAL is returned.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

11

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
5.5 / 10
Severity
medium
Provider
CISA-ADP · adp
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux e21aa341785c679dd409c8cb71f864c00fe6c463 to < 20109ddd5bea2c24d790debf5d02584ef24c3f5e (affected · git)e21aa341785c679dd409c8cb71f864c00fe6c463 to < f72c67d1a82dada7d6d504c806e111e913721a30 (affected · git)e21aa341785c679dd409c8cb71f864c00fe6c463 to < 6aa27775db63ba8c7c73891c7dfb71ddc230c48d (affected · git)e21aa341785c679dd409c8cb71f864c00fe6c463 to < 108598c39eefbedc9882273ac0df96127a629220 (affected · git)e21d2b92354b3cd25dd774ebb0f0e52ff04a7861 (affected · git)85d177f56e5256e14b74a65940f981f6e3e8bb32 (affected · git)5.10.28 to < 5.11 (affected · semver)5.11.11 to < 5.12 (affected · semver)Default: unaffected Linux · cna
Linux Linux 5.12 (affected)0 to < 5.12 (unaffected · semver)6.1.39 through 6.1.* (unaffected · semver)6.3.13 through 6.3.* (unaffected · semver)6.4.4 through 6.4.* (unaffected · semver)6.5 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

1
  • CWE-401 CWE-401 Missing Release of Memory after Effective Lifetime (CISA-ADP · adp)

References

4

Provider assertions

2

Linux · cna

bpf: Fix memleak due to fentry attach failure

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
6d26a8f1faee39aca9c7757add88ad68f9cd78e23095d98e63da4e2a3cebfff1
Ingested
23 Sep 2026, 08:14:44 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected