CVE-2023-52564 Vulnerability Analysis & Exploit Details

CVE-2023-52564
Vulnerability Scoring

5.5
/10
Significant Risk

Security assessments indicate that CVE-2023-52564 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-52564 Details

Status: Analyzed

Last updated: 🕠 07 Jan 2025, 17:34 UTC
Originally published on: 🕙 02 Mar 2024, 22:15 UTC

Time between publication and last update: 310 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-52564 Vulnerability Summary

CVE-2023-52564: In the Linux kernel, the following vulnerability has been resolved: Revert "tty: n_gsm: fix UAF in gsm_cleanup_mux" This reverts commit 9b9c8195f3f0d74a826077fc1c01b9ee74907239. The commit above is reverted as it did not solve the original issue. gsm_cleanup_mux() tries to free up the virtual ttys by calling gsm_dlci_release() for each available DLCI. There, dlci_put() is called to decrease the reference counter for the DLCI via tty_port_put() which finally calls gsm_dlci_free(). This already clears the pointer which is being checked in gsm_cleanup_mux() before calling gsm_dlci_release(). Therefore, it is not necessary to clear this pointer in gsm_cleanup_mux() as done in the reverted commit. The commit introduces a null pointer dereference: <TASK> ? __die+0x1f/0x70 ? page_fault_oops+0x156/0x420 ? search_exception_tables+0x37/0x50 ? fixup_exception+0x21/0x310 ? exc_page_fault+0x69/0x150 ? asm_exc_page_fault+0x26/0x30 ? tty_port_put+0x19/0xa0 gsmtty_cleanup+0x29/0x80 [n_gsm] release_one_tty+0x37/0xe0 process_one_work+0x1e6/0x3e0 worker_thread+0x4c/0x3d0 ? __pfx_worker_thread+0x10/0x10 kthread+0xe1/0x110 ? __pfx_kthread+0x10/0x10 ret_from_fork+0x2f/0x50 ? __pfx_kthread+0x10/0x10 ret_from_fork_asm+0x1b/0x30 </TASK> The actual issue is that nothing guards dlci_put() from being called multiple times while the tty driver was triggered but did not yet finished calling gsm_dlci_free().

Assessing the Risk of CVE-2023-52564

Access Complexity Graph

The exploitability of CVE-2023-52564 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-52564

CVE-2023-52564 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-52564, 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-52564, 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-52564 has no significant impact on data confidentiality.
  • Integrity: None
    CVE-2023-52564 poses no threat to data integrity.
  • Availability: High
    CVE-2023-52564 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.02% (lower percentile = lower relative risk)
This vulnerability is less risky than approximately 94.98% of others.

CVE-2023-52564 References

External References

CWE Common Weakness Enumeration

CWE-476

Vulnerable Configurations

  • cpe:2.3:o:linux:linux_kernel:5.10.190:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.190:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.191:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.191:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.192:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.192:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.193:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.193:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.194:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.194:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.195:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.195:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.196:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.196:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.10.197:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.10.197:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.124:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.124:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.125:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.125:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.126:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.126:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.127:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.127:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.128:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.128:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.129:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.129:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.130:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.130:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.131:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.131:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.132:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.132:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:5.15.133:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:5.15.133:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.1.43:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.1.43:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.1.44:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.1.44:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.1.45:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.1.45:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.1.46:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.1.46:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.1.47:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.1.47:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.1.48:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.1.48:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.1.49:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.1.49:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.1.50:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.1.50:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.1.51:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.1.51:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.1.52:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.1.52:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.1.53:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.1.53:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.1.54:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.1.54:*:*:*:*:*:*:*
  • 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.5:-:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.5:-:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.5.1:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.5.1:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.5.2:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.5.2:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.5.3:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.5.3:*:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.5.4:*:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.5.4:*:*:*:*:*:*:*
  • 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.6:rc1:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.6:rc1:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.6:rc2:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.6:rc2:*:*:*:*:*:*
  • cpe:2.3:o:linux:linux_kernel:6.6:rc3:*:*:*:*:*:*
    cpe:2.3:o:linux:linux_kernel:6.6:rc3:*:*:*:*:*:*

Protect Your Infrastructure against CVE-2023-52564: 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-26205 – Lua 5.4.7, when the debug library is used, has a out-of-bounds read and segmentation violation in mainpositionTV in ltable.c. NOTE: this is dispute...
  • CVE-2025-26204 – Lua 5.4.7, when the debug library is used, has a out-of-bounds read and segmentation violation in equalkey in ltable.c. NOTE: this is disputed beca...
  • CVE-2025-2129 – A vulnerability was found in Mage AI 0.9.75. It has been classified as problematic. This affects an unknown part. The manipulation leads to insecur...
  • CVE-2025-2127 – A vulnerability was found in JoomlaUX JUX Real Estate 3.4.0 on Joomla. It has been classified as problematic. Affected is an unknown function of th...
  • CVE-2025-2126 – A vulnerability was found in JoomlaUX JUX Real Estate 3.4.0 on Joomla and classified as critical. This issue affects some unknown processing of the...