CVE-2022-49657

usbnet: fix memory leak in error case

MEDIUM
5.5
CVSS Score
Published: February 26, 2025 at 02:23 AM UTC
Updated: June 17, 2026 at 05:18 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.8 ≤ v < 4.14.2883.8 ≤ v < 4.19.2523.8 ≤ v < 4.9.3233.8 ≤ v < 5.10.1303.8 ≤ v < 5.15.543.8 ≤ v < 5.18.113.8 ≤ v < 5.193.8 ≤ v < 5.4.2054.10 ≤ v < 4.14.2884.15 ≤ v < 4.19.2524.20 ≤ v < 5.4.2055.11 ≤ v < 5.15.545.16 ≤ v < 5.18.115.5 ≤ v < 5.10.1305.19 rc15.19 rc25.19 rc35.19 rc45.19 rc5877bd862f32b815d54ab5fc10a4fd903d7bf3012
Vendor states this is fixed in 0085da9df3dced730027923a6b48f58e9016af91 (fixed)
Vendor states this is fixed in 04894ab34faf40ab72a8a5ab5b404bb0606bbbff (fixed)
Vendor states this is fixed in 3eed421ca5c809da93456f69203d164d5220be3d (fixed)
Vendor states this is fixed in 5269209f54dd8dfd15f9383f3a3a1fe8370764f8 (fixed)
Vendor states this is fixed in b55a21b764c1e182014630fa5486d717484ac58f (fixed)
Vendor states this is fixed in d5165e657987ff4ba0ace896d4376a3718a9fbc3 (fixed)
Vendor states this is fixed in db89582ff330556188da856e01382ccbf3a5e706 (fixed)
Vendor states this is fixed in e7b4f69946a38209b4a4f660bf0e4cbed94f9b4b (fixed)
Vendor states this is fixed in 3.8 (unaffected)
Vendor states this is fixed in 4.14.288 (unaffected)
Vendor states this is fixed in 4.19.252 (unaffected)
Vendor states this is fixed in 4.9.323 (unaffected)
Vendor states this is fixed in 5.10.130 (unaffected)
Vendor states this is fixed in 5.15.54 (unaffected)
Vendor states this is fixed in 5.18.11 (unaffected)
Vendor states this is fixed in 5.19 (unaffected)
Vendor states this is fixed in 5.4.205 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0085da9df3dced730027923a6b48f58e9016af91
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/04894ab34faf40ab72a8a5ab5b404bb0606bbbff
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3eed421ca5c809da93456f69203d164d5220be3d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5269209f54dd8dfd15f9383f3a3a1fe8370764f8
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b55a21b764c1e182014630fa5486d717484ac58f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d5165e657987ff4ba0ace896d4376a3718a9fbc3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/db89582ff330556188da856e01382ccbf3a5e706
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e7b4f69946a38209b4a4f660bf0e4cbed94f9b4b

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.5MEDIUMCISA-ADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card