CVE-2021-4441
Last modified
CVE-2021-4441 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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. EPSS estimates a 0.22% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 5.2, < 5.4.182 | — |
| Linux | Linux Kernel | >= 5.5, < 5.10.103 | — |
| Linux | Linux Kernel | >= 5.11, < 5.15.26 | — |
| Linux | Linux Kernel | >= 5.16, < 5.16.12 | — |
| Linux | Linux Kernel | 5.17 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2021-4441?
How severe is CVE-2021-4441?
How do I fix CVE-2021-4441?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-44404A denial of service vulnerability exists in the cgiserver.cg…7.7
- CVE-2021-44405A denial of service vulnerability exists in the cgiserver.cg…7.7
- CVE-2021-44406A denial of service vulnerability exists in the cgiserver.cg…7.7
- CVE-2021-44407A denial of service vulnerability exists in the cgiserver.cg…7.7
- CVE-2021-44408A denial of service vulnerability exists in the cgiserver.cg…7.7
- CVE-2021-44409A denial of service vulnerability exists in the cgiserver.cg…7.7
- CVE-2021-44410A denial of service vulnerability exists in the cgiserver.cg…7.7
- CVE-2021-44411A denial of service vulnerability exists in the cgiserver.cg…7.7
- CVE-2021-44412A denial of service vulnerability exists in the cgiserver.cg…7.7
- CVE-2021-44413A denial of service vulnerability exists in the cgiserver.cg…7.7
- CVE-2021-44414A denial of service vulnerability exists in the cgiserver.cg…7.7
- CVE-2021-44415A denial of service vulnerability exists in the cgiserver.cg…7.7
Are you affected by CVE-2021-4441?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
