Linux
iommu/vt-d: Fix RB-tree corruption in probe error path
In the Linux kernel, the following vulnerability has been resolved: iommu/vt-d: Fix RB-tree corruption in probe error path The info->node RB-tree member is zero-initialized via kzalloc. If a device does not support ATS, the device_rbtree_insert() call is skipped. If a subsequent probe step fails, the error path jumps to device_rbtree_remove(), which misinterprets the zeroed node as a tree root and corrupts the device RB-tree. Fix this by explicitly initializing the RB-node as empty using RB_CLEAR_NODE() during initialization and guarding the removal with RB_EMPTY_NODE().
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 4f1492efb495bcef34c9ee8a94af81e6cea5abf4, < f5102e0fc3c6dc8685549891a96e4589fdb3e211
- >= 4f1492efb495bcef34c9ee8a94af81e6cea5abf4, < d16923a45d4d08367650fdc3451c89299ab6ac5a
- >= 4f1492efb495bcef34c9ee8a94af81e6cea5abf4, < 43bd9e6d5513cb1edbafdeef146a1edc3aaced56
Fixed in f5102e0fc3c6dc8685549891a96e4589fdb3e211, d16923a45d4d08367650fdc3451c89299ab6ac5a, 43bd9e6d5513cb1edbafdeef146a1edc3aaced56
- 6.15
Fixed in 0, 6.18.40, 7.1.5, 7.2
Mitigation
Upgrade Linux to f5102e0fc3c6dc8685549891a96e4589fdb3e211 or d16923a45d4d08367650fdc3451c89299ab6ac5a or 43bd9e6d5513cb1edbafdeef146a1edc3aaced56 or later.
Upgrade Linux to 0 or 6.18.40 or 7.1.5 or 7.2 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.