CVE-2021-47048
Last modified
CVE-2021-47048 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: spi: spi-zynqmp-gqspi: fix use-after-free in zynqmp_qspi_exec_op When handling op->addr, it is using the buffer "tmpbuf" which has been freed. This will trigger a use-after-free KASAN warning. EPSS estimates a 0.24% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: spi: spi-zynqmp-gqspi: fix use-after-free in zynqmp_qspi_exec_op When handling op->addr, it is using the buffer "tmpbuf" which has been freed. This will trigger a use-after-free KASAN warning. Let's use temporary variables to store op->addr.val and op->cmd.opcode to fix this issue.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.10, < 5.10.37 |
| Linux | Linux Kernel | >= 5.11, < 5.11.21 |
| Linux | Linux Kernel | >= 5.12, < 5.12.4 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-47048?
How severe is CVE-2021-47048?
How do I fix CVE-2021-47048?
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-47042In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47043In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47044In the Linux kernel, the following vulnerability has been re…7.7
- CVE-2021-47045In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47046In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2021-47047In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47049In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2021-47050In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47051In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47052In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47053In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2021-47054In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2021-47048?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
