drm/amdgpu: Bound GPIO I2C table entry count from VBIOS
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/amdgpu: Bound GPIO I2C table entry count from VBIOS
Reject undersized tables and cap the derived entry count to AMDGPU_MAX_I2C_BUS so we do not overrun adev->i2c_bus[] or walk an absurd number of entries on corrupt size fields.
From the CVE record · Linux
The Linux kernel's amdgpu driver can derive an excessive GPIO I2C table entry count from undersized tables or corrupt VBIOS size fields. This can overrun the i2c_bus array or cause the driver to walk an excessive number of entries. The input does not specify an attack route, authentication requirement, or user interaction.
Operators running Linux kernels with the amdgpu driver should check whether their kernel includes the fix; affected versions are not specified.