CVE-2023-53123
Linux Kernel vulnerability analysis and mitigation

Overview

A use-after-free vulnerability has been identified in the Linux kernel's PCI subsystem, specifically affecting s390 architecture systems. The vulnerability (CVE-2023-53123) was discovered in the PCI resource handling for per-function hotplug operations on s390 systems. The issue occurs when PCI functions are individually hotplugged, particularly in cases involving multi-function devices and SR-IOV virtual functions (NVD).

Technical details

The vulnerability stems from a flaw introduced in commit a50297cf8235 ("s390/pci: separate zbus creation from scanning") where both struct pci_bus and struct zpci_bus's resource lists maintain references to PCI functions' MMIO resources even after these resources are released during hot-unplug. When the PCI function is re-added, these stale resources may be claimed again, resulting in a use-after-free condition (NVD).

Impact

The vulnerability can lead to system instability and potential security risks due to the use-after-free condition in the kernel's PCI resource management system. This particularly affects systems using SR-IOV devices where virtual functions are frequently removed and re-added (NVD).

Mitigation and workarounds

The fix involves removing resources of individually hot-unplugged PCI functions from the PCI bus's resource list while keeping other PCI functions' resources intact. This is implemented through the introduction of pci_bus_remove_resource() function. Additionally, the fix eliminates the need to add MMIO resources to the struct zpci_bus's resource list, instead utilizing the zpci_bar_struct's resource pointer directly (NVD).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel-matched
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • linux-gcp
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-core
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-uki-virt
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-modules-extra
NoYesJan 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management