media: ccs: Avoid possible division by zero
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ ccfc97bdb5ae8b8edc55169ac6924e08449836ac · < 8ca7df18e7a58a0e5b0ed9eaaa34e16fc5cb9680| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
media: ccs: Avoid possible division by zero
Calculating maximum M for scaler configuration involves dividing by MIN_X_OUTPUT_SIZE limit register's value. Albeit the value is presumably non-zero, the driver was missing the check it in fact was. Fix this.
From the CVE record · Linux
The Linux kernel media ccs driver did not check whether the MIN_X_OUTPUT_SIZE limit register was zero before using it to calculate a scaler setting. A zero value could cause division by zero; the input does not specify how an attacker could trigger it or whether access or user interaction is required.
Engineers running the Linux kernel should check whether their kernel includes the affected media ccs driver; affected versions are not specified.