Medium · published July 4, 2025
In the Linux kernel, the following vulnerability has been resolved:
drm/amd/display: Avoid divide by zero by initializing dummy pitch to 1
[Why]
If the dummy values in `populate_dummy_dml_surface_cfg()` aren't updated
then they can lead to a divide by zero in downstream callers like
CalculateVMAndRowBytes()
[How]
Initialize dummy value to a value to avoid divide by zero.
| Product | Versions | Fixed in |
|---|---|---|
| linux/linux_kernel | ≥ 6.7, < 6.15.4 | 6.15.4 |