CVE-2024-56634
JSON

5.5medium

gpio: grgpio: Add NULL check in grgpio_probe

Severity
5.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.26% (higher than 18% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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.*
CVE List
linux linux_kernelfrom 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.5NVD

All scores

CISA-ADP5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-476

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: gpio: grgpio: Agregar comprobación NULL en grgpio_probe. devm_kasprintf() puede devolver un puntero NULL en caso de error, pero este valor devuelto en grgpio_probe no se comprueba. Agregar comprobación NULL en grgpio_probe para controlar el error de desreferencia de puntero NULL del kernel.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-56634 changed 2026-05-11CVE Terms of Use
NVDCVE-2024-56634 changed 2026-06-17Public domain