{"id":"CVE-2022-48775","summary":"Drivers: hv: vmbus: Fix memory leak in vmbus_add_channel_kobj","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nDrivers: hv: vmbus: Fix memory leak in vmbus_add_channel_kobj\n\nkobject_init_and_add() takes reference even when it fails.\nAccording to the doc of kobject_init_and_add()：\n\n   If this function returns an error, kobject_put() must be called to\n   properly clean up the memory associated with the object.\n\nFix memory leak by calling kobject_put().","modified":"2026-06-18T03:56:44.129359226Z","published":"2024-07-16T11:13:14.472Z","related":["SUSE-SU-2024:2892-1","SUSE-SU-2024:2894-1","SUSE-SU-2024:2901-1","SUSE-SU-2024:2902-1","SUSE-SU-2024:2929-1","SUSE-SU-2024:2939-1","SUSE-SU-2024:2940-1","SUSE-SU-2024:2947-1","SUSE-SU-2024:3225-1","SUSE-SU-2024:3249-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48775.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/417947891bd5ae327f15efed1a0da2b12ef24962"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8bc69f86328e87a0ffa79438430cc82f3aa6a194"},{"type":"WEB","url":"https://git.kernel.org/stable/c/91d8866ca55232d21995a3d54fac96de33c9e20c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/92e25b637cd4e010f776c86e4810300e773eac5c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c377e2ba78d3fe9a1f0b4ec424e75f81da7e81e9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fe595759c2a4a5bb41c438474f15947d8ae32f5c"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48775.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-48775"},{"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":"c2e5df616e1ae6c2a074cb241ebb65a318ebaf7c"},{"fixed":"417947891bd5ae327f15efed1a0da2b12ef24962"},{"fixed":"fe595759c2a4a5bb41c438474f15947d8ae32f5c"},{"fixed":"91d8866ca55232d21995a3d54fac96de33c9e20c"},{"fixed":"c377e2ba78d3fe9a1f0b4ec424e75f81da7e81e9"},{"fixed":"92e25b637cd4e010f776c86e4810300e773eac5c"},{"fixed":"8bc69f86328e87a0ffa79438430cc82f3aa6a194"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-48775.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.15.0"},{"fixed":"4.19.231"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.20.0"},{"fixed":"5.4.181"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.102"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.25"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"5.16.11"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-48775.json"}}],"schema_version":"1.7.5"}