KVM: arm64: vgic-its: Reject restored DTE with out-of-range num_eventid_bits
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.1.175, 6.6.142, 6.12.92, 6.18.34, 7.0.11
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
From 57a9a117154c93539e33161dd318e6aeb8c04efa · fixed in 1716b7fea2ead941a0dfac06c4504a3437cdf00d; From 57a9a117154c93539e33161dd318e6aeb8c04efa · fixed in dab9f93251b2c86a033de6098d0c73afddd55d4a; From 57a9a117154c93539e33161dd318e6aeb8c04efa · fixed in b94538186a3eae3763b8f96dacd610920a865aa7; From 57a9a117154c93539e33161dd318e6aeb8c04efa · fixed in 0680f511926589206f81f57f76ce131d7741a316; From 57a9a117154c93539e33161dd318e6aeb8c04efa · fixed in 8bcd15b690a390241179516af1b6ae49ebfd9d95; From 57a9a117154c93539e33161dd318e6aeb8c04efa · fixed in 9ce754ed8e7ab4e3999767ce1505f85c449ccb07
- Linux Linux
4.12
- KernelLinux
From 4.12.0 · fixed in 6.1.175; From 6.2.0 · fixed in 6.6.142; From 6.7.0 · fixed in 6.12.92; From 6.13.0 · fixed in 6.18.34; From 6.19.0 · fixed in 7.0.11