CVE-2021-4441
spi: spi-zynq-qspi: Fix a NULL pointer dereference in zynq_qspi_exec_mem_op()
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 67dca5e580f1e93a66177389981541cac208c817, < df14d2bed8e2455878e046e67123d9ecb2e79056; >= 67dca5e580f1e93a66177389981541cac208c817, < 2efece1368aeee2d2552c7ec36aeb676c4d4c95f; >= 67dca5e580f1e93a66177389981541cac208c817, < 3c32405d6474a21f7d742828e73c13e326dcae82; >= 67dca5e580f1e93a66177389981541cac208c817, < b9dd08cbebe0c593c49bf86d2012a431494e54cb; >= 67dca5e580f1e93a66177389981541cac208c817, < ab3824427b848da10e9fe2727f035bbeecae6ff4
- Anyone running Linux 5.2
Vulnerability facts
- Affected
- Linux >= 67dca5e580f1e93a66177389981541cac208c817, < df14d2bed8e2455878e046e67123d9ecb2e79056; >= 67dca5e580f1e93a66177389981541cac208c817, < 2efece1368aeee2d2552c7ec36aeb676c4d4c95f; >= 67dca5e580f1e93a66177389981541cac208c817, < 3c32405d6474a21f7d742828e73c13e326dcae82; >= 67dca5e580f1e93a66177389981541cac208c817, < b9dd08cbebe0c593c49bf86d2012a431494e54cb; >= 67dca5e580f1e93a66177389981541cac208c817, < ab3824427b848da10e9fe2727f035bbeecae6ff4; Linux 5.2
- Fixed in
- Linux 2efece1368aeee2d2552c7ec36aeb676c4d4c95f, Linux 3c32405d6474a21f7d742828e73c13e326dcae82
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.22% chance of exploitation in 30 days (percentile 8, 2026-11-26)
- CWE
- CWE-476
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: spi: spi-zynq-qspi: Fix a NULL pointer dereference in zynq_qspi_exec_mem_op() In zynq_qspi_exec_mem_op(), kzalloc() is directly used in memset(), which could lead to a NULL pointer dereference on failure of kzalloc(). Fix this bug by adding a check of tmpbuf. This bug was found by a static analyzer. The analysis employs differential checking to identify inconsistent security operations (e.g., checks or kfrees) between two code paths and confirms that the inconsistent operations are not recovered in the current function or the callers, so they constitute bugs. Note that, as a bug found by static analysis, it can be a false positive or hard to trigger. Multiple researchers have cross-reviewed the bug. Builds with CONFIG_SPI_ZYNQ_QSPI=m show no new warnings, and our static analyzer no longer warns about this code.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 67dca5e580f1e93a66177389981541cac208c817, < df14d2bed8e2455878e046e67123d9ecb2e79056; >= 67dca5e580f1e93a66177389981541cac208c817, < 2efece1368aeee2d2552c7ec36aeb676c4d4c95f; >= 67dca5e580f1e93a66177389981541cac208c817, < 3c32405d6474a21f7d742828e73c13e326dcae82; >= 67dca5e580f1e93a66177389981541cac208c817, < b9dd08cbebe0c593c49bf86d2012a431494e54cb; >= 67dca5e580f1e93a66177389981541cac208c817, < ab3824427b848da10e9fe2727f035bbeecae6ff4 | — | cvelist |
| Linux | 5.2 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2021-4441. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2021-4441.md Affected: Linux >= 67dca5e580f1e93a66177389981541cac208c817, < df14d2bed8e2455878e046e67123d9ecb2e79056; >= 67dca5e580f1e93a66177389981541cac208c817, < 2efece1368aeee2d2552c7ec36aeb676c4d4c95f; >= 67dca5e580f1e93a66177389981541cac208c817, < 3c32405d6474a21f7d742828e73c13e326dcae82; >= 67dca5e580f1e93a6617738… Fixed in: Linux 2efece1368aeee2d2552c7ec36aeb676c4d4c95f, Linux 3c32405d6474a21f7d742828e73c13e326dcae82 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/df14d2bed8e2455878e046e67123d9ecb2e79056
- https://git.kernel.org/stable/c/2efece1368aeee2d2552c7ec36aeb676c4d4c95f
- https://git.kernel.org/stable/c/3c32405d6474a21f7d742828e73c13e326dcae82
- https://git.kernel.org/stable/c/b9dd08cbebe0c593c49bf86d2012a431494e54cb
- https://git.kernel.org/stable/c/ab3824427b848da10e9fe2727f035bbeecae6ff4
FAQ
Is CVE-2021-4441 being exploited?
There is no confirmed exploitation: CVE-2021-4441 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2021-4441?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2021-4441?
Linux >= 67dca5e580f1e93a66177389981541cac208c817, < df14d2bed8e2455878e046e67123d9ecb2e79056; >= 67dca5e580f1e93a66177389981541cac208c817, < 2efece1368aeee2d2552c7ec36aeb676c4d4c95f; >= 67dca5e580f1e93a66177389981541cac208c817, < 3c32405d6474a21f7d742828e73c13e326dcae82; >= 67dca5e580f1e93a66177389981541cac208c817, < b9dd08cbebe0c593c49bf86d2012a431494e54cb; >= 67dca5e580f1e93a66177389981541cac208c817, < ab3824427b848da10e9fe2727f035bbeecae6ff4; Linux 5.2.
Is there a fix for CVE-2021-4441?
Yes. Fixed in Linux 2efece1368aeee2d2552c7ec36aeb676c4d4c95f, Linux 3c32405d6474a21f7d742828e73c13e326dcae82. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2021-4441?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.