CVE-2022-49084

qede: confirm skb is allocated before using

MEDIUM
5.5
CVSS Score
Published: February 26, 2025 at 01:54 AM UTC
Updated: August 5, 2026 at 09:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.7%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.18 ≤ v < 4.19.2384.18 ≤ v < 5.10.1114.18 ≤ v < 5.15.344.18 ≤ v < 5.16.204.18 ≤ v < 5.17.34.18 ≤ v < 5.184.18 ≤ v < 5.4.1894.20 ≤ v < 5.4.1895.11 ≤ v < 5.15.345.16 ≤ v < 5.16.205.17 ≤ v < 5.17.35.5 ≤ v < 5.10.1115.18 rc18a8633978b842c88fbcfe00d4e5dde96048f630e
Vendor states this is fixed in 034a92c6a81048128fc7b18d278d52438a13902a (fixed)
Vendor states this is fixed in 4e910dbe36508654a896d5735b318c0b88172570 (fixed)
Vendor states this is fixed in 8928239e5e2e460d95b8a0b89f61671625e7ece0 (fixed)
Vendor states this is fixed in 9648adb1b3ece55c657d3a4f52bfee663b710dfe (fixed)
Vendor states this is fixed in b2d6b3db9d1cf80908964036dbe1c52a86b1afb1 (fixed)
Vendor states this is fixed in c9bdce2359b5f4986eb38d1e81865b3586cc20d2 (fixed)
Vendor states this is fixed in e1fd0c42acfa22bb34d2ab6a111484f466ab8093 (fixed)
Vendor states this is fixed in 4.18 (unaffected)
Vendor states this is fixed in 4.19.238 (unaffected)
Vendor states this is fixed in 5.10.111 (unaffected)
Vendor states this is fixed in 5.15.34 (unaffected)
Vendor states this is fixed in 5.16.20 (unaffected)
Vendor states this is fixed in 5.17.3 (unaffected)
Vendor states this is fixed in 5.18 (unaffected)
Vendor states this is fixed in 5.4.189 (unaffected)

References (7)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/034a92c6a81048128fc7b18d278d52438a13902a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4e910dbe36508654a896d5735b318c0b88172570
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8928239e5e2e460d95b8a0b89f61671625e7ece0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9648adb1b3ece55c657d3a4f52bfee663b710dfe
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b2d6b3db9d1cf80908964036dbe1c52a86b1afb1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c9bdce2359b5f4986eb38d1e81865b3586cc20d2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e1fd0c42acfa22bb34d2ab6a111484f466ab8093

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card