# CVE-2022-48958: ethernet: aeroflex: fix potential skb leak in greth_init_rings()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-10-21T20:05:43.778Z
- Modified: 2026-06-17T05:16:42.953Z
- Weaknesses: CWE-401
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from d4c41139df6e74c6fff0cbac43e51cab782133be before 223654e2e2c8d05347cd8e300f8d1ec6023103dd; from d4c41139df6e74c6fff0cbac43e51cab782133be before cb1e293f858e5e1152b8791047ed4bdaaf392189; from d4c41139df6e74c6fff0cbac43e51cab782133be before bfaa8f6c5b84b295dd73b0138b57c5555ca12b1c; from d4c41139df6e74c6fff0cbac43e51cab782133be before 99669d94ce145389f1d6f197e6e18ed50d43fb76; from d4c41139df6e74c6fff0cbac43e51cab782133be before 87277bdf2c370ab2d07cfe77dfa9b37f82bbe1e5; from d4c41139df6e74c6fff0cbac43e51cab782133be before c7adcbd0fd3fde1b19150c3e955fb4a30c5bd9b7; from d4c41139df6e74c6fff0cbac43e51cab782133be before dd62867a6383f78f75f07039394aac25924a3307; from d4c41139df6e74c6fff0cbac43e51cab782133be before 063a932b64db3317ec020c94466fe52923a15f60; 2.6.34 (not affected: before 2.6.34; from 4.9.336 up to 4.9.*; from 4.14.302 up to 4.14.*; from 4.19.269 up to 4.19.*; from 5.4.227 up to 5.4.*; from 5.10.159 up to 5.10.*; from 5.15.83 up to 5.15.*; from 6.0.13 up to 6.0.*; from 6.1 up to *)
- linux linux_kernel: from 2.6.34 before 4.9.336; from 4.10 before 4.14.302; from 4.15 before 4.19.269; from 4.20 before 5.4.227; from 5.5 before 5.10.159; from 5.11 before 5.15.83; from 5.16 before 6.0.13; 6.1

## References

- <https://git.kernel.org/stable/c/223654e2e2c8d05347cd8e300f8d1ec6023103dd> (patch)
- <https://git.kernel.org/stable/c/cb1e293f858e5e1152b8791047ed4bdaaf392189> (patch)
- <https://git.kernel.org/stable/c/bfaa8f6c5b84b295dd73b0138b57c5555ca12b1c> (patch)
- <https://git.kernel.org/stable/c/99669d94ce145389f1d6f197e6e18ed50d43fb76> (patch)
- <https://git.kernel.org/stable/c/87277bdf2c370ab2d07cfe77dfa9b37f82bbe1e5> (patch)
- <https://git.kernel.org/stable/c/c7adcbd0fd3fde1b19150c3e955fb4a30c5bd9b7> (patch)
- <https://git.kernel.org/stable/c/dd62867a6383f78f75f07039394aac25924a3307> (patch)
- <https://git.kernel.org/stable/c/063a932b64db3317ec020c94466fe52923a15f60> (patch)

## Sources

- CVE List: [CVE-2022-48958](https://www.cve.org/CVERecord?id=CVE-2022-48958), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-48958](https://nvd.nist.gov/vuln/detail/CVE-2022-48958), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-48958 · Whole record: https://cve.day/CVE-2022-48958.json · Rebuilt by cve.day 2026-11-25T22:58:20.004Z
