{"id":"CVE-2024-49871","aliases":["CVE-2024-49871"],"related":[],"kind":"vulnerability","state":"published","title":"Input: adp5589-keys - fix NULL pointer dereference","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: Entrada: adp5589-keys - corrección de la desreferencia de puntero NULL Registramos una acción devm para llamar a adp5589_clear_config() y luego pasamos el cliente i2c como argumento para que podamos llamar a i2c_get_clientdata() para obtener nuestro objeto de dispositivo. Sin embargo, i2c_set_clientdata() solo se establece al final de la función de sondeo, lo que significa que obtendremos una desreferencia de puntero NULL en caso de que la función de sondeo falle antes.","source":"nvd"}],"published":"2024-10-21T18:01:12.711Z","modified":"2026-06-17T08:00:37.620Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"30df385e35a48f773b85117fc490152c2395e45b","fixed":"4449fedb8a710043fc0925409eba844c192d4337","status":"affected"},{"type":"git","introduced":"30df385e35a48f773b85117fc490152c2395e45b","fixed":"34e304cc53ae5d3c8e3f08b41dd11e0d4f3e01ed","status":"affected"},{"type":"git","introduced":"30df385e35a48f773b85117fc490152c2395e45b","fixed":"7c3f04223aaf82489472d614c6decee5a1ce8d7f","status":"affected"},{"type":"git","introduced":"30df385e35a48f773b85117fc490152c2395e45b","fixed":"9a38791ee79bd17d225c15a6d1479448be127a59","status":"affected"},{"type":"git","introduced":"30df385e35a48f773b85117fc490152c2395e45b","fixed":"122b160561f6429701a0559a0f39b0ae309488c6","status":"affected"},{"type":"git","introduced":"30df385e35a48f773b85117fc490152c2395e45b","fixed":"fb5cc65f973661241e4a2b7390b429aa7b330c69","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.11","status":"unaffected"},{"type":"semver","introduced":"5.15.168","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.113","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.55","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.10.14","lastAffected":"6.10.*","status":"unaffected"},{"type":"semver","introduced":"6.11.3","lastAffected":"6.11.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.12","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.11","fixed":"5.15.168"},{"status":"affected","introduced":"5.16","fixed":"6.1.113"},{"status":"affected","introduced":"6.2","fixed":"6.6.55"},{"status":"affected","introduced":"6.7","fixed":"6.10.14"},{"status":"affected","introduced":"6.11","fixed":"6.11.3"},{"status":"affected","version":"6.12"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/4449fedb8a710043fc0925409eba844c192d4337","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/34e304cc53ae5d3c8e3f08b41dd11e0d4f3e01ed","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7c3f04223aaf82489472d614c6decee5a1ce8d7f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9a38791ee79bd17d225c15a6d1479448be127a59","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/122b160561f6429701a0559a0f39b0ae309488c6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fb5cc65f973661241e4a2b7390b429aa7b330c69","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-10-22T13:46:56.372Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-49871","url":"https://www.cve.org/CVERecord?id=CVE-2024-49871","licence":"CVE Terms of Use","modified":"2026-05-11T20:40:51.103Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-49871","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-49871","licence":"Public domain","modified":"2026-06-17T08:00:37.620Z"}],"updatedAt":"2026-11-25T22:58:47.018Z","epss":{"score":0.00236,"percentile":0.15589,"date":"2026-12-01T12:00:22.000Z"}}