CVE-2024-56671: gpio: graniterapids: Fix vGPIO driver crash

Published Dec 27, 2024
·
Updated

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

gpio: graniterapids: Fix vGPIO driver crash

Move setting irqchip.name from probe() function to the initialization of "irqchip" struct in order to fix vGPIO driver crash during bootup.

Crash was caused by unauthorized modification of irqchip.name field where irqchip struct was initialized as const.

This behavior is a consequence of suboptimal implementation of gpioirqchipsetchip(), which should be changed to avoid casting away const qualifier.

Crash log: BUG: unable to handle page fault for address: ffffffffc0ba81c0 /#PF: supervisor write access in kernel mode /#PF: errorcode(0x0003) - permissions violation CPU: 33 UID: 0 PID: 1075 Comm: systemd-udevd Not tainted 6.12.0-rc6-00077-g2e1b3cc9d7f7 #1 Hardware name: Intel Corporation Kaseyville RP/Kaseyville RP, BIOS KVLDCRB1.PGS.0026.D73.2410081258 10/08/2024 RIP: 0010:gnrgpioprobe+0x171/0x220 [gpiograniterapids]

Other sources

This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.

Launchpad

Affected Software

4 affected componentsFixes available
Linux Linux kernel>=6.10<6.12.6
Linux Linux kernel=6.13-rc1
Linux Linux kernel=6.13-rc2
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.27-1

Event History

Dec 27, 2024
CVE Published
via MITRE·03:06 PM
Data Sourced
via MITRE·03:06 PM
Description
Data Sourced
via NVD·03:15 PM
RemedyDescriptionSeverityAffected Software
Mar 27, 2025
Data Sourced
via Launchpad·06:47 PM
Description
May 2, 2025
Data Sourced
via Ubuntu·06:55 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-56671?

CVE-2024-56671 has been classified as a medium severity vulnerability due to the potential for system crashes.

2

Which versions of the Linux kernel are affected by CVE-2024-56671?

CVE-2024-56671 affects Linux kernel versions from 6.10 up to 6.12.6 and specific release candidates 6.13-rc1 and 6.13-rc2.

3

How do I fix CVE-2024-56671?

To fix CVE-2024-56671, update the Linux kernel to a patched version beyond 6.12.6 or apply relevant security patches.

4

What causes the crash in CVE-2024-56671?

The crash in CVE-2024-56671 is caused by improper initialization of the irq_chip struct in the vGPIO driver.

5

Is there a workaround for CVE-2024-56671?

There is no known workaround for CVE-2024-56671; updating to a secure kernel version is recommended.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203