CVE-2021-47596

In the Linux kernel, the following vulnerability has been resolved: net: hns3: fix use-after-free bug in hclgevf_send_mbx_msg Currently, the hns3_remove function firstly uninstall client instance, and then uninstall acceletion engine device. The netdevice is freed in client instance uninstall process, but acceletion engine device uninstall process still use it to trace runtime information. This causes a use after free problem. So fixes it by check the instance register state to avoid use after free.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

21 Nov 2024, 06:36

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/12512bc8f25b8ba9795dfbae0e9ca57ff13fd542 - Patch () https://git.kernel.org/stable/c/12512bc8f25b8ba9795dfbae0e9ca57ff13fd542 - Patch
References () https://git.kernel.org/stable/c/27cbf64a766e86f068ce6214f04c00ceb4db1af4 - Patch () https://git.kernel.org/stable/c/27cbf64a766e86f068ce6214f04c00ceb4db1af4 - Patch
References () https://git.kernel.org/stable/c/4f4a353f6fe033807cd026a5de81c67469ff19b0 - Patch () https://git.kernel.org/stable/c/4f4a353f6fe033807cd026a5de81c67469ff19b0 - Patch

19 Aug 2024, 18:22

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/12512bc8f25b8ba9795dfbae0e9ca57ff13fd542 - () https://git.kernel.org/stable/c/12512bc8f25b8ba9795dfbae0e9ca57ff13fd542 - Patch
References () https://git.kernel.org/stable/c/27cbf64a766e86f068ce6214f04c00ceb4db1af4 - () https://git.kernel.org/stable/c/27cbf64a766e86f068ce6214f04c00ceb4db1af4 - Patch
References () https://git.kernel.org/stable/c/4f4a353f6fe033807cd026a5de81c67469ff19b0 - () https://git.kernel.org/stable/c/4f4a353f6fe033807cd026a5de81c67469ff19b0 - Patch
CWE CWE-416
First Time Linux
Linux linux Kernel
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

20 Jun 2024, 12:43

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, se resolvió la siguiente vulnerabilidad: net: hns3: corrige el error de use-after-free en hclgevf_send_mbx_msg Actualmente, la función hns3_remove desinstala primero la instancia del cliente y luego desinstala el dispositivo del motor de aceleración. El dispositivo de red se libera en el proceso de desinstalación de la instancia del cliente, pero el proceso de desinstalación del dispositivo del motor de aceleración aún lo utiliza para rastrear la información del tiempo de ejecución. Esto provoca un problema de use-after-free. Entonces lo soluciona verificando el estado del registro de la instancia para evitar use after free.

19 Jun 2024, 15:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-06-19 15:15

Updated : 2024-11-21 06:36


NVD link : CVE-2021-47596

Mitre link : CVE-2021-47596

CVE.ORG link : CVE-2021-47596


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-416

Use After Free