Linux Kernel Division by Zero Vulnerability in CCS Media Driver

Vulnerability

A vulnerability in the Linux kernel's media CCS driver can lead to a division by zero error. This issue arises in the scaler configuration process, where the calculation of the maximum 'M' value involves dividing by the 'MIN_X_OUTPUT_SIZE' limit register. Although this value is expected to be non-zero, the driver lacked a proper check to confirm it. The vulnerability has been addressed by adding a safeguard to ensure the register value is valid before performing the division.

Impact

Exploitation of this vulnerability could cause a division by zero error, potentially leading to a system crash or undefined behavior.

Reproduction

The vulnerability can be reproduced by using the affected media CCS driver in the Linux kernel. The issue occurs when the scaler configuration is set up without the 'MIN_X_OUTPUT_SIZE' limit register being properly validated, allowing for a zero value to be used in a division operation, which can cause a runtime error or crash.

Remediation

Users can upgrade to the latest version of the Linux kernel where this vulnerability has been fixed. The patch is available in the Linux kernel stable tree.

Added: May 6, 2026, 3:18 PM
Updated: May 6, 2026, 3:18 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
4.3
remediation
7.7
relevance
7.6
threat
4.8
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.