CVE-2021-47596

published 19 Jun 2024 · updated 11 May 2026

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

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 12512bc8f25b8ba9795dfbae0e9ca57ff13fd542, Kernel 27cbf64a766e86f068ce6214f04c00ceb4db1af4 and Kernel 4f4a353f6fe033807cd026a5de81c67469ff19b0.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.8, >=d8355240cf8fb8b9e002b5c8458578435cea85c2 <12512bc8f25b8ba9795dfbae0e9ca57ff13fd542, >=d8355240cf8fb8b9e002b5c8458578435cea85c2 <27cbf64a766e86f068ce6214f04c00ceb4db1af4, >=d8355240cf8fb8b9e002b5c8458578435cea85c2 <4f4a353f6fe033807cd026a5de81c67469ff19b012512bc8f25b8ba9795dfbae0e9ca57ff13fd542, 27cbf64a766e86f068ce6214f04c00ceb4db1af4, 4f4a353f6fe033807cd026a5de81c67469ff19b0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-47596 severity on Zeptric[![CVE-2021-47596](https://zeptric.io/badge/cve/CVE-2021-47596.svg)](https://zeptric.io/cve/CVE-2021-47596)