CVE-2022-49657

Source
https://cve.org/CVERecord?id=CVE-2022-49657
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49657.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-49657
Downstream
Related
Published
2025-02-26T02:23:56.417Z
Modified
2026-04-11T12:44:22.059928Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
usbnet: fix memory leak in error case
Details

In the Linux kernel, the following vulnerability has been resolved:

usbnet: fix memory leak in error case

usbnetwritecmd_async() mixed up which buffers need to be freed in which error case.

v2: add Fixes tag v3: fix uninitialized buf pointer

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49657.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
877bd862f32b815d54ab5fc10a4fd903d7bf3012
Fixed
3eed421ca5c809da93456f69203d164d5220be3d
Fixed
5269209f54dd8dfd15f9383f3a3a1fe8370764f8
Fixed
d5165e657987ff4ba0ace896d4376a3718a9fbc3
Fixed
04894ab34faf40ab72a8a5ab5b404bb0606bbbff
Fixed
0085da9df3dced730027923a6b48f58e9016af91
Fixed
db89582ff330556188da856e01382ccbf3a5e706
Fixed
e7b4f69946a38209b4a4f660bf0e4cbed94f9b4b
Fixed
b55a21b764c1e182014630fa5486d717484ac58f

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49657.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.8.0
Fixed
4.9.323
Type
ECOSYSTEM
Events
Introduced
4.10.0
Fixed
4.14.288
Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
4.19.252
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.205
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.130
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.54
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
5.18.11

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-49657.json"