Linux · Linux Kernel · CVE-2021-47589
**Name of the Vulnerable Software and Affected Versions**
Linux kernel (affected versions not specified)
**Description**
The vulnerability is related to a double free issue in the `igbvf probe` function. When `register netdev` fails, the program goes to the `err hw init` label and then to the `err ioremap` label. In `free netdev`, there is a `list for each entry safe` and `netif napi del` which aims to delete all entries in `dev->napi list`. However, `adapter->rx ring` has been freed below the `err hw init` label, causing a use-after-free (UAF) issue. The KASAN logs indicate a use-after-free in `free netdev+0x1fd/0x450`. To patch the problem, one can refer to `igbvf remove` and delete the entry before `adapter->rx ring`.
**Recommendations**
At the moment, there is no information about a newer version that contains a fix for this vulnerability.