{"id":"CVE-2022-50547","summary":"media: solo6x10: fix possible memory leak in solo_sysfs_init()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: solo6x10: fix possible memory leak in solo_sysfs_init()\n\nIf device_register() returns error in solo_sysfs_init(), the\nname allocated by dev_set_name() need be freed. As comment of\ndevice_register() says, it should use put_device() to give up\nthe reference in the error path. So fix this by calling\nput_device(), then the name can be freed in kobject_cleanup().","modified":"2026-04-02T08:28:37.030747Z","published":"2025-10-07T15:21:10.620Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50547.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/49060c0da57a381563e482e331dc9d4c3725b41b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7b02c50d3978840781808e13bc13137fb81286b5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7cf71bbe5d2ee12613f6e278888f5fc9c5c0cc2b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7f5866dd96d95b74e439f6ee17b8abd8195179fb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/83d4b1ae98a47a739fa5241300b86eb1110d5d63"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9416861170ba0da8ddb0f4fd2d28334f0ed3b9c2"},{"type":"WEB","url":"https://git.kernel.org/stable/c/963729538674be4cb8fa292529ecf32de0d6c6dd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b61509093e1af69e336a094d439b8e1137cb40d8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d6db105bcfbdbbbd484e788a0ddf8140a4a8c486"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50547.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50547"},{"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":"dcae5dacbce518513abf7776cb450b7bd95d722b"},{"fixed":"83d4b1ae98a47a739fa5241300b86eb1110d5d63"},{"fixed":"b61509093e1af69e336a094d439b8e1137cb40d8"},{"fixed":"963729538674be4cb8fa292529ecf32de0d6c6dd"},{"fixed":"7b02c50d3978840781808e13bc13137fb81286b5"},{"fixed":"49060c0da57a381563e482e331dc9d4c3725b41b"},{"fixed":"7cf71bbe5d2ee12613f6e278888f5fc9c5c0cc2b"},{"fixed":"d6db105bcfbdbbbd484e788a0ddf8140a4a8c486"},{"fixed":"9416861170ba0da8ddb0f4fd2d28334f0ed3b9c2"},{"fixed":"7f5866dd96d95b74e439f6ee17b8abd8195179fb"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50547.json"}}],"schema_version":"1.7.5"}