Bug 2334410 (CVE-2024-53232) - CVE-2024-53232 kernel: iommu/s390: Implement blocking domain
Summary: CVE-2024-53232 kernel: iommu/s390: Implement blocking domain
Keywords:
Status: NEW
Alias: CVE-2024-53232
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-12-27 14:05 UTC by OSIDB Bzimport
Modified: 2025-06-20 11:01 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-12-27 14:05:11 UTC
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.

Comment 1 Avinash Hanwate 2024-12-28 10:32:34 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024122737-CVE-2024-53232-6919@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.