{"id":"CVE-2024-49871","summary":"Input: adp5589-keys - fix NULL pointer dereference","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nInput: adp5589-keys - fix NULL pointer dereference\n\nWe register a devm action to call adp5589_clear_config() and then pass\nthe i2c client as argument so that we can call i2c_get_clientdata() in\norder to get our device object. However, i2c_set_clientdata() is only\nbeing set at the end of the probe function which means that we'll get a\nNULL pointer dereference in case the probe function fails early.","modified":"2026-04-16T04:31:49.641364065Z","published":"2024-10-21T18:01:12.711Z","related":["SUSE-SU-2024:3984-1","SUSE-SU-2024:3986-1","SUSE-SU-2024:4315-1","SUSE-SU-2024:4318-1","SUSE-SU-2024:4364-1","SUSE-SU-2024:4376-1","SUSE-SU-2024:4387-1","SUSE-SU-2025:20163-1","SUSE-SU-2025:20164-1","SUSE-SU-2025:20246-1","SUSE-SU-2025:20247-1","USN-7276-1","USN-7277-1","openSUSE-SU-2024:14500-1","openSUSE-SU-2025:14705-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49871.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/122b160561f6429701a0559a0f39b0ae309488c6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/34e304cc53ae5d3c8e3f08b41dd11e0d4f3e01ed"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4449fedb8a710043fc0925409eba844c192d4337"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7c3f04223aaf82489472d614c6decee5a1ce8d7f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9a38791ee79bd17d225c15a6d1479448be127a59"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fb5cc65f973661241e4a2b7390b429aa7b330c69"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/49xxx/CVE-2024-49871.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-49871"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"30df385e35a48f773b85117fc490152c2395e45b"},{"fixed":"4449fedb8a710043fc0925409eba844c192d4337"},{"fixed":"34e304cc53ae5d3c8e3f08b41dd11e0d4f3e01ed"},{"fixed":"7c3f04223aaf82489472d614c6decee5a1ce8d7f"},{"fixed":"9a38791ee79bd17d225c15a6d1479448be127a59"},{"fixed":"122b160561f6429701a0559a0f39b0ae309488c6"},{"fixed":"fb5cc65f973661241e4a2b7390b429aa7b330c69"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-49871.json"}}],"schema_version":"1.7.5"}