Linux
drm/virtio: bound EDID block reads to the response buffer
In the Linux kernel, the following vulnerability has been resolved: drm/virtio: bound EDID block reads to the response buffer virtio_get_edid_block() validates the read offset only against the device-supplied resp->size field, never against the fixed-size resp->edid array. The EDID block index is driven by the device-supplied extension count, so a malicious virtio-gpu backend can advertise a large size together with a high block count and read far past the array into adjacent kernel memory, which is then surfaced in the parsed EDID (an out-of-bounds read / info leak). Also reject any read whose end exceeds the size of the edid array. Conforming EDID responses stay within the array and are unaffected.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= b4b01b4995fb15b55a2d067eb405917f5ab32709, < 65ce911f341ad8ff0c08922eff5bb6db75666eb0
- >= b4b01b4995fb15b55a2d067eb405917f5ab32709, < 64bedd2758eccbc74d39f7006a7ec16fa39dc901
- >= b4b01b4995fb15b55a2d067eb405917f5ab32709, < 3f506a85a905b080cadc029a1651a310479090a6
- >= b4b01b4995fb15b55a2d067eb405917f5ab32709, < 9fc2a017c5d597937e0c28b9a9669844aa796c42
- >= b4b01b4995fb15b55a2d067eb405917f5ab32709, < 2757e6e803092cf0aeaf4b735e16b5d3bdc705c5
- >= b4b01b4995fb15b55a2d067eb405917f5ab32709, < 35be0e2c6862abcd5e5f5445261f1fd910d4a9b4
- >= b4b01b4995fb15b55a2d067eb405917f5ab32709, < 375c1934ef0196d3b6d3a1eae3232bef8dae7bf7
- >= b4b01b4995fb15b55a2d067eb405917f5ab32709, < 4e1a53892ba7f8a3e1da6bfc53c83ae7c812dccd
Fixed in 65ce911f341ad8ff0c08922eff5bb6db75666eb0, 64bedd2758eccbc74d39f7006a7ec16fa39dc901, 3f506a85a905b080cadc029a1651a310479090a6, 9fc2a017c5d597937e0c28b9a9669844aa796c42, 2757e6e803092cf0aeaf4b735e16b5d3bdc705c5, 35be0e2c6862abcd5e5f5445261f1fd910d4a9b4, 375c1934ef0196d3b6d3a1eae3232bef8dae7bf7, 4e1a53892ba7f8a3e1da6bfc53c83ae7c812dccd
- 5.0
Fixed in 0, 5.10.266, 5.15.217, 6.1.183, 6.6.148, 6.12.101, 6.18.42, 7.1.6, 7.2
Mitigation
Upgrade Linux to 65ce911f341ad8ff0c08922eff5bb6db75666eb0 or 64bedd2758eccbc74d39f7006a7ec16fa39dc901 or 3f506a85a905b080cadc029a1651a310479090a6 or 9fc2a017c5d597937e0c28b9a9669844aa796c42 or 2757e6e803092cf0aeaf4b735e16b5d3bdc705c5 or 35be0e2c6862abcd5e5f5445261f1fd910d4a9b4 or 375c1934ef0196d3b6d3a1eae3232bef8dae7bf7 or 4e1a53892ba7f8a3e1da6bfc53c83ae7c812dccd or later.
Upgrade Linux to 0 or 5.10.266 or 5.15.217 or 6.1.183 or 6.6.148 or 6.12.101 or 6.18.42 or 7.1.6 or 7.2 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.