KVM: arm64: vgic-its: Don't dereference a NULL collection on ITT save
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel df829e4fe235b3a0dbf830986d81c040d3d2e940, Kernel 0fb71211146e39cf67811ccb873d2770a9c129ac, Kernel 2c3a87ad3d3935c43d465cd2465db9020f9e898f and 12 more.
In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: vgic-its: Don't dereference a NULL collection on ITT save MAPC with V=0 drops ite->collection but leaves the ITE on the device's ITT list, and vgic_its_save_ite() dereferences it unconditionally. A guest that issues MAPD, MAPTI and then MAPC(V=0) therefore oopses the host when the VMM issues KVM_DEV_ARM_ITS_SAVE_TABLES to migrate it. That sequence is UNPREDICTABLE per the architecture, but KVM already handles the resulting state in the translate, MOVI and DISCARD paths. Save a zeroed entry, which vgic_its_restore_ite() reads back as invalid. Skipping the ITE instead would leave the ITT slot holding whatever is in guest memory, and restore rejects an entry naming a collection the restored collection table does not have.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=eff484e0298da5a4d18ca82f5454c557fd942af5 <df829e4fe235b3a0dbf830986d81c040d3d2e940, >=eff484e0298da5a4d18ca82f5454c557fd942af5 <0fb71211146e39cf67811ccb873d2770a9c129ac, >=eff484e0298da5a4d18ca82f5454c557fd942af5 <2c3a87ad3d3935c43d465cd2465db9020f9e898f, >=eff484e0298da5a4d18ca82f5454c557fd942af5 <36df368861d2664291298feeb37dfef43fcae670, >=eff484e0298da5a4d18ca82f5454c557fd942af5 <3d4c26b16a04a084fe0bde08ccdd8086570f8bbe, >=eff484e0298da5a4d18ca82f5454c557fd942af5 <566d0f99aec92280ce403f22068eb07241a79e2a, >=eff484e0298da5a4d18ca82f5454c557fd942af5 <c6c156d931c33b92362383cf76f6d6e1291dcbfe, >=eff484e0298da5a4d18ca82f5454c557fd942af5 <dd0c3e6c03e3bb3fd7c0fa422230020674c5c25e, =4.12 | df829e4fe235b3a0dbf830986d81c040d3d2e940, 0fb71211146e39cf67811ccb873d2770a9c129ac, 2c3a87ad3d3935c43d465cd2465db9020f9e898f, 36df368861d2664291298feeb37dfef43fcae670, 3d4c26b16a04a084fe0bde08ccdd8086570f8bbe, 566d0f99aec92280ce403f22068eb07241a79e2a, c6c156d931c33b92362383cf76f6d6e1291dcbfe, dd0c3e6c03e3bb3fd7c0fa422230020674c5c25e |
| linux-kernel: Kernel | >=5.11.0 <5.15.224, >=5.16.0 <6.1.191, >=6.13.0 <6.18.51, >=6.19.0 <7.2.5, >=6.2.0 <6.6.160, >=6.7.0 <6.12.113, >=4.12.0 <5.10.273 | 5.15.224, 6.1.191, 6.18.51, 7.2.5, 6.6.160, 6.12.113, 5.10.273 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket