CVE-2021-47048spi: spi-zynqmp-gqspi: fix use-after-free in zynqmp_qspi_exec_op
- 7.8HighCVSS base score
- 0.24%Exploitation in 30 daysEPSS · top 85% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By Linux
- 1 day later
· 1 day later
Published
- 2 years later
· 2 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.24% · top 85% of all CVEs (17 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Affected products
- affected 1c26372e5aa9e53391a1f8fe0dc7cd93a7e5ba9e – < 1231279389b5e638bc3b66b9741c94077aed4b5a
- affected 1c26372e5aa9e53391a1f8fe0dc7cd93a7e5ba9e – < d67e0d6bd92ebbb0294e7062bbf5cdc773764e62
- affected 1c26372e5aa9e53391a1f8fe0dc7cd93a7e5ba9e – < 23269ac9f123eca3aea7682d3345c02e71ed696c
- affected 1c26372e5aa9e53391a1f8fe0dc7cd93a7e5ba9e – < a2c5bedb2d55dd27c642c7b9fb6886d7ad7bdb58
- affected 5.10
- unaffected < 5.10
- unaffected 5.10.37 – ≤ 5.10.*
- unaffected 5.11.21 – ≤ 5.11.*
- unaffected 5.12.4 – ≤ 5.12.*
- unaffected 5.13 – ≤ *
References
References4
- https://git.kernel.org/stable/c/1231279389b5e638bc3b66b9741c94077aed4b5a (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/d67e0d6bd92ebbb0294e7062bbf5cdc773764e62 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/23269ac9f123eca3aea7682d3345c02e71ed696c (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/a2c5bedb2d55dd27c642c7b9fb6886d7ad7bdb58 (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-33696 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-47048)Record last updated .