CVE-2021-47596

net: hns3: fix use-after-free bug in hclgevf_send_mbx_msg

published June 19, 2024

CVSS
—
EPSS
0%
Percentile
15.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00248 · 15.2th percentile
Published
2024-06-19T14:53Z
EPSS history
Timeline
  • 19 JUN 14:53Z
    net: hns3: fix use-after-free bug in hclgevf_send_mbx_msg
    cvelistv5