CVE-2023-52446
Linux Debian vulnerability analysis and mitigation

Overview

CVE-2023-52446 is a race condition vulnerability discovered in the Linux kernel between btf_put() and map_free() functions. The vulnerability was identified when running test_progs with parallel execution, which triggered a KASAN (Kernel Address Sanitizer) error indicating a use-after-free condition in the bpf_rb_root_free function (Kernel Patch).

Technical details

The vulnerability stems from a race condition between CPU threads where one thread executes btf_put with an RCU callback while another thread handles bpf_map_free_deferred with system_unbound_wq. This can lead to a situation where btf_struct_metas_free() is called before map->ops->map_free(), potentially causing a use-after-free condition when accessing the value_rec pointer, which may have been freed by btf_struct_metas_free(). The issue has been assigned a CVSS v3.1 base score of 7.8 HIGH with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD).

Impact

The vulnerability could allow an attacker with local access to cause a denial of service through a kernel crash, potentially leading to system instability. The use-after-free condition could also potentially be exploited to achieve privilege escalation or unauthorized access to kernel memory (NVD).

Mitigation and workarounds

The issue has been fixed by moving the btf_put() call after the map_free callback in the kernel code. This solution was chosen over an alternative approach that would have used a kptr style fix, as it provides a cleaner and more maintainable solution (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-33230HIGH7.3
  • Linux DebianLinux Debian
  • nvidia-cuda-toolkit
NoNoJan 20, 2026
CVE-2025-33229HIGH7.3
  • Linux DebianLinux Debian
  • nvidia-cuda-toolkit
NoNoJan 20, 2026
CVE-2025-33228HIGH7.3
  • Linux DebianLinux Debian
  • nvidia-cuda-toolkit
NoNoJan 20, 2026
CVE-2025-33231MEDIUM6.7
  • Linux DebianLinux Debian
  • nvidia-cuda-toolkit
NoNoJan 20, 2026
CVE-2025-15281N/AN/A
  • WolfiWolfi
  • glibc-langpack-anp
NoYesJan 20, 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