CVE-2023-52879
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2023-52879 is a vulnerability in the Linux kernel's tracing subsystem that was discovered and disclosed in May 2024. The vulnerability affects multiple versions of the Linux kernel, including versions 5.4.258 through 5.4.262, 5.10.198 through 5.10.202, 5.15.134 through 5.15.140, 6.1.55 through 6.1.64, 6.5.5 through 6.5.13, and 6.6 through 6.6.1. This issue involves a use-after-free bug in the kernel's tracing functionality (NVD).

Technical details

The vulnerability occurs when a kprobe event creates a trace_event_file descriptor that represents the file in tracefs to the event. When a kprobe event is deleted while a file descriptor is still open, the event file descriptor is freed but can still be referenced when the user closes or writes to the file descriptor, leading to a use-after-free condition. The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (Medium) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

When exploited, this vulnerability can cause a kernel crash through a NULL pointer dereference, potentially leading to a denial of service condition. The impact is limited to availability, with no direct impact on confidentiality or integrity of the system (NVD).

Exploitability

The vulnerability can be triggered through a specific sequence of operations involving the tracefs system: changing to the tracing directory, creating a kprobe event, opening a file descriptor on the event's enable file, deleting the kprobe event, and then closing the file descriptor. This requires local access to the system with sufficient privileges to access the tracing subsystem (Kernel Patch).

Mitigation and workarounds

The vulnerability has been patched by adding a reference counter to the event file descriptor and introducing a new 'FREED' flag. The fix ensures that the file descriptor is not freed until all references are released, and the FREED flag prevents modifications to the event even if references still exist. The patch has been incorporated into various kernel versions (Kernel Patch).

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-93189HIGH8.8
  • Linux Kernel logoLinux Kernel
  • linux-azure-fips
NoYesSep 17, 2026
CVE-2026-93188MEDIUM6.5
  • Linux Kernel logoLinux Kernel
  • linux-nvidia-tegra-5.15
NoYesSep 17, 2026
CVE-2026-93182NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-fips
NoYesSep 17, 2026
CVE-2026-93181NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-4.15
NoNoSep 17, 2026
CVE-2026-93174NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-azure-fde-6.14
NoYesSep 17, 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