CVE-2024-49871

MediumCVSS 5.5/10Last modified Jun 17, 2026

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.

Metrics

CVSS 3.1 5.5/10CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Weakness enumeration

Affected software

VendorProductVersions
LinuxLinux>= 30df385e35a48f773b85117fc490152c2395e45b, < 4449fedb8a710043fc0925409eba844c192d4337; >= 30df385e35a48f773b85117fc490152c2395e45b, < 34e304cc53ae5d3c8e3f08b41dd11e0d4f3e01ed; >= 30df385e35a48f773b85117fc490152c2395e45b, < 7c3f04223aaf82489472d614c6decee5a1ce8d7f; >= 30df385e35a48f773b85117fc490152c2395e45b, < 9a38791ee79bd17d225c15a6d1479448be127a59; >= 30df385e35a48f773b85117fc490152c2395e45b, < 122b160561f6429701a0559a0f39b0ae309488c6; >= 30df385e35a48f773b85117fc490152c2395e45b, < fb5cc65f973661241e4a2b7390b429aa7b330c69
LinuxLinux5.11

References

Timeline

Published
Oct 21, 2024
Last modified
Jun 17, 2026
NVD status
Modified

Related CVEs from 2024

CVE-2024-498724.7In the Linux kernel, the following vulnerability has been resolved: mm/gup: fix memfd_pin_folios alloc race panic If memfd_pin_folios trieCVE-2024-498735.5In the Linux kernel, the following vulnerability has been resolved: mm/filemap: fix filemap_get_folios_contig THP panic Patch series "memfCVE-2024-498747.0In the Linux kernel, the following vulnerability has been resolved: i3c: master: svc: Fix use after free vulnerability in svc_i3c_master DrCVE-2024-498755.5In the Linux kernel, the following vulnerability has been resolved: nfsd: map the EBADMSG to nfserr_io to avoid warning Ext4 will throw -ECVE-2024-498767.8In the Linux kernel, the following vulnerability has been resolved: drm/xe: fix UAF around queue destruction We currently do stuff like quCVE-2024-498775.5In the Linux kernel, the following vulnerability has been resolved: ocfs2: fix possible null-ptr-deref in ocfs2_set_buffer_uptodate When dCVE-2024-498785.5In the Linux kernel, the following vulnerability has been resolved: resource: fix region_intersects() vs add_memory_driver_managed() On a CVE-2024-498795.5In the Linux kernel, the following vulnerability has been resolved: drm: omapdrm: Add missing check for alloc_ordered_workqueue As it may CVE-2024-49887.5The mobile application (com.transsion.videocallenhancer) interface has improper permission control, which can lead to the risk of private fiCVE-2024-498807.8In the Linux kernel, the following vulnerability has been resolved: ext4: fix off by one issue in alloc_flex_gd() Wesley reported an issueCVE-2024-498815.5In the Linux kernel, the following vulnerability has been resolved: ext4: update orig_path in ext4_find_extent() In ext4_find_extent(), ifCVE-2024-498827.8In the Linux kernel, the following vulnerability has been resolved: ext4: fix double brelse() the buffer of the extents path In ext4_ext_t
CVE-2024-49871: Medium severity, CVSS 5.5 | Vulnix