fbmon: prevent division by zero in fb_videomode_from_videomode()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 2db54c72395298a58f29c75ae880be9e478fdbbd · < 3d4b909704bf2114f64f87363fa22b5ef8ac4a33| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
fbmon: prevent division by zero in fb_videomode_from_videomode()
The expression htotal * vtotal can have a zero value on overflow. It is necessary to prevent division by zero like in fb_var_to_videomode().
Found by Linux Verification Center (linuxtesting.org) with Svace.
From the CVE record · Linux
In the Linux kernel, an overflow in fb_videomode_from_videomode() can make a divisor zero, causing a division by zero. The input does not specify how an attacker could trigger this or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels should check whether their kernel includes the fbmon fix; affected versions are not specified.