# CVE-2024-49871: Input: adp5589-keys - fix NULL pointer dereference

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-10-21T18:01:12.711Z
- Modified: 2026-06-17T08:00:37.620Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 30df385e35a48f773b85117fc490152c2395e45b before 4449fedb8a710043fc0925409eba844c192d4337; from 30df385e35a48f773b85117fc490152c2395e45b before 34e304cc53ae5d3c8e3f08b41dd11e0d4f3e01ed; from 30df385e35a48f773b85117fc490152c2395e45b before 7c3f04223aaf82489472d614c6decee5a1ce8d7f; from 30df385e35a48f773b85117fc490152c2395e45b before 9a38791ee79bd17d225c15a6d1479448be127a59; from 30df385e35a48f773b85117fc490152c2395e45b before 122b160561f6429701a0559a0f39b0ae309488c6; from 30df385e35a48f773b85117fc490152c2395e45b before fb5cc65f973661241e4a2b7390b429aa7b330c69; 5.11 (not affected: before 5.11; from 5.15.168 up to 5.15.*; from 6.1.113 up to 6.1.*; from 6.6.55 up to 6.6.*; from 6.10.14 up to 6.10.*; from 6.11.3 up to 6.11.*; from 6.12 up to *)
- linux linux_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; 6.12

## References

- <https://git.kernel.org/stable/c/4449fedb8a710043fc0925409eba844c192d4337> (patch)
- <https://git.kernel.org/stable/c/34e304cc53ae5d3c8e3f08b41dd11e0d4f3e01ed> (patch)
- <https://git.kernel.org/stable/c/7c3f04223aaf82489472d614c6decee5a1ce8d7f> (patch)
- <https://git.kernel.org/stable/c/9a38791ee79bd17d225c15a6d1479448be127a59> (patch)
- <https://git.kernel.org/stable/c/122b160561f6429701a0559a0f39b0ae309488c6> (patch)
- <https://git.kernel.org/stable/c/fb5cc65f973661241e4a2b7390b429aa7b330c69> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Sources

- CVE List: [CVE-2024-49871](https://www.cve.org/CVERecord?id=CVE-2024-49871), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-49871](https://nvd.nist.gov/vuln/detail/CVE-2024-49871), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-49871 · Whole record: https://cve.day/CVE-2024-49871.json · Rebuilt by cve.day 2026-11-25T22:58:47.018Z
