Vulnerabilities · 2021 · Linux
CVE-2021-47048
Linux Kernel vulnerability
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.
Affected products
Linux Kernel. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Linux Kernel runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- git.kernel.org/stable/c/1231279389b5e638bc3b66b9741c94077aed4b5a · Patch
- git.kernel.org/stable/c/23269ac9f123eca3aea7682d3345c02e71ed696c · Patch
- git.kernel.org/stable/c/a2c5bedb2d55dd27c642c7b9fb6886d7ad7bdb58 · Patch
- git.kernel.org/stable/c/d67e0d6bd92ebbb0294e7062bbf5cdc773764e62 · Patch
- nvd.nist.gov/vuln/detail/CVE-2021-47048
- cve.org/CVERecord?id=CVE-2021-47048
More vulnerabilities in Linux products
CVE-2026-46300CVE-2025-40364CVE-2025-40325CVE-2025-40300CVE-2025-40114CVE-2025-40014CVE-2025-39989CVE-2025-39967All 12,086
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.