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

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.68%, higher than 53% of CVEs (2026-12-01)
- Published: 2025-02-26T01:54:43.099Z
- Modified: 2026-08-05T08:53:47.633Z
- Weaknesses: CWE-476
- 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().

(As written by CVE List.)

## Affected

- Linux Linux: from 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.*; from 5.17.3 up to 5.17.*; from 5.18 up to *)
- linux linux_kernel: from 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.18

## Every score

- Linux: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/9648adb1b3ece55c657d3a4f52bfee663b710dfe> (patch)
- <https://git.kernel.org/stable/c/034a92c6a81048128fc7b18d278d52438a13902a> (patch)
- <https://git.kernel.org/stable/c/8928239e5e2e460d95b8a0b89f61671625e7ece0> (patch)
- <https://git.kernel.org/stable/c/c9bdce2359b5f4986eb38d1e81865b3586cc20d2> (patch)
- <https://git.kernel.org/stable/c/b2d6b3db9d1cf80908964036dbe1c52a86b1afb1> (patch)
- <https://git.kernel.org/stable/c/e1fd0c42acfa22bb34d2ab6a111484f466ab8093> (patch)
- <https://git.kernel.org/stable/c/4e910dbe36508654a896d5735b318c0b88172570> (patch)

## Sources

- CVE List: [CVE-2022-49084](https://www.cve.org/CVERecord?id=CVE-2022-49084), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2022-49084](https://nvd.nist.gov/vuln/detail/CVE-2022-49084), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2022-49084 · Whole record: https://cve.day/CVE-2022-49084.json · Rebuilt by cve.day 2026-11-25T22:58:20.159Z
