Lucene search

K
vulnrichmentLinuxVULNRICHMENT:CVE-2021-47596
HistoryJun 19, 2024 - 2:53 p.m.

CVE-2021-47596 net: hns3: fix use-after-free bug in hclgevf_send_mbx_msg

2024-06-1914:53:58
Linux
github.com
2
cve-2021-47596
net
hns3
use-after-free
hclgevf_send_mbx_msg
linux kernel
vulnerability
fix
uninstall
acceletion engine device

AI Score

6.7

Confidence

Low

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial

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.

AI Score

6.7

Confidence

Low

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial