drm/virtio: bound EDID block reads to the response buffer
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 9fc2a017c5d597937e0c28b9a9669844aa796c42, Kernel 2757e6e803092cf0aeaf4b735e16b5d3bdc705c5, Kernel 35be0e2c6862abcd5e5f5445261f1fd910d4a9b4 and 12 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=b4b01b4995fb15b55a2d067eb405917f5ab32709 <9fc2a017c5d597937e0c28b9a9669844aa796c42, >=b4b01b4995fb15b55a2d067eb405917f5ab32709 <2757e6e803092cf0aeaf4b735e16b5d3bdc705c5, >=b4b01b4995fb15b55a2d067eb405917f5ab32709 <35be0e2c6862abcd5e5f5445261f1fd910d4a9b4, >=b4b01b4995fb15b55a2d067eb405917f5ab32709 <375c1934ef0196d3b6d3a1eae3232bef8dae7bf7, >=b4b01b4995fb15b55a2d067eb405917f5ab32709 <3f506a85a905b080cadc029a1651a310479090a6, >=b4b01b4995fb15b55a2d067eb405917f5ab32709 <4e1a53892ba7f8a3e1da6bfc53c83ae7c812dccd, >=b4b01b4995fb15b55a2d067eb405917f5ab32709 <64bedd2758eccbc74d39f7006a7ec16fa39dc901, >=b4b01b4995fb15b55a2d067eb405917f5ab32709 <65ce911f341ad8ff0c08922eff5bb6db75666eb0, =5.0 | 9fc2a017c5d597937e0c28b9a9669844aa796c42, 2757e6e803092cf0aeaf4b735e16b5d3bdc705c5, 35be0e2c6862abcd5e5f5445261f1fd910d4a9b4, 375c1934ef0196d3b6d3a1eae3232bef8dae7bf7, 3f506a85a905b080cadc029a1651a310479090a6, 4e1a53892ba7f8a3e1da6bfc53c83ae7c812dccd, 64bedd2758eccbc74d39f7006a7ec16fa39dc901, 65ce911f341ad8ff0c08922eff5bb6db75666eb0 |
| linux-kernel: Kernel | >=5.11.0 <5.15.217, >=5.16.0 <6.1.183, >=6.13.0 <6.18.42, >=6.19.0 <7.1.6, >=6.2.0 <6.6.148, >=6.7.0 <6.12.101, >=5.0.0 <5.10.266 | 5.15.217, 6.1.183, 6.18.42, 7.1.6, 6.6.148, 6.12.101, 5.10.266 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket