🛡️ CVE-2023-52617 — debian-linux

🟡 CVSS 4.4 — Medium ✅ No Known Exploit CWE-459 NVD
4.4
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

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

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/20231113212150.96410-1-dns@arista.com

How this vulnerability can be exploited

This issue can be reached with local access to the system, attack complexity is low, an attacker needs administrative privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity none, availability high.

Weakness class

CVE-2023-52617 is classified as CWE-459: Incomplete Cleanup. Temporary state is not fully removed after use, leaving data or resources behind.

Affected software

CVE-2023-52617 is recorded against 3 packages.

  • debian-linux
  • kernel (from 6.7.0 up to 6.7.4)
  • linux-kernel (from 6.7 up to 6.7.4)

Timeline and source

Published on 18 March 2024 and last revised on 17 June 2026. No public exploit is currently recorded for this entry. A vendor advisory or fix has been published. Record sourced from NVD.

References

git.kernel.org
git.kernel.org
git.kernel.org
git.kernel.org
git.kernel.org
git.kernel.org
git.kernel.org
git.kernel.org
git.kernel.org
git.kernel.org
git.kernel.org
git.kernel.org
git.kernel.org
git.kernel.org
lists.debian.org

CVE-2023-52617 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity MEDIUM
CVSS Score 4.4
CVSS Vector CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
CWE CWE-459
Public Exploit ✅ No
Source NVD
Published 2024-03-18
Updated 2026-08-12
Modified 2026-06-17

Affected Packages

Software From version Fixed in
debian-linux
kernel 6.7.0 6.7.4
linux-kernel 6.7 6.7.4

References

Similar Threats

Vulnerability Monitoring

Track new vulnerabilities in debian-linux

CVE-2023-52617 is rated CVSS 4.4 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.

Set Up Free Alerts →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2023