Linux
KVM: arm64: vgic-its: Reject restored DTE with out-of-range num_eventid_bits
In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: vgic-its: Reject restored DTE with out-of-range num_eventid_bits Userspace can restore an ITS Device Table Entry whose Size field encodes more EventID bits than the virtual ITS supports. The live MAPD path rejects that state, but vgic_its_restore_dte() accepts it and stores the out-of-range value in dev->num_eventid_bits. Reject restored DTEs with num_eventid_bits > VITS_TYPER_IDBITS before allocating the device. This mirrors the MAPD check and prevents the restored state from reaching vgic_its_restore_itt(), where the unchecked value can be converted into an oversized scan_its_table() range.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 57a9a117154c93539e33161dd318e6aeb8c04efa, < 1716b7fea2ead941a0dfac06c4504a3437cdf00d
- >= 57a9a117154c93539e33161dd318e6aeb8c04efa, < dab9f93251b2c86a033de6098d0c73afddd55d4a
- >= 57a9a117154c93539e33161dd318e6aeb8c04efa, < b94538186a3eae3763b8f96dacd610920a865aa7
- >= 57a9a117154c93539e33161dd318e6aeb8c04efa, < 0680f511926589206f81f57f76ce131d7741a316
- >= 57a9a117154c93539e33161dd318e6aeb8c04efa, < 8bcd15b690a390241179516af1b6ae49ebfd9d95
- >= 57a9a117154c93539e33161dd318e6aeb8c04efa, < 9ce754ed8e7ab4e3999767ce1505f85c449ccb07
Fixed in 1716b7fea2ead941a0dfac06c4504a3437cdf00d, dab9f93251b2c86a033de6098d0c73afddd55d4a, b94538186a3eae3763b8f96dacd610920a865aa7, 0680f511926589206f81f57f76ce131d7741a316, 8bcd15b690a390241179516af1b6ae49ebfd9d95, 9ce754ed8e7ab4e3999767ce1505f85c449ccb07
- 4.12
Fixed in 0, 6.1.175, 6.6.142, 6.12.92, 6.18.34, 7.0.11, 7.1
Mitigation
Upgrade Linux to 1716b7fea2ead941a0dfac06c4504a3437cdf00d or dab9f93251b2c86a033de6098d0c73afddd55d4a or b94538186a3eae3763b8f96dacd610920a865aa7 or 0680f511926589206f81f57f76ce131d7741a316 or 8bcd15b690a390241179516af1b6ae49ebfd9d95 or 9ce754ed8e7ab4e3999767ce1505f85c449ccb07 or later.
Upgrade Linux to 0 or 6.1.175 or 6.6.142 or 6.12.92 or 6.18.34 or 7.0.11 or 7.1 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.