CVE-2023-52447
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2023-52447 is a use-after-free vulnerability discovered in the Linux kernel's BPF (Berkeley Packet Filter) subsystem. The vulnerability specifically affects how inner maps are handled in map arrays or map htabs, where the map may still be accessed by non-sleepable or sleepable programs after being freed (Security Online, NVD). The vulnerability affects Linux kernel versions from 5.9.0 up to versions before 6.1.75, 6.6.14, and 6.7.2.

Technical details

The vulnerability occurs when updating or deleting an inner map in map array or map htab. The issue arises because bpf_map_fd_put_ptr() decreases the ref-counter of the inner map directly through bpf_map_put(). If this is the last reference (common in most cases), the inner map is freed by ops->map_free() in a kworker. However, most .map_free() callbacks don't use synchronize_rcu() or its variants to wait for an RCU grace period, potentially leading to use-after-free conditions. The vulnerability has been assigned a CVSS v3.1 base score of 6.7 (Medium) with vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

The vulnerability can lead to use-after-free conditions in the Linux kernel's BPF subsystem, potentially allowing attackers to execute arbitrary code, cause system crashes, or escalate privileges. The impact is particularly significant in containerized environments where BPF programs are commonly used for networking and security monitoring (Security Online).

Exploitability

The vulnerability requires local access with high privileges to exploit. A proof-of-concept exploit has been published demonstrating the ability to trigger the use-after-free condition through careful orchestration of a race condition between two threads (Security Online).

Mitigation and workarounds

The vulnerability has been fixed by implementing proper deferred freeing of inner maps. The fix ensures that bpf_map_free_deferred() is called after both one RCU grace period and one tasks trace RCU grace period if the inner map has been removed from the outer map. The fix uses call_rcu() or call_rcu_tasks_trace() when releasing the last ref-counter of the BPF map (Kernel Patch). Users should update to Linux kernel versions 6.1.75, 6.6.14, 6.7.2 or later.

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-74730CRITICAL9.8
  • Linux Kernel logoLinux Kernel
  • linux
NoYesAug 22, 2026
CVE-2026-74733HIGH7.8
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-devel-matched
NoYesAug 22, 2026
CVE-2026-74726HIGH7.3
  • Linux Kernel logoLinux Kernel
  • kernel
NoYesAug 22, 2026
CVE-2026-74732MEDIUM5.5
  • Linux Kernel logoLinux Kernel
  • kernel-selftests-internal
NoYesAug 22, 2026
CVE-2026-74728NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-debug-modules-core
NoNoAug 22, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management