Linux Kernel i2c Device Name Handling Null Pointer Dereference Vulnerability

Vulnerability

A vulnerability in the Linux kernel's i2c subsystem has been addressed, which involved improper handling of device names. The issue arose because the function dev_set_name() was not properly checked for errors. If dev_set_name() failed, it could lead to a null pointer dereference when dev_name() was called. The vulnerability has been resolved by adding a check for the return value of dev_set_name() to prevent the null pointer dereference.

Impact

Exploitation of this vulnerability could lead to a null pointer dereference, causing a kernel 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
4.0
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.