{"id":"CVE-2021-47048","published":"2024-02-28T08:13:51Z","modified":"2026-08-05T08:45:43Z","title":"spi: spi-zynqmp-gqspi: fix use-after-free in zynqmp_qspi_exec_op","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nspi: spi-zynqmp-gqspi: fix use-after-free in zynqmp_qspi_exec_op\n\nWhen handling op->addr, it is using the buffer \"tmpbuf\" which has been\nfreed. This will trigger a use-after-free KASAN warning. Let's use\ntemporary variables to store op->addr.val and op->cmd.opcode to fix\nthis issue.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0024,"percentile":0.09088,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/1231279389b5e638bc3b66b9741c94077aed4b5a","tags":[]},{"url":"https://git.kernel.org/stable/c/d67e0d6bd92ebbb0294e7062bbf5cdc773764e62","tags":[]},{"url":"https://git.kernel.org/stable/c/23269ac9f123eca3aea7682d3345c02e71ed696c","tags":[]},{"url":"https://git.kernel.org/stable/c/a2c5bedb2d55dd27c642c7b9fb6886d7ad7bdb58","tags":[]}],"priority":{"score":7.3,"factors":[{"name":"EPSS percentile","points":1.82},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 1c26372e5aa9e53391a1f8fe0dc7cd93a7e5ba9e, < 1231279389b5e638bc3b66b9741c94077aed4b5a",">= 1c26372e5aa9e53391a1f8fe0dc7cd93a7e5ba9e, < d67e0d6bd92ebbb0294e7062bbf5cdc773764e62",">= 1c26372e5aa9e53391a1f8fe0dc7cd93a7e5ba9e, < 23269ac9f123eca3aea7682d3345c02e71ed696c",">= 1c26372e5aa9e53391a1f8fe0dc7cd93a7e5ba9e, < a2c5bedb2d55dd27c642c7b9fb6886d7ad7bdb58"]},{"vendor":"Linux","product":"Linux","versions":["5.10"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T15:57:41.551730Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2021-33696","exploited":false,"provenance":"source"}}