CVE-2022-48958Published Oct 21, 2024 · Oct 21Updated Oct 28
ethernet: aeroflex: fix potential skb leak in greth_init_rings()
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ d4c41139df6e74c6fff0cbac43e51cab782133be · < c7adcbd0fd3fde1b19150c3e955fb4a30c5bd9b7| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ethernet: aeroflex: fix potential skb leak in greth_init_rings()
The greth_init_rings() function won't free the newly allocated skb when dma_mapping_error() returns error, so add dev_kfree_skb() to fix it.
Compile tested only.
From the CVE record · Linux
The Linux kernel’s aeroflex Ethernet driver can leak a newly allocated network buffer when DMA mapping fails during greth_init_rings(). The input does not specify how an attacker could trigger this condition or whether access or user interaction is required.
Engineers running Linux kernels with the aeroflex Ethernet driver should check their versions; affected versions were not provided.