KVM: arm64: vgic-its: Reject restored DTE with out-of-range num_eventid_bits
28Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 9epss 0.1%
exploitation probability
0.1%top 95% of all CVEs
observed exploitation
nono source reports it
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.
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:H
Affected products
Linux · LinuxReferences
https://git.kernel.org/stable/c/0680f511926589206f81f57f76ce131d7741a316https://git.kernel.org/stable/c/1716b7fea2ead941a0dfac06c4504a3437cdf00dhttps://git.kernel.org/stable/c/8bcd15b690a390241179516af1b6ae49ebfd9d95https://git.kernel.org/stable/c/9ce754ed8e7ab4e3999767ce1505f85c449ccb07https://git.kernel.org/stable/c/b94538186a3eae3763b8f96dacd610920a865aa7https://git.kernel.org/stable/c/dab9f93251b2c86a033de6098d0c73afddd55d4a