Bug 2320660 (CVE-2022-49026) - CVE-2022-49026 kernel: e100: Fix possible use after free in e100_xmit_prepare
Summary: CVE-2022-49026 kernel: e100: Fix possible use after free in e100_xmit_prepare
Keywords:
Status: NEW
Alias: CVE-2022-49026
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: 2024-10-21 21:01 UTC by OSIDB Bzimport
Modified: 2024-10-22 13:11 UTC (History)
4 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-10-21 21:01:20 UTC
In the Linux kernel, the following vulnerability has been resolved:

e100: Fix possible use after free in e100_xmit_prepare

In e100_xmit_prepare(), if we can't map the skb, then return -ENOMEM, so
e100_xmit_frame() will return NETDEV_TX_BUSY and the upper layer will
resend the skb. But the skb is already freed, which will cause UAF bug
when the upper layer resends the skb.

Remove the harmful free.

Comment 1 Avinash Hanwate 2024-10-22 09:12:51 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024102155-CVE-2022-49026-f8d1@gregkh/T


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