CVE
CVE-2021-47048
CVE-2021-47048HIGH 7.8EPSS 15%
CNA 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.
Affected versions
All Linux kernel vulnerabilities →
- ≥ 5.12, < 5.12.4Fixed in 5.12.4
- ≥ 5.11, < 5.11.21Fixed in 5.11.21
- ≥ 5.10, < 5.10.37Fixed in 5.10.37
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.