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.
Metrics
Affected Vendors & Products
| Source | ID | Title |
|---|---|---|
Ubuntu USN |
USN-7907-1 | Linux kernel vulnerabilities |
Ubuntu USN |
USN-7907-2 | Linux kernel (FIPS) vulnerabilities |
Ubuntu USN |
USN-7907-3 | Linux kernel vulnerabilities |
Ubuntu USN |
USN-7907-4 | Linux kernel (GCP FIPS) vulnerabilities |
Ubuntu USN |
USN-7922-1 | Linux kernel vulnerabilities |
Ubuntu USN |
USN-7922-2 | Linux kernel (FIPS) vulnerabilities |
Ubuntu USN |
USN-7907-5 | Linux kernel kernel vulnerabilities |
Ubuntu USN |
USN-7937-1 | Linux kernel (Azure FIPS) vulnerabilities |
Ubuntu USN |
USN-7939-1 | Linux kernel (Azure) vulnerabilities |
Ubuntu USN |
USN-7939-2 | Linux kernel (Azure FIPS) vulnerabilities |
Ubuntu USN |
USN-7922-3 | Linux kernel (Oracle) vulnerabilities |
Ubuntu USN |
USN-7922-4 | Linux kernel (Raspberry Pi) vulnerabilities |
Ubuntu USN |
USN-7922-5 | Linux kernel (IoT) vulnerabilities |
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
Thu, 24 Oct 2024 04:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Linux
Linux linux Kernel |
|
| Weaknesses | CWE-416 | |
| CPEs | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:6.1:rc1:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:6.1:rc2:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:6.1:rc3:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:6.1:rc4:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:6.1:rc5:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:6.1:rc6:*:*:*:*:*:* cpe:2.3:o:linux:linux_kernel:6.1:rc7:*:*:*:*:*:* |
|
| Vendors & Products |
Linux
Linux linux Kernel |
|
| Metrics |
cvssV3_1
|
cvssV3_1
|
Tue, 22 Oct 2024 14:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
Tue, 22 Oct 2024 13:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
cvssV3_1
|
Mon, 21 Oct 2024 20:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | e100: Fix possible use after free in e100_xmit_prepare | |
| References |
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: Linux
Published:
Updated: 2025-05-04T08:28:20.354Z
Reserved: 2024-08-22T01:27:53.651Z
Link: CVE-2022-49026
Updated: 2024-10-22T13:11:58.244Z
Status : Analyzed
Published: 2024-10-21T20:15:13.490
Modified: 2024-10-24T03:49:21.780
Link: CVE-2022-49026
OpenCVE Enrichment
No data.
Ubuntu USN