All reports
Medium

kernel: usbnet: fix memory leak in error case

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2022-49657

Probability of exploitation in the next 30 days: 0.28%

FIRST EPSS · 2026-11-21

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

A flaw was found in the Linux kernel's usbnet driver. In error-handling paths during asynchronous command processing, the driver improperly manages allocated buffers, resulting in a memory leak. A local user could exploit this vulnerability by triggering specific error conditions during network operations over USB, potentially causing memory exhaustion and a Denial of Service (DoS).