CVE-2021-47048CWE-416

CVE-2021-47048

High · published February 28, 2024

CVSS v3.1
7.8
EPSS
0%
Percentile
14.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00240 · 14.2th percentile
Weakness
CWE-416 · Use After Free
Published
2024-02-28T14:15Z
Affected products (3)
ProductVersionsFixed in
linux/linux_kernel≥ 5.10, < 5.10.375.10.37
linux/linux_kernel≥ 5.11, < 5.11.215.11.21
linux/linux_kernel≥ 5.12, < 5.12.45.12.4
References (8)
EPSS history
Timeline
  • 28 FEB 08:13Z
    spi: spi-zynqmp-gqspi: fix use-after-free in zynqmp_qspi_exec_op
    cvelistv5