Kernel crash via unchecked allocation result
Published Aug 22, 2024 · Updated May 11, 2026
NULL pointer dereference in the Linux Zynq QSPI driver allows local users to crash the kernel through a memory allocation failure. The zynq_qspi_exec_mem_op function passes the result of kzalloc directly to memset without first checking whether allocation returned NULL. Triggering the crash requires the Zynq QSPI driver and an allocation failure during a memory operation; the Linux CNA states that this static-analysis finding can be a false positive or hard to trigger.
Summary
What happened
NULL pointer dereference in the Linux Zynq QSPI driver allows local users to crash the kernel through a memory allocation failure. The zynq_qspi_exec_mem_op function passes the result of kzalloc directly to memset without first checking whether allocation returned NULL. Triggering the crash requires the Zynq QSPI driver and an allocation failure during a memory operation; the Linux CNA states that this static-analysis finding can be a false positive or hard to trigger.
The record
- CVE
- CVE-2021-4441
- Published
- Aug 22, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-476, T1499.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Aug 22, 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=5.2
- Affected versionversion=67dca5e580f1e93a66177389981541cac208c817 <2efece1368aeee2d2552c7ec36aeb676c4d4c95f
- Affected versionversion=67dca5e580f1e93a66177389981541cac208c817 <3c32405d6474a21f7d742828e73c13e326dcae82
- Affected versionversion=67dca5e580f1e93a66177389981541cac208c817 <ab3824427b848da10e9fe2727f035bbeecae6ff4
- Affected versionversion=67dca5e580f1e93a66177389981541cac208c817 <b9dd08cbebe0c593c49bf86d2012a431494e54cb
- Affected versionversion=67dca5e580f1e93a66177389981541cac208c817 <df14d2bed8e2455878e046e67123d9ecb2e79056
What conditions does exploitation require?
What is affected?
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