What’s Vulnerable › Vulnerabilities
CVE-2022-49657: usbnet: fix memory leak in error case
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-02-26 · updated 2026-06-17
- Weakness: CWE-401
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
Affected products
- 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 — fixed in 4.14.288, 4.19.252, 4.9.323, 5.10.130, 5.15.54, 5.18.11
How to fix
Upgrade to a fixed version: Linux kernel 4.14.288, 4.19.252, 4.9.323, 5.10.130. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/0085da9df3dced730027923a6b48f58e9016af91
- https://git.kernel.org/stable/c/04894ab34faf40ab72a8a5ab5b404bb0606bbbff
- https://git.kernel.org/stable/c/3eed421ca5c809da93456f69203d164d5220be3d
- https://git.kernel.org/stable/c/5269209f54dd8dfd15f9383f3a3a1fe8370764f8
- https://git.kernel.org/stable/c/b55a21b764c1e182014630fa5486d717484ac58f
- https://git.kernel.org/stable/c/d5165e657987ff4ba0ace896d4376a3718a9fbc3
- https://git.kernel.org/stable/c/db89582ff330556188da856e01382ccbf3a5e706
- https://git.kernel.org/stable/c/e7b4f69946a38209b4a4f660bf0e4cbed94f9b4b
Get alerted when CVE-2022-49657 or the next vulnerability affects your stack