CVE-2022-49657
usbnet: fix memory leak in error case
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= 877bd862f32b815d54ab5fc10a4fd903d7bf3012, < 3eed421ca5c809da93456f69203d164d5220be3d; >= 877bd862f32b815d54ab5fc10a4fd903d7bf3012, < 5269209f54dd8dfd15f9383f3a3a1fe8370764f8; >= 877bd862f32b815d54ab5fc10a4fd903d7bf3012, < d5165e657987ff4ba0ace896d4376a3718a9fbc3; >= 877bd862f32b815d54ab5fc10a4fd903d7bf3012, < 04894ab34faf40ab72a8a5ab5b404bb0606bbbff; >= 877bd862f32b815d54ab5fc10a4fd903d7bf3012, < 0085da9df3dced730027923a6b48f58e9016af91; >= 877bd862f32b815d54ab5fc10a4fd903d7bf3012, < db89582ff330556188da856e01382ccbf3a5e706; >= 877bd862f32b815d54ab5fc10a4fd903d7bf3012, < e7b4f69946a38209b4a4f660bf0e4cbed94f9b4b; >= 877bd862f32b815d54ab5fc10a4fd903d7bf3012, < b55a21b764c1e182014630fa5486d717484ac58f
- Anyone running Linux 3.8
Vulnerability facts
- Affected
- Linux >= 877bd862f32b815d54ab5fc10a4fd903d7bf3012, < 3eed421ca5c809da93456f69203d164d5220be3d; >= 877bd862f32b815d54ab5fc10a4fd903d7bf3012, < 5269209f54dd8dfd15f9383f3a3a1fe8370764f8; >= 877bd862f32b815d54ab5fc10a4fd903d7bf3012, < d5165e657987ff4ba0ace896d4376a3718a9fbc3; >= 877bd862f32b815d54ab5fc10a4fd903d7bf3012, < 04894ab34faf40ab72a8a5ab5b404bb0606bbbff; >= 877bd862f32b815d54ab5fc10a4fd903d7bf3012, < 0085da9df3dced730027923a6b48f58e9016af91; >= 877bd862f32b815d54ab5fc10a4fd903d7bf3012, < db89582ff330556188da856e01382ccbf3a5e706; >= 877bd862f32b815d54ab5fc10a4fd903d7bf3012, < e7b4f69946a38209b4a4f660bf0e4cbed94f9b4b; >= 877bd862f32b815d54ab5fc10a4fd903d7bf3012, < b55a21b764c1e182014630fa5486d717484ac58f; Linux 3.8
- Fixed in
- Linux 3eed421ca5c809da93456f69203d164d5220be3d, Linux 5269209f54dd8dfd15f9383f3a3a1fe8370764f8, Linux 04894ab34faf40ab72a8a5ab5b404bb0606bbbff, Linux 0085da9df3dced730027923a6b48f58e9016af91
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.28% chance of exploitation in 30 days (percentile 13, 2026-11-26)
- CWE
- CWE-401
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 877bd862f32b815d54ab5fc10a4fd903d7bf3012, < 3eed421ca5c809da93456f69203d164d5220be3d; >= 877bd862f32b815d54ab5fc10a4fd903d7bf3012, < 5269209f54dd8dfd15f9383f3a3a1fe8370764f8; >= 877bd862f32b815d54ab5fc10a4fd903d7bf3012, < d5165e657987ff4ba0ace896d4376a3718a9fbc3; >= 877bd862f32b815d54ab5fc10a4fd903d7bf3012, < 04894ab34faf40ab72a8a5ab5b404bb0606bbbff; >= 877bd862f32b815d54ab5fc10a4fd903d7bf3012, < 0085da9df3dced730027923a6b48f58e9016af91; >= 877bd862f32b815d54ab5fc10a4fd903d7bf3012, < db89582ff330556188da856e01382ccbf3a5e706; >= 877bd862f32b815d54ab5fc10a4fd903d7bf3012, < e7b4f69946a38209b4a4f660bf0e4cbed94f9b4b; >= 877bd862f32b815d54ab5fc10a4fd903d7bf3012, < b55a21b764c1e182014630fa5486d717484ac58f | — | cvelist |
| Linux | 3.8 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2022-49657. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2022-49657.md Affected: Linux >= 877bd862f32b815d54ab5fc10a4fd903d7bf3012, < 3eed421ca5c809da93456f69203d164d5220be3d; >= 877bd862f32b815d54ab5fc10a4fd903d7bf3012, < 5269209f54dd8dfd15f9383f3a3a1fe8370764f8; >= 877bd862f32b815d54ab5fc10a4fd903d7bf3012, < d5165e657987ff4ba0ace896d4376a3718a9fbc3; >= 877bd862f32b815d54ab5fc… Fixed in: Linux 3eed421ca5c809da93456f69203d164d5220be3d, Linux 5269209f54dd8dfd15f9383f3a3a1fe8370764f8, Linux 04894ab34faf40ab72a8a5ab5b404bb0606bbbff, Linux 0085da9df3dced730027923a6b48f58e9016af91 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/3eed421ca5c809da93456f69203d164d5220be3d
- https://git.kernel.org/stable/c/5269209f54dd8dfd15f9383f3a3a1fe8370764f8
- https://git.kernel.org/stable/c/d5165e657987ff4ba0ace896d4376a3718a9fbc3
- https://git.kernel.org/stable/c/04894ab34faf40ab72a8a5ab5b404bb0606bbbff
- https://git.kernel.org/stable/c/0085da9df3dced730027923a6b48f58e9016af91
- https://git.kernel.org/stable/c/db89582ff330556188da856e01382ccbf3a5e706
- https://git.kernel.org/stable/c/e7b4f69946a38209b4a4f660bf0e4cbed94f9b4b
- https://git.kernel.org/stable/c/b55a21b764c1e182014630fa5486d717484ac58f
FAQ
Is CVE-2022-49657 being exploited?
There is no confirmed exploitation: CVE-2022-49657 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2022-49657?
Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2022-49657?
Linux >= 877bd862f32b815d54ab5fc10a4fd903d7bf3012, < 3eed421ca5c809da93456f69203d164d5220be3d; >= 877bd862f32b815d54ab5fc10a4fd903d7bf3012, < 5269209f54dd8dfd15f9383f3a3a1fe8370764f8; >= 877bd862f32b815d54ab5fc10a4fd903d7bf3012, < d5165e657987ff4ba0ace896d4376a3718a9fbc3; >= 877bd862f32b815d54ab5fc10a4fd903d7bf3012, < 04894ab34faf40ab72a8a5ab5b404bb0606bbbff; >= 877bd862f32b815d54ab5fc10a4fd903d7bf3012, < 0085da9df3dced730027923a6b48f58e9016af91; >= 877bd862f32b815d54ab5fc10a4fd903d7bf3012, < db89582ff330556188da856e01382ccbf3a5e706; >= 877bd862f32b815d54ab5fc10a4fd903d7bf3012, < e7b4f69946a38209b4a4f660bf0e4cbed94f9b4b; >= 877bd862f32b815d54ab5fc10a4fd903d7bf3012, < b55a21b764c1e182014630fa5486d717484ac58f; Linux 3.8.
Is there a fix for CVE-2022-49657?
Yes. Fixed in Linux 3eed421ca5c809da93456f69203d164d5220be3d, Linux 5269209f54dd8dfd15f9383f3a3a1fe8370764f8, Linux 04894ab34faf40ab72a8a5ab5b404bb0606bbbff, Linux 0085da9df3dced730027923a6b48f58e9016af91. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2022-49657?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.