CVE-2024-56634: Linux kernel · gpio: grgpio: Add NULL check in grgpio_probe
Source GCVE Database
Not known to be exploited · CVSS 5.5 Medium.
Data as of 30 Oct 2026, 00:51 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 27 Dec 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
AI-suggested
A fix has been implemented by adding a NULL pointer check in the grgpio_probe function. Users should apply the official Linux kernel updates that include this fix once available.
Description
CVE-2024-56634 is a medium severity vulnerability in the Linux kernel's gpio grgpio driver. The issue arises because the function grgpio_probe does not check for a NULL pointer return from devm_kasprintf(), which can fail. This can lead to a kernel NULL pointer dereference error causing a denial of service. The vulnerability has been resolved by adding a NULL check in grgpio_probe.
References
- nvd.nist.gov/vuln/detail/CVE-2024-56634 (opens in a new tab)
- git.kernel.org/stable/c/050b23d081da0f29474de043e9538c1f7a351b3b (opens in a new tab)
- git.kernel.org/stable/c/09adf8792b61c09ae543972a1ece1884ef773848 (opens in a new tab)
- git.kernel.org/stable/c/4733f68e59bb7b9e3d395699abb18366954b9ba7 (opens in a new tab)
- git.kernel.org/stable/c/53ff0caa6ad57372d426b4f48fc0f66df43a731f (opens in a new tab)
- git.kernel.org/stable/c/8d2ca6ac3711a4f4015d26b7cc84f325ac608edb (opens in a new tab)
- git.kernel.org/stable/c/ad4dfa7ea7f5f7e9a3c78627cfc749bc7005ca7a (opens in a new tab)
- git.kernel.org/stable/c/db2fc255fcf41f536ac8666409849e11659af88d (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00001.html (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00002.html (opens in a new tab)