CVE-2023-52879 Vulnerability Analysis & Exploit Details

CVE-2023-52879
Vulnerability Scoring

5.5
/10
Significant Risk

Security assessments indicate that CVE-2023-52879 presents a notable risk, potentially requiring prompt mitigation.

Attack Complexity Details

  • Attack Complexity: Low
    Exploits can be performed without significant complexity or special conditions.
  • Attack Vector: Local
    Vulnerability requires local system access.
  • Privileges Required: Low
    Some privileges are necessary to exploit the vulnerability.
  • Scope: Unchanged
    Exploit remains within the originally vulnerable component.
  • User Interaction: None
    No user interaction is necessary for exploitation.

CVE-2023-52879 Details

Status: Analyzed

Last updated: 🕞 03 Feb 2025, 15:46 UTC
Originally published on: 🕓 21 May 2024, 16:15 UTC

Time between publication and last update: 257 days

CVSS Release: version 3

CVSS3 Source

nvd@nist.gov

CVSS3 Type

Primary

CVSS3 Vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CVE-2023-52879 Vulnerability Summary

CVE-2023-52879: In the Linux kernel, the following vulnerability has been resolved: tracing: Have trace_event_file have ref counters The following can crash the kernel: # cd /sys/kernel/tracing # echo 'p:sched schedule' > kprobe_events # exec 5>>events/kprobes/sched/enable # > kprobe_events # exec 5>&- The above commands: 1. Change directory to the tracefs directory 2. Create a kprobe event (doesn't matter what one) 3. Open bash file descriptor 5 on the enable file of the kprobe event 4. Delete the kprobe event (removes the files too) 5. Close the bash file descriptor 5 The above causes a crash! BUG: kernel NULL pointer dereference, address: 0000000000000028 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 0 P4D 0 Oops: 0000 [#1] PREEMPT SMP PTI CPU: 6 PID: 877 Comm: bash Not tainted 6.5.0-rc4-test-00008-g2c6b6b1029d4-dirty #186 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014 RIP: 0010:tracing_release_file_tr+0xc/0x50 What happens here is that the kprobe event creates a trace_event_file "file" descriptor that represents the file in tracefs to the event. It maintains state of the event (is it enabled for the given instance?). Opening the "enable" file gets a reference to the event "file" descriptor via the open file descriptor. When the kprobe event is deleted, the file is also deleted from the tracefs system which also frees the event "file" descriptor. But as the tracefs file is still opened by user space, it will not be totally removed until the final dput() is called on it. But this is not true with the event "file" descriptor that is already freed. If the user does a write to or simply closes the file descriptor it will reference the event "file" descriptor that was just freed, causing a use-after-free bug. To solve this, add a ref count to the event "file" descriptor as well as a new flag called "FREED". The "file" will not be freed until the last reference is released. But the FREE flag will be set when the event is removed to prevent any more modifications to that event from happening, even if there's still a reference to the event "file" descriptor.

Assessing the Risk of CVE-2023-52879

Access Complexity Graph

The exploitability of CVE-2023-52879 depends on two key factors: attack complexity (the level of effort required to execute an exploit) and privileges required (the access level an attacker needs).

Exploitability Analysis for CVE-2023-52879

CVE-2023-52879 presents an accessible attack vector with minimal effort required. Restricting access controls and implementing security updates are critical to reducing exploitation risks.

Understanding AC and PR

A lower complexity and fewer privilege requirements make exploitation easier. Security teams should evaluate these aspects to determine the urgency of mitigation strategies, such as patch management and access control policies.

Attack Complexity (AC) measures the difficulty in executing an exploit. A high AC means that specific conditions must be met, making an attack more challenging, while a low AC means the vulnerability can be exploited with minimal effort.

Privileges Required (PR) determine the level of system access necessary for an attack. Vulnerabilities requiring no privileges are more accessible to attackers, whereas high privilege requirements limit exploitation to authorized users with elevated access.

CVSS Score Breakdown Chart

Above is the CVSS Sub-score Breakdown for CVE-2023-52879, illustrating how Base, Impact, and Exploitability factors combine to form the overall severity rating. A higher sub-score typically indicates a more severe or easier-to-exploit vulnerability.

CIA Impact Analysis

Below is the Impact Analysis for CVE-2023-52879, showing how Confidentiality, Integrity, and Availability might be affected if the vulnerability is exploited. Higher values usually signal greater potential damage.

  • Confidentiality: None
    CVE-2023-52879 has no significant impact on data confidentiality.
  • Integrity: None
    CVE-2023-52879 poses no threat to data integrity.
  • Availability: High
    CVE-2023-52879 can disrupt system operations, potentially causing complete denial of service (DoS).

Exploit Prediction Scoring System (EPSS)

The EPSS score estimates the probability that this vulnerability will be exploited in the near future.

EPSS Score: 0.042% (probability of exploit)

EPSS Percentile: 5.07% (lower percentile = lower relative risk)
This vulnerability is less risky than approximately 94.93% of others.

CVE-2023-52879 References

External References

CWE Common Weakness Enumeration

CWE-476

Vulnerable Configurations

  • cpe:2.3:o:linux:linux_kernel:5.4.258:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.4.258:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.4.259:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.4.259:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.4.260:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.4.260:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.4.261:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.4.261:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.198:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.198:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.199:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.199:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.200:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.200:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.201:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.201:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.134:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.134:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.135:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.135:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.136:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.136:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.137:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.137:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.138:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.138:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.139:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.139:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.1.55:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.1.55:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.1.56:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.1.56:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.1.57:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.1.57:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.1.58:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.1.58:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.1.59:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.1.59:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.1.60:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.1.60:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.1.61:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.1.61:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.1.62:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.1.62:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.1.63:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.1.63:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.5.5:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.5.5:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.5.6:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.5.6:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.5.7:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.5.7:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.5.8:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.5.8:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.5.9:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.5.9:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.5.10:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.5.10:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.5.11:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.5.11:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.5.12:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.5.12:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.6:-:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.6:-:*:*:*:*:*:*

Protect Your Infrastructure against CVE-2023-52879: Combat Critical CVE Threats

Stay updated with real-time CVE vulnerabilities and take action to secure your systems. Enhance your cybersecurity posture with the latest threat intelligence and mitigation techniques. Develop the skills necessary to defend against CVEs and secure critical infrastructures. Join the top cybersecurity professionals safeguarding today's infrastructures.

Other 5 Recently Published CVEs Vulnerabilities

  • CVE-2025-43903 – NSSCryptoSignBackend.cc in Poppler before 25.04.0 does not verify the adbe.pkcs7.sha1 signatures on documents, resulting in potential signature forgeries.
  • CVE-2025-3796 – A vulnerability classified as critical has been found in PHPGurukul Men Salon Management System 1.0. This affects an unknown part of the file /admi...
  • CVE-2025-32953 – z80pack is a mature emulator of multiple platforms with 8080 and Z80 CPU. In version 1.38 and prior, the `makefile-ubuntu.yml` workflow file uses `...
  • CVE-2025-29058 – An issue in Qimou CMS v.3.34.0 allows a remote attacker to execute arbitrary code via the upgrade.php component.
  • CVE-2024-53591 – An issue in the login page of Seclore v3.27.5.0 allows attackers to bypass authentication via a brute force attack.