Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
b4b01b4995fb15b55a2d067eb405917f5ab32709 to < 65ce911f341ad8ff0c08922eff5bb6db75666eb0affectedb4b01b4995fb15b55a2d067eb405917f5ab32709 to < 64bedd2758eccbc74d39f7006a7ec16fa39dc901affectedb4b01b4995fb15b55a2d067eb405917f5ab32709 to < 3f506a85a905b080cadc029a1651a310479090a6affectedb4b01b4995fb15b55a2d067eb405917f5ab32709 to < 9fc2a017c5d597937e0c28b9a9669844aa796c42affectedb4b01b4995fb15b55a2d067eb405917f5ab32709 to < 2757e6e803092cf0aeaf4b735e16b5d3bdc705c5affectedb4b01b4995fb15b55a2d067eb405917f5ab32709 to < 35be0e2c6862abcd5e5f5445261f1fd910d4a9b4affectedb4b01b4995fb15b55a2d067eb405917f5ab32709 to < 375c1934ef0196d3b6d3a1eae3232bef8dae7bf7affectedb4b01b4995fb15b55a2d067eb405917f5ab32709 to < 4e1a53892ba7f8a3e1da6bfc53c83ae7c812dccdaffected
Linux Linux
Default version status: affected
5.0affected0 to < 5.0unaffected5.10.266 to ≤ 5.10.*unaffected5.15.217 to ≤ 5.15.*unaffected6.1.183 to ≤ 6.1.*unaffected6.6.148 to ≤ 6.6.*unaffected6.12.101 to ≤ 6.12.*unaffected6.18.42 to ≤ 6.18.*unaffected7.1.6 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/65ce911f341ad8ff0c08922eff5bb6db75666eb0 ↗
- https://git.kernel.org/stable/c/64bedd2758eccbc74d39f7006a7ec16fa39dc901 ↗
- https://git.kernel.org/stable/c/3f506a85a905b080cadc029a1651a310479090a6 ↗
- https://git.kernel.org/stable/c/9fc2a017c5d597937e0c28b9a9669844aa796c42 ↗
- https://git.kernel.org/stable/c/2757e6e803092cf0aeaf4b735e16b5d3bdc705c5 ↗
- https://git.kernel.org/stable/c/35be0e2c6862abcd5e5f5445261f1fd910d4a9b4 ↗
- https://git.kernel.org/stable/c/375c1934ef0196d3b6d3a1eae3232bef8dae7bf7 ↗
- https://git.kernel.org/stable/c/4e1a53892ba7f8a3e1da6bfc53c83ae7c812dccd ↗