NetSight
medium5.5

CVE-2024-49871

In the Linux kernel, the following vulnerability has been resolved: Input: adp5589-keys - fix NULL pointer dereference We register a devm action to call adp558…

Impact

In the Linux kernel, the following vulnerability has been resolved: Input: adp5589-keys - fix NULL pointer dereference We register a devm action to call adp5589_clear_config() and then pass the i2c client as argument so that we can call i2c_get_clientdata() in order to get our device object. However, i2c_set_clientdata() is only being set at the end of the probe function which means that we'll get a NULL pointer dereference in case the probe function fails early.

Affected products

VendorProductAffected versions
LinuxLinux Kernel
from 5.11 before 5.15.168
from 5.16 before 6.1.113
from 6.2 before 6.6.55
from 6.7 before 6.10.14
from 6.11 before 6.11.3
Version 6.12

Weakness classification

References