CVE-2022-49026

e100: Fix possible use after free in e100_xmit_prepare

State
Published
Severity
7.8 High
Published
Oct 21, 2024
Updated
Aug 5, 2026
Reserved
Aug 22, 2024

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 5e5d49422dfb035ca9e280cd61d434095c151272 to before b775f37d943966f6f77dca402f5a9dedce502c25Affected
  • 5e5d49422dfb035ca9e280cd61d434095c151272 to before 9fc27d22cdb9b1fcd754599d216a8992fed280cdAffected
  • 5e5d49422dfb035ca9e280cd61d434095c151272 to before b46f6144ab89d3d757ead940759c505091626a7dAffected
  • 5e5d49422dfb035ca9e280cd61d434095c151272 to before 45605c75c52c7ae7bfe902214343aabcfe5ba0ffAffected
LinuxLinux
  • 4.3Affected
  • before 4.3Not affected
  • 5.10.158 through 5.10.*Not affected
  • 5.15.82 through 5.15.*Not affected
  • 6.0.12 through 6.0.*Not affected
  • 6.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.