Linux Kernel Null Pointer Dereference Vulnerability in dw2102 Media Driver

Vulnerability

A null pointer dereference vulnerability has been identified in the Linux kernel's media dw2102 driver. The issue arises in the dw2102_i2c_transfer function, where the 'msg' parameter is user-controlled. If 'msg[i].buf' is null and 'msg[i].len' is zero, the existing checks on 'msg[i].buf' would be bypassed, allowing malicious data to reach the function. Without proper validation, accessing 'msg[i].buf[0]' could lead to a null pointer dereference, causing a crash. The vulnerability has been addressed by adding a check on 'msg[i].len' to prevent such crashes.

Impact

Exploitation of this vulnerability leads to a null pointer dereference, causing a crash.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
5.3
remediation
0.0
relevance
0.0
threat
3.2
urgency
2.9
incentive
1.7

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