Linux · Linux Kernel · CVE-2021-47541
**Name of the Vulnerable Software and Affected Versions**
Linux kernel (affected versions not specified)
**Description**
The issue is related to a use-after-free bug in the `mlx4 en try alloc resources()` function. This bug could lead to a use-after-free problem when `mlx4 en copy priv()` fails, causing `tmp->tx cq` to be freed, and then `mlx4 en alloc resources()` is called, resulting in a dereference of `&tmp->tx cq[t][i]`. The bug was found by a static analyzer using differential checking to identify inconsistent security operations between two code paths. It is noted that this bug could be a false positive or hard to trigger, and multiple researchers have cross-reviewed it.
**Recommendations**
At the moment, there is no information about a newer version that contains a fix for this vulnerability.