drm/amd/display: Clamp HDMI HDCP2 rx_id_list read to buffer size
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5.15.210, Kernel 6.1.176, Kernel 5.10.259 and 12 more.
In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Clamp HDMI HDCP2 rx_id_list read to buffer size [Why & How] During HDCP 2.x repeater authentication over HDMI, the driver reads the sink's RxStatus register and extracts a 10-bit message size field (max value 1023). This value is used as the read length for the ReceiverID list without being clamped to the size of the destination buffer rx_id_list[177]. A malicious HDMI repeater could advertise a message size larger than the buffer, causing an out-of-bounds write during the I2C read. Clamp the read length in mod_hdcp_read_rx_id_list() to the size of the rx_id_list buffer, matching the approach already used in the DP branch. (cherry picked from commit 229212219e4247d9486f8ba41ef087358490be09)
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=5.11 <5.15.210, >=5.16 <6.1.176, >=5.6 <5.10.259, >=6.13 <6.18.36, >=6.19 <7.0.13, >=6.2 <6.6.143, >=6.7 <6.12.94, =7.1, >=eff682f83c9c2030761e7536c5d97e1b20f71c15 <3c4444aec06c74fbc05661f370954ac814963c38, >=eff682f83c9c2030761e7536c5d97e1b20f71c15 <79e0273272a05fb26f9b1e55bf1a52eefc3b7b35, >=eff682f83c9c2030761e7536c5d97e1b20f71c15 <91fb41218c413989d8b6c837748751454b452d68, >=eff682f83c9c2030761e7536c5d97e1b20f71c15 <964e50ef7b8f09815a7d05b8326af700f8d5bc96, >=eff682f83c9c2030761e7536c5d97e1b20f71c15 <98cfb7530ea91d8e5e928285cdce58e1131f6e83, >=eff682f83c9c2030761e7536c5d97e1b20f71c15 <bfba882cfcd08f6540f72f48e786b6404f5d2c5b, >=eff682f83c9c2030761e7536c5d97e1b20f71c15 <f0f3981c43b32cadfe373d636d9e9ca522bb3702, =5.6, >=eff682f83c9c2030761e7536c5d97e1b20f71c15 <1906064d50d194a145486e5caf3db3e708b6f6ef | 5.15.210, 6.1.176, 5.10.259, 6.18.36, 7.0.13, 6.6.143, 6.12.94, 3c4444aec06c74fbc05661f370954ac814963c38, 79e0273272a05fb26f9b1e55bf1a52eefc3b7b35, 91fb41218c413989d8b6c837748751454b452d68, 964e50ef7b8f09815a7d05b8326af700f8d5bc96, 98cfb7530ea91d8e5e928285cdce58e1131f6e83, bfba882cfcd08f6540f72f48e786b6404f5d2c5b, f0f3981c43b32cadfe373d636d9e9ca522bb3702, 1906064d50d194a145486e5caf3db3e708b6f6ef |
| linux-kernel: Kernel | >=5.11.0 <5.15.210, >=5.16.0 <6.1.176, >=5.6.0 <5.10.259, >=6.13.0 <6.18.36, >=6.19.0 <7.0.13, >=6.2.0 <6.6.143, >=6.7.0 <6.12.94 | 5.15.210, 6.1.176, 5.10.259, 6.18.36, 7.0.13, 6.6.143, 6.12.94 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket