boxscore/security
CVE · referencelatest edition

Reference page — cumulative record through Wednesday, August 19, 2026 UTC. Reference pages update as the archive grows; only dated daily editions are immutable pages of record.

CVE-2023-52447MEDIUM
Linux Linux — bpf: Defer the free of inner map when necessary
  AV  AC  PR  UI  S  C  I  A   CVSS    EPSS   %ile   KEV
   L   L   H   N  U  H  H  H    6.7   .0025   16.6     —
AFFECTED
  Product  Versions                                    Fixed
  Linux    bba1dc0b55ac462d24ed1228ad49800c238cd6d7 –  —
  Linux    5.9 –                                       5.10.214
TIMELINE
  Feb 20  Reserved by Linux
  Feb 22  Published (CNA: Linux)
  Aug 4   RESCORED — CVE-2023-52447 (Linux). CVSS 7.8 → 6.7 (NVD).
CWE-416 · CNA: Linux · CVSS v3.1 · 8 references · NVD status: Modified

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Defer the free of inner map when necessary When updating or deleting an inner map in map array or map htab, the map may still be accessed by non-sleepable program or sleepable program. However bpf_map_fd_put_ptr() decreases the ref-counter of the inner map directly through bpf_map_put(), if the ref-counter is the last one (which is true for most cases), the inner map will be freed by ops->map_free() in a kworker. But for now, most .map_free() callbacks don't use synchronize_rcu() or its variants to wait for the elapse of a RCU grace period, so after the invocation of ops->map_free completes, the bpf program which is accessing the inner map may incur use-after-free problem. Fix the free of inner map by invoking bpf_map_free_deferred() after both one RCU grace period and one tasks trace RCU grace period if the inner map has been removed from the outer map before. The deferment is accomplished by using call_rcu() or call_rcu_tasks_trace() when releasing the last ref-counter of bpf map. The newly-added rcu_head field in bpf_map shares the same storage space with work field to reduce the size of bpf_map.

Lifecycle

Complete event history — 3 events, chronological
DateEventDetail
February 20, 2024ReservedReserved by Linux
February 22, 2024PublishedPublished (CNA: Linux)
August 4, 2026RESCOREDRESCORED — CVE-2023-52447 (Linux). CVSS 7.8 → 6.7 (NVD).

Affected

Affected products and packages — 2 rows
VendorProduct / PackageEcosystemVersion introducedFixed
LinuxLinuxbba1dc0b55ac462d24ed1228ad49800c238cd6d7
LinuxLinux5.95.10.214

Weaknesses

CWE-416

References (8)

Related

Authoritative record: CVE-2023-52447 at cve.org

Vendors: linux

Weaknesses: CWE-416

About this page

This is a reference page, not a dated page of record. It assembles the complete lifecycle of CVE-2023-52447 from the CVE Program record, NVD enrichment, the CISA KEV catalog, EPSS, and OSV advisories. The box score's numbers (CVSS, EPSS, KEV status) are current as of Wednesday, August 19, 2026 UTC and are re-derived as the archive grows; only dated daily editions are immutable pages of record. The authoritative source for this identifier is cve.org.