Local kernel crash via unchecked allocation failure
Published Oct 29, 2024 · Updated May 11, 2026
NULL pointer dereference in Linux 6.6 before 6.6.58, 6.7 before 6.11.5, and 6.12-rc1 through 6.12-rc3 allows local users to crash the kernel. The stm32_gpiolib_register_bank() function stores an unchecked NULL from devm_kasprintf() in the GPIO line-name array instead of aborting on allocation failure. The path is limited to STM32 pin-controller initialization and requires a memory-allocation failure; no data access or modification is reported.
Summary
What happened
NULL pointer dereference in Linux 6.6 before 6.6.58, 6.7 before 6.11.5, and 6.12-rc1 through 6.12-rc3 allows local users to crash the kernel. The stm32_gpiolib_register_bank() function stores an unchecked NULL from devm_kasprintf() in the GPIO line-name array instead of aborting on allocation failure. The path is limited to STM32 pin-controller initialization and requires a memory-allocation failure; no data access or modification is reported.
The record
- CVE
- CVE-2024-50070
- Published
- Oct 29, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-476, T1499
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Oct 29, 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=32c170ff15b044579b1f8b8cdabf543406dde9da <1f266957ae1207b0717c2d69096bc70654ae9fcb
- Affected versionversion=32c170ff15b044579b1f8b8cdabf543406dde9da <3b36bb1fca2b87f6292ca2a8593f297c5e9fab41
- Affected versionversion=32c170ff15b044579b1f8b8cdabf543406dde9da <b0f0e3f0552a566def55c844b0d44250c58e4df6
- Affected versionversion=6.6
- Affected versionversion=75285cb2b49a9bfe15fc22aecab45ef25d50e6f2 <a8d52de0a6c6b091b2771bcb98ce408cf9d69fe3
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.
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