{"schema_version":"1.9.0","id":"CVE-2022-50848","published":"2025-12-30T12:15:25.776Z","modified":"2026-08-12T03:51:35.778570907Z","related":["SUSE-SU-2026:0263-1","SUSE-SU-2026:0317-1","SUSE-SU-2026:0411-1","SUSE-SU-2026:0617-1"],"summary":"drivers: dio: fix possible memory leak in dio_init()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrivers: dio: fix possible memory leak in dio_init()\n\nIf device_register() returns error, the 'dev' and name needs be\nfreed. Add a release function, and then call put_device() in the\nerror path, so the name is freed in kobject_cleanup() and to the\n'dev' is freed in release function.","affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"2e4c77bea3d8b17d94f8ee382411f359b708560f"},{"fixed":"affe3cea6b3148fa66796a48640664822ceccd48"},{"fixed":"4b68caa95064ac464f1b261d08ac677e753d1088"},{"fixed":"a524e7fed696a4dfef671e0fda3511bfd2dca0cf"},{"fixed":"da64e01da40c6b71a54144126da53cc3b27201ac"},{"fixed":"fce9890e1be4c0460dad850cc8c00414a9d25f0f"},{"fixed":"a0ead7e8da84f4c3759417b8e928b65e0207c646"},{"fixed":"8e002b9fe831b27d4506df6fa60cb33ba0730ac3"},{"fixed":"78fddc0ff971f9874d53c854818cc4aafa144114"},{"fixed":"e63e99397b2613d50a5f4f02ed07307e67a190f1"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50848.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.29"},{"fixed":"4.9.337"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.10.0"},{"fixed":"4.14.303"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.15.0"},{"fixed":"4.19.270"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.20.0"},{"fixed":"5.4.229"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.86"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.0.16"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.1.0"},{"fixed":"6.1.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50848.json"}}],"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/4b68caa95064ac464f1b261d08ac677e753d1088"},{"type":"WEB","url":"https://git.kernel.org/stable/c/78fddc0ff971f9874d53c854818cc4aafa144114"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8e002b9fe831b27d4506df6fa60cb33ba0730ac3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a0ead7e8da84f4c3759417b8e928b65e0207c646"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a524e7fed696a4dfef671e0fda3511bfd2dca0cf"},{"type":"WEB","url":"https://git.kernel.org/stable/c/affe3cea6b3148fa66796a48640664822ceccd48"},{"type":"WEB","url":"https://git.kernel.org/stable/c/da64e01da40c6b71a54144126da53cc3b27201ac"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e63e99397b2613d50a5f4f02ed07307e67a190f1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fce9890e1be4c0460dad850cc8c00414a9d25f0f"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50848.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50848"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50848.json"}}