Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2023-52617— PCI: switchtec: Fix stdev_release() crash after surprise hot remove

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于stdev_release()存在安全漏洞。

AI Predicted 7.8 Difficulty: Moderate EPSS 0.24% · P14

Affected Version Matrix 16

VendorProduct Version RangeStatus
Linux Linux f7eb7b8a4f72b0d9dea69b09f58185ffab97fd35< d8c293549946ee5078ed0ab77793cec365559355 affected
f7eb7b8a4f72b0d9dea69b09f58185ffab97fd35< 4a5d0528cf19dbf060313dffbe047bc11c90c24c affected
f7eb7b8a4f72b0d9dea69b09f58185ffab97fd35< ff1c7e2fb9e9c3f53715fbe04d3ac47b80be7eb8 affected
f7eb7b8a4f72b0d9dea69b09f58185ffab97fd35< 1d83c85922647758c1f1e4806a4c5c3cf591a20a affected
f7eb7b8a4f72b0d9dea69b09f58185ffab97fd35< 0233b836312e39a3c763fb53512b3fa455b473b3 affected
f7eb7b8a4f72b0d9dea69b09f58185ffab97fd35< e129c7fa7070fbce57feb0bfc5eaa65eef44b693 affected
f7eb7b8a4f72b0d9dea69b09f58185ffab97fd35< df25461119d987b8c81d232cfe4411e91dcabe66 affected
5.0 affected
… +8 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2023-52617

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
PCI: switchtec: Fix stdev_release() crash after surprise hot remove
Source: CVE Program / CVE List V5
Vulnerability 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/20231113212150.96410-1-dns@arista.com
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于stdev_release()存在安全漏洞。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux f7eb7b8a4f72b0d9dea69b09f58185ffab97fd35 ~ d8c293549946ee5078ed0ab77793cec365559355 -
Linux Linux 5.0 -

II. Public POCs for CVE-2023-52617

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-52617

请登录查看更多情报信息。

Mailing List Discussions for CVE-2023-52617 (1)

Other References for CVE-2023-52617 (7)

Same Patch Batch · Linux · 2024-03-18 · 21 CVEs total

CVE-2024-26641 8.6 HIGH ip6_tunnel: make sure to pull inner header in __ip6_tnl_rcv()
CVE-2023-52616 7.8 HIGH crypto: lib/mpi - Fix unexpected pointer access in mpi_ec_init
CVE-2024-26640 7.8 HIGH tcp: add sanity checks to rx zerocopy
CVE-2024-26637 7.8 HIGH wifi: ath11k: rely on mac80211 debugfs handling for vif
CVE-2023-52614 7.8 HIGH PM / devfreq: Fix buffer overflow in trans_stat_show
CVE-2024-26632 7.8 HIGH block: Fix iterating over an empty bio with bio_for_each_folio_all
CVE-2024-26631 7.8 HIGH ipv6: mcast: fix data-race in ipv6_mc_down / mld_ifc_work
CVE-2023-52612 7.8 HIGH crypto: scomp - fix req->dst buffer overflow
CVE-2023-52610 7.5 HIGH net/sched: act_ct: fix skb leak and crash on ooo frags
CVE-2024-26633 ip6_tunnel: fix NEXTHDR_FRAGMENT handling in ip6_tnl_parse_tlv_enc_lim()
CVE-2023-52613 drivers/thermal/loongson2_thermal: Fix incorrect PTR_ERR() judgment
CVE-2023-52615 hwrng: core - Fix page fault dead lock on mmap-ed hwrng
CVE-2023-52609 binder: fix race between mmput() and do_exit()
CVE-2024-26634 net: fix removing a namespace with conflicting altnames
CVE-2024-26635 llc: Drop support for ETH_P_TR_802_2.
CVE-2024-26636 llc: make llc_ui_sendmsg() more robust against bonding changes
CVE-2024-26638 nbd: always initialize struct msghdr completely
CVE-2023-52618 block/rnbd-srv: Check for unlikely string overflow
CVE-2023-52619 pstore/ram: Fix crash when setting number of cpus to an odd number
CVE-2023-52611 wifi: rtw88: sdio: Honor the host max_req_size in the RX path

IV. Related Vulnerabilities

V. Comments for CVE-2023-52617

No comments yet


Leave a comment