CVE-2024-49871

published 21 Oct 2024 · updated 11 May 2026

Input: adp5589-keys - fix NULL pointer dereference

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 122b160561f6429701a0559a0f39b0ae309488c6, Kernel 34e304cc53ae5d3c8e3f08b41dd11e0d4f3e01ed, Kernel 4449fedb8a710043fc0925409eba844c192d4337 and 3 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.11, >=30df385e35a48f773b85117fc490152c2395e45b <122b160561f6429701a0559a0f39b0ae309488c6, >=30df385e35a48f773b85117fc490152c2395e45b <34e304cc53ae5d3c8e3f08b41dd11e0d4f3e01ed, >=30df385e35a48f773b85117fc490152c2395e45b <4449fedb8a710043fc0925409eba844c192d4337, >=30df385e35a48f773b85117fc490152c2395e45b <7c3f04223aaf82489472d614c6decee5a1ce8d7f, >=30df385e35a48f773b85117fc490152c2395e45b <9a38791ee79bd17d225c15a6d1479448be127a59, >=30df385e35a48f773b85117fc490152c2395e45b <fb5cc65f973661241e4a2b7390b429aa7b330c69122b160561f6429701a0559a0f39b0ae309488c6, 34e304cc53ae5d3c8e3f08b41dd11e0d4f3e01ed, 4449fedb8a710043fc0925409eba844c192d4337, 7c3f04223aaf82489472d614c6decee5a1ce8d7f, 9a38791ee79bd17d225c15a6d1479448be127a59, fb5cc65f973661241e4a2b7390b429aa7b330c69

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-49871 severity on Zeptric[![CVE-2024-49871](https://zeptric.io/badge/cve/CVE-2024-49871.svg)](https://zeptric.io/cve/CVE-2024-49871)