Skip to content
CVE PROGRAM SOURCE RECORD7.5 High

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 8a8633978b842c88fbcfe00d4e5dde96048f630e to < 9648adb1b3ece55c657d3a4f52bfee663b710dfeaffected
  • 8a8633978b842c88fbcfe00d4e5dde96048f630e to < 034a92c6a81048128fc7b18d278d52438a13902aaffected
  • 8a8633978b842c88fbcfe00d4e5dde96048f630e to < 8928239e5e2e460d95b8a0b89f61671625e7ece0affected
  • 8a8633978b842c88fbcfe00d4e5dde96048f630e to < c9bdce2359b5f4986eb38d1e81865b3586cc20d2affected
  • 8a8633978b842c88fbcfe00d4e5dde96048f630e to < b2d6b3db9d1cf80908964036dbe1c52a86b1afb1affected
  • 8a8633978b842c88fbcfe00d4e5dde96048f630e to < e1fd0c42acfa22bb34d2ab6a111484f466ab8093affected
  • 8a8633978b842c88fbcfe00d4e5dde96048f630e to < 4e910dbe36508654a896d5735b318c0b88172570affected

Linux Linux

Default version status: affected

  • 4.18affected
  • 0 to < 4.18unaffected
  • 4.19.238 to ≤ 4.19.*unaffected
  • 5.4.189 to ≤ 5.4.*unaffected
  • 5.10.111 to ≤ 5.10.*unaffected
  • 5.15.34 to ≤ 5.15.*unaffected
  • 5.16.20 to ≤ 5.16.*unaffected
  • 5.17.3 to ≤ 5.17.*unaffected
  • 5.18 to ≤ *unaffected

References