Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2023-52617

4.4 · MEDIUM
Published Mar 18, 2024 linux CWE-459 EPSS 0.24% (15th pctl)

Overview

CVE-2023-52617 is a medium-severity vulnerability affecting linux linux_kernel. It was published on March 18, 2024 and has a CVSS 3.1 base score of 4.4 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 4.4, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical Description

In the Linux kernel, the following vulnerability has been resolved:

PCI: switchtec: Fix stdev_release() crash after surprise hot remove

A PCI device hot removal may occur while stdev->cdev is held open. The call

to stdev_release() then happens during close or exit, at a point way past

switchtec_pci_remove(). Otherwise the last ref would vanish with the

trailing put_device(), just before return.

At that later point in time, the devm cleanup has already removed the

stdev->mmio_mrpc mapping. Also, the stdev->pdev reference was not a counted

one. Therefore, in DMA mode, the iowrite32() in stdev_release() will cause

a fatal page fault, and the subsequent dma_free_coherent(), if reached,

would pass a stale &stdev->pdev->dev pointer.

Fix by moving MRPC DMA shutdown into switchtec_pci_remove(), after

stdev_kill(). Counting the stdev->pdev ref is now optional, but may prevent

future accidents.

Reproducible via the script at

https://lore.kernel.org/r/[email protected]

Remediation

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
linux linux_kernel >= 0, < 5.4.269 Affected

Frequently Asked Questions

What is CVE-2023-52617?

CVE-2023-52617 is a medium-severity vulnerability affecting linux linux_kernel. It was published on March 18, 2024 and has a CVSS 3.1 base score of 4.4 (MEDIUM).

How severe is CVE-2023-52617?

This vulnerability has a CVSS 3.1 base score of 4.4, rated MEDIUM. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2023-52617?

Check the references section for vendor advisories and patches from linux. Update linux_kernel to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2023-52617?

CyberStrike's AI-powered security agents can automatically detect CVE-2023-52617 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.