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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2023-53123— PCI: s390: Fix use-after-free of PCI resources with per-function hotplug

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存在安全漏洞,该漏洞源于s390 PCI驱动在功能热插拔时存在资源释放后重用问题。

AI Predicted 6.5 Difficulty: Hard EPSS 0.18% · P8

Possible ATT&CK Techniques 1 AI

T1622 · Debugger Evasion

Affected Version Matrix 10

VendorProduct Version RangeStatus
Linux Linux a50297cf8235b062bcdeaa8b1dad58e69d3e1b43< 437bb839e36cc9f35adc6d2a2bf113b7a0fc9985 affected
a50297cf8235b062bcdeaa8b1dad58e69d3e1b43< a2410d0c3d2d714ed968a135dfcbed6aa3ff7027 affected
a50297cf8235b062bcdeaa8b1dad58e69d3e1b43< b99ebf4b62774e690e73a551cf5fbf6f219bdd96 affected
a50297cf8235b062bcdeaa8b1dad58e69d3e1b43< ab909509850b27fd39b8ba99e44cda39dbc3858c affected
5.13 affected
< 5.13 unaffected
5.15.104≤ 5.15.* unaffected
6.1.21≤ 6.1.* unaffected
… +2 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2023-53123

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: s390: Fix use-after-free of PCI resources with per-function hotplug
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: PCI: s390: Fix use-after-free of PCI resources with per-function hotplug On s390 PCI functions may be hotplugged individually even when they belong to a multi-function device. In particular on an SR-IOV device VFs may be removed and later re-added. In commit a50297cf8235 ("s390/pci: separate zbus creation from scanning") it was missed however that struct pci_bus and struct zpci_bus's resource list retained a reference to the PCI functions MMIO resources even though those resources are released and freed on hot-unplug. These stale resources may subsequently be claimed when the PCI function re-appears resulting in use-after-free. One idea of fixing this use-after-free in s390 specific code that was investigated was to simply keep resources around from the moment a PCI function first appeared until the whole virtual PCI bus created for a multi-function device disappears. The problem with this however is that due to the requirement of artificial MMIO addreesses (address cookies) extra logic is then needed to keep the address cookies compatible on re-plug. At the same time the MMIO resources semantically belong to the PCI function so tying their lifecycle to the function seems more logical. Instead a simpler approach is to remove the resources of an individually hot-unplugged PCI function from the PCI bus's resource list while keeping the resources of other PCI functions on the PCI bus untouched. This is done by introducing pci_bus_remove_resource() to remove an individual resource. Similarly the resource also needs to be removed from the struct zpci_bus's resource list. It turns out however, that there is really no need to add the MMIO resources to the struct zpci_bus's resource list at all and instead we can simply use the zpci_bar_struct's resource pointer directly.
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存在安全漏洞,该漏洞源于s390 PCI驱动在功能热插拔时存在资源释放后重用问题。
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 a50297cf8235b062bcdeaa8b1dad58e69d3e1b43 ~ 437bb839e36cc9f35adc6d2a2bf113b7a0fc9985 -
Linux Linux 5.13 -

II. Public POCs for CVE-2023-53123

# 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-53123

登录查看更多情报信息。

Patches & Fixes for CVE-2023-53123 (4)

Same Patch Batch · Linux · 2025-05-02 · 107 CVEs total

CVE-2023-53116 9.8 CRITICAL nvmet: avoid potential UAF in nvmet_req_complete()
CVE-2023-53083 9.8 CRITICAL nfsd: don't replace page in rq_pages if it's a continuation of last page
CVE-2023-53086 8.8 HIGH wifi: mt76: connac: do not check WED status for non-mmio devices
CVE-2025-37798 7.8 HIGH codel: remove sch->q.qlen check before qdisc_tree_reduce_backlog()
CVE-2023-53138 7.8 HIGH net: caif: Fix use-after-free in cfusbl_device_notify()
CVE-2023-53111 7.8 HIGH loop: Fix use-after-free issues
CVE-2023-53107 7.8 HIGH veth: Fix use after free in XDP_REDIRECT
CVE-2023-53102 7.8 HIGH ice: xsk: disable txq irq before flushing hw
CVE-2023-53100 7.8 HIGH ext4: fix WARNING in ext4_update_inline_data
CVE-2023-53094 7.8 HIGH tty: serial: fsl_lpuart: fix race on RX DMA shutdown
CVE-2023-53090 7.8 HIGH drm/amdkfd: Fix an illegal memory access
CVE-2023-53088 7.8 HIGH mptcp: fix UaF in listener shutdown
CVE-2023-53087 7.8 HIGH drm/i915/active: Fix misuse of non-idle barriers as fence trackers
CVE-2023-53084 7.8 HIGH drm/shmem-helper: Remove another errant put in error path
CVE-2023-53080 7.8 HIGH xsk: Add missing overflow check in xdp_umem_reg
CVE-2023-53072 7.8 HIGH mptcp: use the workqueue to destroy unaccepted sockets
CVE-2023-53065 7.8 HIGH perf/core: Fix perf_output_begin parameter is incorrectly invoked in perf_event_bpf_output
CVE-2023-53057 7.8 HIGH Bluetooth: HCI: Fix global-out-of-bounds
CVE-2023-53052 7.8 HIGH cifs: fix use-after-free bug in refresh_cache_worker()
CVE-2023-53046 7.8 HIGH Bluetooth: Fix race condition in hci_cmd_sync_clear

Showing top 20 of 107 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2023-53123

No comments yet


Leave a comment