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.
References
Configurations
Configuration 1 (hide)
|
History
No history.
Information
Published : 2024-10-21 18:15
Updated : 2024-10-24 20:22
NVD link : CVE-2024-49871
Mitre link : CVE-2024-49871
CVE.ORG link : CVE-2024-49871
JSON object : View
Products Affected
linux
- linux_kernel
CWE
CWE-476
NULL Pointer Dereference