fbdev: udlfb: avoid divide-by-zero on FBIOPUT_VSCREENINFO
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 59277b679f8b5ce594e367759256668eba652d0d · < 6de048d78f3029744778b7a2891745f3ca7c209a| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
fbdev: udlfb: avoid divide-by-zero on FBIOPUT_VSCREENINFO
Much like commit 19f953e74356 ("fbdev: fb_pm2fb: Avoid potential divide by zero error"), we also need to prevent that same crash from happening in the udlfb driver as it uses pixclock directly when dividing, which will crash.
From the CVE record · Linux
The Linux kernel's udlfb driver can divide by zero when handling FBIOPUT_VSCREENINFO with a zero pixclock value. An attacker able to submit that request to the driver could crash the kernel; the input does not specify authentication requirements.
Engineers running Linux kernels with the udlfb driver should check their versions against the vendor advisory; affected versions were not provided.