# CVE-2022-49657: usbnet: fix memory leak in error case

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `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.28%, higher than 21% of CVEs (2026-12-02)
- Published: 2025-02-26T02:23:56.417Z
- Modified: 2026-06-17T05:18:46.310Z
- 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:

usbnet: fix memory leak in error case

usbnet_write_cmd_async() mixed up which buffers
need to be freed in which error case.

v2: add Fixes tag
v3: fix uninitialized buf pointer

(As written by CVE List.)

## Affected

- Linux Linux: from 877bd862f32b815d54ab5fc10a4fd903d7bf3012 before 3eed421ca5c809da93456f69203d164d5220be3d; from 877bd862f32b815d54ab5fc10a4fd903d7bf3012 before 5269209f54dd8dfd15f9383f3a3a1fe8370764f8; from 877bd862f32b815d54ab5fc10a4fd903d7bf3012 before d5165e657987ff4ba0ace896d4376a3718a9fbc3; from 877bd862f32b815d54ab5fc10a4fd903d7bf3012 before 04894ab34faf40ab72a8a5ab5b404bb0606bbbff; from 877bd862f32b815d54ab5fc10a4fd903d7bf3012 before 0085da9df3dced730027923a6b48f58e9016af91; from 877bd862f32b815d54ab5fc10a4fd903d7bf3012 before db89582ff330556188da856e01382ccbf3a5e706; from 877bd862f32b815d54ab5fc10a4fd903d7bf3012 before e7b4f69946a38209b4a4f660bf0e4cbed94f9b4b; from 877bd862f32b815d54ab5fc10a4fd903d7bf3012 before b55a21b764c1e182014630fa5486d717484ac58f; 3.8 (not affected: before 3.8; from 4.9.323 up to 4.9.*; from 4.14.288 up to 4.14.*; from 4.19.252 up to 4.19.*; from 5.4.205 up to 5.4.*; from 5.10.130 up to 5.10.*; from 5.15.54 up to 5.15.*; from 5.18.11 up to 5.18.*; from 5.19 up to *)
- linux linux_kernel: from 3.8 before 4.9.323; from 4.10 before 4.14.288; from 4.15 before 4.19.252; from 4.20 before 5.4.205; from 5.5 before 5.10.130; from 5.11 before 5.15.54; from 5.16 before 5.18.11; 5.19

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/3eed421ca5c809da93456f69203d164d5220be3d> (patch)
- <https://git.kernel.org/stable/c/5269209f54dd8dfd15f9383f3a3a1fe8370764f8> (patch)
- <https://git.kernel.org/stable/c/d5165e657987ff4ba0ace896d4376a3718a9fbc3> (patch)
- <https://git.kernel.org/stable/c/04894ab34faf40ab72a8a5ab5b404bb0606bbbff> (patch)
- <https://git.kernel.org/stable/c/0085da9df3dced730027923a6b48f58e9016af91> (patch)
- <https://git.kernel.org/stable/c/db89582ff330556188da856e01382ccbf3a5e706> (patch)
- <https://git.kernel.org/stable/c/e7b4f69946a38209b4a4f660bf0e4cbed94f9b4b> (patch)
- <https://git.kernel.org/stable/c/b55a21b764c1e182014630fa5486d717484ac58f> (patch)

## Sources

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

---

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