{"id":"CVE-2022-49835","summary":"ALSA: hda: fix potential memleak in 'add_widget_node'","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: hda: fix potential memleak in 'add_widget_node'\n\nAs 'kobject_add' may allocated memory for 'kobject-\u003ename' when return error.\nAnd in this function, if call 'kobject_add' failed didn't free kobject.\nSo call 'kobject_put' to recycling resources.","modified":"2026-04-03T13:14:44.976631Z","published":"2025-05-01T14:09:52.700Z","related":["SUSE-SU-2025:01918-1","SUSE-SU-2025:01966-1","SUSE-SU-2025:01982-1","SUSE-SU-2025:01983-1","SUSE-SU-2025:01995-1","SUSE-SU-2025:02173-1","SUSE-SU-2025:02262-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49835.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/02dea987ec1cac712c78e75d224ceb9bb73519ed"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3a79f9568de08657fcdbc41d6fc4c0ca145a7a2b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/455d99bd6baf19688048b6d42d9fa74eae27f93b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7140d7aaf93da6a665b454f91bb4dc6b1de218bd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/90b7d055e2b5f39429f9a9e3815b48a48530ef28"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9a5523f72bd2b0d66eef3d58810c6eb7b5ffc143"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b688a3ec235222d9a84e43a48a6f31acb95baf2d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bb0ac8d5e541224f599bc8e8f31a313faa4bf7b7"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49835.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49835"},{"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":"3256be6537751f65c76b3ecfbb4e667f87525a2f"},{"fixed":"b688a3ec235222d9a84e43a48a6f31acb95baf2d"},{"fixed":"bb0ac8d5e541224f599bc8e8f31a313faa4bf7b7"},{"fixed":"90b7d055e2b5f39429f9a9e3815b48a48530ef28"},{"fixed":"02dea987ec1cac712c78e75d224ceb9bb73519ed"},{"fixed":"3a79f9568de08657fcdbc41d6fc4c0ca145a7a2b"},{"fixed":"7140d7aaf93da6a665b454f91bb4dc6b1de218bd"},{"fixed":"455d99bd6baf19688048b6d42d9fa74eae27f93b"},{"fixed":"9a5523f72bd2b0d66eef3d58810c6eb7b5ffc143"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49835.json"}}],"schema_version":"1.7.5"}