What’s Vulnerable › Vulnerabilities

CVE-2022-49084: qede: confirm skb is allocated before using

Description

In the Linux kernel, the following vulnerability has been resolved: qede: confirm skb is allocated before using qede_build_skb() assumes build_skb() always works and goes straight to skb_reserve(). However, build_skb() can fail under memory pressure. This results in a kernel panic because the skb to reserve is NULL. Add a check in case build_skb() failed to allocate and return NULL. The NULL return is handled correctly in callers to qede_build_skb().

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 4.19.238, 5.10.111, 5.15.34, 5.16.20. Check the vendor advisory for mitigations.

References

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