Local system crash via unchecked GPIO descriptor
Published Nov 9, 2024 · Updated May 11, 2026
NULL pointer dereference in the Linux kernel's spi-fsl-dspi driver allows local users to crash affected systems during device setup. In dspi_setup, spi_get_csgpiod() returns NULL when GPIO chip select is unused, but the driver passes that value to gpiod_direction_output() without checking it. Reachability requires a system using the affected DSPI driver and a non-GPIO chip-select configuration; the resulting kernel oops interrupts service.
Summary
What happened
NULL pointer dereference in the Linux kernel's spi-fsl-dspi driver allows local users to crash affected systems during device setup. In dspi_setup, spi_get_csgpiod() returns NULL when GPIO chip select is unused, but the driver passes that value to gpiod_direction_output() without checking it. Reachability requires a system using the affected DSPI driver and a non-GPIO chip-select configuration; the resulting kernel oops interrupts service.
The record
- CVE
- CVE-2024-50224
- Published
- Nov 9, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-476
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Nov 9, 2024CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=6.4
- Affected versionversion=9e264f3f85a56cc109cc2d6010a48aa89d5c1ff1 <25f00a13dccf8e45441265768de46c8bf58e08f6
- Affected versionversion=9e264f3f85a56cc109cc2d6010a48aa89d5c1ff1 <89f74c968319d040739d6238e1c3a4caa16a5a00
- Affected versionversion=9e264f3f85a56cc109cc2d6010a48aa89d5c1ff1 <e79c1f1c9100b4adc91c6512985db2cc961aafaa
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo