Bug 2320423 (CVE-2024-49871) - CVE-2024-49871 kernel: Input: adp5589-keys - fix NULL pointer dereference
Summary: CVE-2024-49871 kernel: Input: adp5589-keys - fix NULL pointer dereference
Keywords:
Status: NEW
Alias: CVE-2024-49871
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2320766
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-21 19:01 UTC by OSIDB Bzimport
Modified: 2024-10-21 22:31 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-10-21 19:01:01 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.