Local kernel crash via invalid error-pointer cleanup
Published May 30, 2024 · Updated Aug 5, 2026
Invalid pointer release in Linux kernel 6.1.79 through 6.1.90 and selected later branches allows local users to crash the kernel. The __free(kfree) cleanup macro in include/linux/slab.h tests only for null before passing ERR_PTR values to kfree instead of rejecting error pointers. Reaching an allocation failure in a cleanup-annotated path, such as wm831x_gpio_dbg_show, triggers an invalid free and kernel crash; no data disclosure or modification is reported.
Summary
What happened
Invalid pointer release in Linux kernel 6.1.79 through 6.1.90 and selected later branches allows local users to crash the kernel. The __free(kfree) cleanup macro in include/linux/slab.h tests only for null before passing ERR_PTR values to kfree instead of rejecting error pointers. Reaching an allocation failure in a cleanup-annotated path, such as wm831x_gpio_dbg_show, triggers an invalid free and kernel crash; no data disclosure or modification is reported.
The record
- CVE
- CVE-2024-36890
- Published
- May 30, 2024
- Updated
- Aug 5, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-763, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 30, 2024CVE publishedPublication date reported by the CVE source.
- Aug 5, 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=3c6cc62ce1265aa5623e2e1b29c0fe258bf6e232 <9f6eb0ab4f95240589ee85fd9886a944cd3645b2
- Affected versionversion=54da6a0924311c7cf5015533991e44fb8eb12773 <79cbe0be6c0317b215ddd8bd3e32f0afdac48543
- Affected versionversion=54da6a0924311c7cf5015533991e44fb8eb12773 <ac6cf3ce9b7d12acb7b528248df5f87caa25fcdc
- Affected versionversion=54da6a0924311c7cf5015533991e44fb8eb12773 <cd7eb8f83fcf258f71e293f7fc52a70be8ed0128
- Affected versionversion=6.1.79 <6.1.91
- Affected versionversion=6.5
- Affected versionversion=af53aaf20722d745a69a051114a1ae237f5b922e <edca32f87329d6e341d2143a3b58ec254e8f6b88
- Affected versionversion=f550466949e822afcd0b546a4fc35795930660bc <946771c2a2b1150f9b7286feadc3aa1e15a1eb16
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