CVE-2024-53232

MEDIUM

Linux Kernel 6.7-6.11.11, 6.12.0-6.12.2, 6.13 - Use-After-Free via PCI Device Hot-Unplug

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: iommu/s390: Implement blocking domain This fixes a crash when surprise hot-unplugging a PCI device. This crash happens because during hot-unplug __iommu_group_set_domain_nofail() attaching the default domain fails when the platform no longer recognizes the device as it has already been removed and we end up with a NULL domain pointer and UAF. This is exactly the case referred to in the second comment in __iommu_device_set_domain() and just as stated there if we can instead attach the blocking domain the UAF is prevented as this can handle the already removed device. Implement the blocking domain to use this handling. With this change, the crash is fixed but we still hit a warning attempting to change DMA ownership on a blocked device.

Scores

CVSS v3 5.5
EPSS 0.0022
EPSS Percentile 13.0%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-416 CWE-476
Status published
Products (11)
linux/Kernel 6.12.0 - 6.12.2linux
linux/Kernel 6.7.0 - 6.11.11linux
Linux/Linux < 6.7
Linux/Linux 6.11.11 - 6.11.*
Linux/Linux 6.12.2 - 6.12.*
Linux/Linux 6.13
Linux/Linux 6.7
Linux/Linux c76c067e488ccd55734c3e750799caf2c5956db6 - 3be34fa1cdbf180c1a948cfededfdf2cdc497199
Linux/Linux c76c067e488ccd55734c3e750799caf2c5956db6 - bd89d94f3ea6fdaee983cbc69226a00b9bde6d59
Linux/Linux c76c067e488ccd55734c3e750799caf2c5956db6 - ecda483339a5151e3ca30d6b82691ef6f1d17912
... and 1 more
Published Dec 27, 2024
Tracked Since Feb 18, 2026