CVE-2022-49657Published Feb 26, 2025 · Feb 26Updated Oct 28
usbnet: fix memory leak in error case
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 877bd862f32b815d54ab5fc10a4fd903d7bf3012 · < db89582ff330556188da856e01382ccbf3a5e706| No fix yet |
| Linux Linux |
|
|
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
From the CVE record · Linux
The Linux kernel's usbnet_write_cmd_async() can leak memory because it frees the wrong buffers in an error case. The input does not establish how an attacker could trigger the error or whether access or user interaction is required.
Engineers running Linux kernels with usbnet should check their exposure; affected versions are not specified.