Review reviewHigh

CVE-2021-47048

Linux Linux, linux kernel

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.

CVSS
7.8
EPSS
0.24%
14.8% percentile
CISA KEV
Not listed
Published
2024.02.28
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability0.24%
Technical severityCVSS 7.8

Vulnerability overview

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 product and versions

Product
Linux Linux, linux kernel
Affected versions
>= 1c26372e5aa9e53391a1f8fe0dc7cd93a7e5ba9e < 1231279389b5e638bc3b66b9741c94077aed4b5a, >= 1c26372e5aa9e53391a1f8fe0dc7cd93a7e5ba9e < d67e0d6bd92ebbb0294e7062bbf5cdc773764e62, >= 1c26372e5aa9e53391a1f8fe0dc7cd93a7e5ba9e < 23269ac9f123eca3aea7682d3345c02e71ed696c, >= 1c26372e5aa9e53391a1f8fe0dc7cd93a7e5ba9e < a2c5bedb2d55dd27c642c7b9fb6886d7ad7bdb58, >= 5.10, >= 5.10 < 5.10.37, >= 5.11 < 5.11.21, >= 5.12 < 5.12.4
Fixed versions
5.10.37, 5.11.21, 5.12.4

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that Linux Linux, linux kernel and an affected version are present.

  2. 2
    Prioritize

    Combine exploitation signals with asset exposure and business criticality.

  3. 3
    Remediate

    Follow the vendor advisory or supported update path and preserve rollback options.

  4. 4
    Verify

    Recheck the version, service health, access paths, and relevant logs.

Technical data

CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE
CWE-416
CVE-2021-47048 — Linux Linux, linux kernel | SECUFOCUS NOW