CVE-2022-49026 e100: Fix possible use after free in e100_xmit_prepare
A use-after-free vulnerability in the Linux kernel e100 network driver allows attackers to cause denial of service or potentially execute code via crafted network packets.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-49026?
CVE-2022-49026 is a high-severity use after free vulnerability in Linux kernel, published on 21 Oct 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-416
Which versions are affected by CVE-2022-49026?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2022-49026?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2022-49026 being exploited?
There is no known exploitation of CVE-2022-49026 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2022-49026, GHSA-43h8-7v35-466p, UBUNTU-CVE-2022-49026.