Bug 2347687 (CVE-2022-49084) - CVE-2022-49084 kernel: qede: confirm skb is allocated before using
Summary: CVE-2022-49084 kernel: qede: confirm skb is allocated before using
Keywords:
Status: NEW
Alias: CVE-2022-49084
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-02-26 03:03 UTC by OSIDB Bzimport
Modified: 2025-02-26 12:15 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-02-26 03:03:16 UTC
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().

Comment 1 Mauro Matteo Cascella 2025-02-26 09:18:25 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022657-CVE-2022-49084-b132@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.