# CVE-2024-56634: gpio: grgpio: Add NULL check in grgpio_probe

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2024-12-27T15:02:32.192Z
- Modified: 2026-06-17T08:12:36.287Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 7eb6ce2f272336ff8337f40fa8668fa04dc2d684 before 53ff0caa6ad57372d426b4f48fc0f66df43a731f; from 7eb6ce2f272336ff8337f40fa8668fa04dc2d684 before 4733f68e59bb7b9e3d395699abb18366954b9ba7; from 7eb6ce2f272336ff8337f40fa8668fa04dc2d684 before ad4dfa7ea7f5f7e9a3c78627cfc749bc7005ca7a; from 7eb6ce2f272336ff8337f40fa8668fa04dc2d684 before 09adf8792b61c09ae543972a1ece1884ef773848; from 7eb6ce2f272336ff8337f40fa8668fa04dc2d684 before 8d2ca6ac3711a4f4015d26b7cc84f325ac608edb; from 7eb6ce2f272336ff8337f40fa8668fa04dc2d684 before db2fc255fcf41f536ac8666409849e11659af88d; from 7eb6ce2f272336ff8337f40fa8668fa04dc2d684 before 050b23d081da0f29474de043e9538c1f7a351b3b; 4.14 (not affected: before 4.14; from 5.4.287 up to 5.4.*; from 5.10.231 up to 5.10.*; from 5.15.174 up to 5.15.*; from 6.1.120 up to 6.1.*; from 6.6.66 up to 6.6.*; from 6.12.5 up to 6.12.*; from 6.13 up to *)
- linux linux_kernel: from 4.14 before 5.4.287; from 5.5 before 5.10.231; from 5.11 before 5.15.174; from 5.16 before 6.1.120; from 6.2 before 6.6.66; from 6.7 before 6.12.5

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/53ff0caa6ad57372d426b4f48fc0f66df43a731f> (patch)
- <https://git.kernel.org/stable/c/4733f68e59bb7b9e3d395699abb18366954b9ba7> (patch)
- <https://git.kernel.org/stable/c/ad4dfa7ea7f5f7e9a3c78627cfc749bc7005ca7a> (patch)
- <https://git.kernel.org/stable/c/09adf8792b61c09ae543972a1ece1884ef773848> (patch)
- <https://git.kernel.org/stable/c/8d2ca6ac3711a4f4015d26b7cc84f325ac608edb> (patch)
- <https://git.kernel.org/stable/c/db2fc255fcf41f536ac8666409849e11659af88d> (patch)
- <https://git.kernel.org/stable/c/050b23d081da0f29474de043e9538c1f7a351b3b> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>

## Sources

- CVE List: [CVE-2024-56634](https://www.cve.org/CVERecord?id=CVE-2024-56634), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-56634](https://nvd.nist.gov/vuln/detail/CVE-2024-56634), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-56634 · Whole record: https://cve.day/CVE-2024-56634.json · Rebuilt by cve.day 2026-11-25T22:58:50.492Z
