Bug 2334527 (CVE-2024-56634) - CVE-2024-56634 kernel: gpio: grgpio: Add NULL check in grgpio_probe
Summary: CVE-2024-56634 kernel: gpio: grgpio: Add NULL check in grgpio_probe
Keywords:
Status: NEW
Alias: CVE-2024-56634
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:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-12-27 16:01 UTC by OSIDB Bzimport
Modified: 2025-01-21 10:45 UTC (History)
4 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-12-27 16:01:24 UTC
In the Linux kernel, the following vulnerability has been resolved:

gpio: grgpio: Add NULL check in grgpio_probe

devm_kasprintf() can return a NULL pointer on failure,but this
returned value in grgpio_probe is not checked.
Add NULL check in grgpio_probe, to handle kernel NULL
pointer dereference error.

Comment 1 Avinash Hanwate 2024-12-28 03:51:18 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024122734-CVE-2024-56634-f6d5@gregkh/T


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