CVE-2024-56634

gpio: grgpio: Add NULL check in grgpio_probe

State
Published
Severity
5.5 Medium
Published
Dec 27, 2024
Updated
May 11, 2026
Reserved
Dec 27, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 7eb6ce2f272336ff8337f40fa8668fa04dc2d684 to before 53ff0caa6ad57372d426b4f48fc0f66df43a731fAffected
  • 7eb6ce2f272336ff8337f40fa8668fa04dc2d684 to before 4733f68e59bb7b9e3d395699abb18366954b9ba7Affected
  • 7eb6ce2f272336ff8337f40fa8668fa04dc2d684 to before ad4dfa7ea7f5f7e9a3c78627cfc749bc7005ca7aAffected
  • 7eb6ce2f272336ff8337f40fa8668fa04dc2d684 to before 09adf8792b61c09ae543972a1ece1884ef773848Affected
  • 7eb6ce2f272336ff8337f40fa8668fa04dc2d684 to before 8d2ca6ac3711a4f4015d26b7cc84f325ac608edbAffected
  • 7eb6ce2f272336ff8337f40fa8668fa04dc2d684 to before db2fc255fcf41f536ac8666409849e11659af88dAffected
  • 7eb6ce2f272336ff8337f40fa8668fa04dc2d684 to before 050b23d081da0f29474de043e9538c1f7a351b3bAffected
LinuxLinux
  • 4.14Affected
  • before 4.14Not affected
  • 5.4.287 through 5.4.*Not affected
  • 5.10.231 through 5.10.*Not affected
  • 5.15.174 through 5.15.*Not affected
  • 6.1.120 through 6.1.*Not affected
  • 6.6.66 through 6.6.*Not affected
  • 6.12.5 through 6.12.*Not affected
  • 6.13 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.