PT-2024-8526 · Linux+7 · Linux Kernel+7

Keith Busch

·

Published

2024-07-01

·

Updated

2025-09-29

·

CVE-2024-42302

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel versions prior to 6.6.50
Description The issue is related to a use-after-free vulnerability in the Linux kernel's PCI/DPC subsystem. Specifically, the pci bridge wait for secondary bus() function neglects to hold a reference on the child device, leading to potential crashes or other security issues when a DPC event occurs concurrently with hot-removal of the same portion of the hierarchy. The vulnerability is caused by the dpc handler() awaiting readiness of the secondary bus below the Downstream Port where the DPC event occurred, and polling the config space of the first child device on the secondary bus. If that child device is concurrently removed, accesses to its struct pci dev cause the kernel to crash.
Recommendations To resolve the issue, update the Linux kernel to version 6.6.50 or later. As a temporary workaround, consider disabling the pci bridge wait for secondary bus() function until a patch is available. Restrict access to the vulnerable PCI/DPC subsystem to minimize the risk of exploitation. Avoid using the pci dev wait() function in conjunction with pci bridge wait for secondary bus() until the issue is resolved.

Exploit

Fix

Use After Free

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2025_12746
ALSA-2025_12752
ALSA-2025_12753
ALSA-2025_16880
ALT-PU-2024-11345
ALT-PU-2024-11524
ALT-PU-2024-11855
ALT-PU-2024-11863
ALT-PU-2024-12232
ALT-PU-2024-12537
ALT-PU-2024-13121
ALT-PU-2024-13979
ALT-PU-2024-14046
AZL-47962
AZL-48048
BDU:2024-10086
CVE-2024-42302
DLA-3912-1
DLA-4008-1
INFSA-2025_6966
MGASA-2024-0309
MGASA-2024-0310
OESA-2024-2076
OESA-2024-2077
OESA-2024-2078
OPENSUSE-SU-2024_3190-1
OPENSUSE-SU-2024_3209-1
OPENSUSE-SU-2024_3483-1
RHSA-2025:6966
RHSA-2025_6966
SUSE-SU-2024:3190-1
SUSE-SU-2024:3194-1
SUSE-SU-2024:3195-1
SUSE-SU-2024:3209-1
SUSE-SU-2024:3383-1
SUSE-SU-2024:3483-1
SUSE-SU-2025:20044-1
SUSE-SU-2025:20047-1
USN-7100-1
USN-7100-2
USN-7123-1
USN-7144-1
USN-7154-1
USN-7154-2
USN-7155-1
USN-7156-1
USN-7194-1
USN-7196-1

Affected Products

Alt Linux
Astra Linux
Linuxmint
Linux Kernel
Red Hat
Red Os
Suse
Ubuntu