Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 4f1492efb495bcef34c9ee8a94af81e6cea5abf4 before f5102e0fc3c6dc8685549891a96e4589fdb3e211; affected 4f1492efb495bcef34c9ee8a94af81e6cea5abf4 before d16923a45d4d08367650fdc3451c89299ab6ac5a; affected 4f1492efb495bcef34c9ee8a94af81e6cea5abf4 before 43bd9e6d5513cb1edbafdeef146a1edc3aaced56 |
| Linux / Linux | affected 6.15; unaffected 0 before 6.15; unaffected 6.18.40 through 6.18.*; unaffected 7.1.5 through 7.1.*; unaffected 7.2 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/f5102e0fc3c6dc8685549891a96e4589fdb3e211
- https://git.kernel.org/stable/c/d16923a45d4d08367650fdc3451c89299ab6ac5a
- https://git.kernel.org/stable/c/43bd9e6d5513cb1edbafdeef146a1edc3aaced56
ADP enrichment
No English description supplied.
No references supplied.