CVE-2022-49084
JSON

7.5high

qede: confirm skb is allocated before using

Severity
7.5high CVSS:3.1 by Linux
Exploit likelihood
0.68% (higher than 53% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom 8a8633978b842c88fbcfe00d4e5dde96048f630e before 9648adb1b3ece55c657d3a4f52bfee663b710dfe, from 8a8633978b842c88fbcfe00d4e5dde96048f630e before 034a92c6a81048128fc7b18d278d52438a13902a, from 8a8633978b842c88fbcfe00d4e5dde96048f630e before 8928239e5e2e460d95b8a0b89f61671625e7ece0, from 8a8633978b842c88fbcfe00d4e5dde96048f630e before c9bdce2359b5f4986eb38d1e81865b3586cc20d2, from 8a8633978b842c88fbcfe00d4e5dde96048f630e before b2d6b3db9d1cf80908964036dbe1c52a86b1afb1, from 8a8633978b842c88fbcfe00d4e5dde96048f630e before e1fd0c42acfa22bb34d2ab6a111484f466ab8093, from 8a8633978b842c88fbcfe00d4e5dde96048f630e before 4e910dbe36508654a896d5735b318c0b88172570, 4.18
Not affected: before 4.18, from 4.19.238 up to 4.19.*, from 5.4.189 up to 5.4.*, from 5.10.111 up to 5.10.*, from 5.15.34 up to 5.15.*, from 5.16.20 up to 5.16.*
CVE List
linux linux_kernelfrom 4.18 before 4.19.238, from 4.20 before 5.4.189, from 5.5 before 5.10.111, from 5.11 before 5.15.34, from 5.16 before 5.16.20, from 5.17 before 5.17.3, 5.18NVD

All scores

Linux7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

What each source says

CVE List

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().

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: qede: confirmar que skb está asignado antes de usar qede_build_skb() supone que build_skb() siempre funciona y pasa directamente a skb_reserve(). Sin embargo, build_skb() puede fallar bajo presión de memoria. Esto da como resultado un pánico del kernel porque el skb a reservar es NULL. Agregue una verificación en caso de que build_skb() no pueda asignar y devuelva NULL. El retorno NULL se maneja correctamente en los llamadores a qede_build_skb().

References

Sources

SourceRecordLicence
CVE ListCVE-2022-49084 changed 2026-08-05CVE Terms of Use
NVDCVE-2022-49084 changed 2026-08-04Public domain