{"id":"CVE-2022-49657","summary":"usbnet: fix memory leak in error case","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nusbnet: fix memory leak in error case\n\nusbnet_write_cmd_async() mixed up which buffers\nneed to be freed in which error case.\n\nv2: add Fixes tag\nv3: fix uninitialized buf pointer","modified":"2026-04-02T08:27:48.480790Z","published":"2025-02-26T02:23:56.417Z","related":["ALSA-2025:20518","SUSE-SU-2025:1027-1","SUSE-SU-2025:1176-1","SUSE-SU-2025:1183-1","SUSE-SU-2025:1194-1","SUSE-SU-2025:1241-1","SUSE-SU-2025:1263-1","SUSE-SU-2025:1293-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49657.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0085da9df3dced730027923a6b48f58e9016af91"},{"type":"WEB","url":"https://git.kernel.org/stable/c/04894ab34faf40ab72a8a5ab5b404bb0606bbbff"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3eed421ca5c809da93456f69203d164d5220be3d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5269209f54dd8dfd15f9383f3a3a1fe8370764f8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b55a21b764c1e182014630fa5486d717484ac58f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d5165e657987ff4ba0ace896d4376a3718a9fbc3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/db89582ff330556188da856e01382ccbf3a5e706"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e7b4f69946a38209b4a4f660bf0e4cbed94f9b4b"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49657.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49657"},{"type":"PACKAGE","url":"https://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/cve-osv-conversion/osv-output/CVE-2022-49657.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}