What’s Vulnerable › Vulnerabilities

CVE-2022-50252: igb: Do not free q_vector unless new one was allocated

Description

In the Linux kernel, the following vulnerability has been resolved: igb: Do not free q_vector unless new one was allocated Avoid potential use-after-free condition under memory pressure. If the kzalloc() fails, q_vector will be freed but left in the original adapter->q_vector[v_idx] array position.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 4.14.303, 4.19.270, 4.9.337, 5.10.163. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-50252 or the next vulnerability affects your stack