fbdev: tdfxfb: avoid divide-by-zero on FBIOPUT_VSCREENINFO
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 · < fc386daa6846551a88d338ba9864fc2812cd9030| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
fbdev: tdfxfb: 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
A divide-by-zero vulnerability in Linux kernel fbdev handling can crash the kernel when pixclock is used during an FBIOPUT_VSCREENINFO request. Exploitation requires access to that ioctl; the input does not specify authentication requirements or affected versions. The description names both tdfxfb and udlfb, so the affected driver is unclear.
Engineers running the Linux kernel with fbdev support should check whether their deployments are affected; no affected versions are specified.