CVE-2024-56634

Source
https://cve.org/CVERecord?id=CVE-2024-56634
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-56634.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-56634
Downstream
Related
Published
2024-12-27T15:02:32.192Z
Modified
2026-07-08T07:38:42.622798591Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
gpio: grgpio: Add NULL check in grgpio_probe
Details

In the Linux kernel, the following vulnerability has been resolved:

gpio: grgpio: Add NULL check in grgpio_probe

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

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56634.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7eb6ce2f272336ff8337f40fa8668fa04dc2d684
Fixed
53ff0caa6ad57372d426b4f48fc0f66df43a731f
Fixed
4733f68e59bb7b9e3d395699abb18366954b9ba7
Fixed
ad4dfa7ea7f5f7e9a3c78627cfc749bc7005ca7a
Fixed
09adf8792b61c09ae543972a1ece1884ef773848
Fixed
8d2ca6ac3711a4f4015d26b7cc84f325ac608edb
Fixed
db2fc255fcf41f536ac8666409849e11659af88d
Fixed
050b23d081da0f29474de043e9538c1f7a351b3b

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-56634.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.14.0
Fixed
5.4.287
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.231
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.174
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.120
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.66
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-56634.json"