{"id":"CVE-2022-50848","aliases":["CVE-2022-50848"],"related":[],"kind":"vulnerability","state":"published","title":"drivers: dio: fix possible memory leak in dio_init()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2025-12-30T12:15:25.776Z","modified":"2026-06-17T05:24:17.463Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"2e4c77bea3d8b17d94f8ee382411f359b708560f","fixed":"affe3cea6b3148fa66796a48640664822ceccd48","status":"affected"},{"type":"git","introduced":"2e4c77bea3d8b17d94f8ee382411f359b708560f","fixed":"4b68caa95064ac464f1b261d08ac677e753d1088","status":"affected"},{"type":"git","introduced":"2e4c77bea3d8b17d94f8ee382411f359b708560f","fixed":"a524e7fed696a4dfef671e0fda3511bfd2dca0cf","status":"affected"},{"type":"git","introduced":"2e4c77bea3d8b17d94f8ee382411f359b708560f","fixed":"da64e01da40c6b71a54144126da53cc3b27201ac","status":"affected"},{"type":"git","introduced":"2e4c77bea3d8b17d94f8ee382411f359b708560f","fixed":"fce9890e1be4c0460dad850cc8c00414a9d25f0f","status":"affected"},{"type":"git","introduced":"2e4c77bea3d8b17d94f8ee382411f359b708560f","fixed":"a0ead7e8da84f4c3759417b8e928b65e0207c646","status":"affected"},{"type":"git","introduced":"2e4c77bea3d8b17d94f8ee382411f359b708560f","fixed":"8e002b9fe831b27d4506df6fa60cb33ba0730ac3","status":"affected"},{"type":"git","introduced":"2e4c77bea3d8b17d94f8ee382411f359b708560f","fixed":"78fddc0ff971f9874d53c854818cc4aafa144114","status":"affected"},{"type":"git","introduced":"2e4c77bea3d8b17d94f8ee382411f359b708560f","fixed":"e63e99397b2613d50a5f4f02ed07307e67a190f1","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.29","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.29","status":"unaffected"},{"type":"semver","introduced":"4.9.337","lastAffected":"4.9.*","status":"unaffected"},{"type":"semver","introduced":"4.14.303","lastAffected":"4.14.*","status":"unaffected"},{"type":"semver","introduced":"4.19.270","lastAffected":"4.19.*","status":"unaffected"},{"type":"semver","introduced":"5.4.229","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.163","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.86","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.0.16","lastAffected":"6.0.*","status":"unaffected"},{"type":"semver","introduced":"6.1.2","lastAffected":"6.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/affe3cea6b3148fa66796a48640664822ceccd48","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4b68caa95064ac464f1b261d08ac677e753d1088","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a524e7fed696a4dfef671e0fda3511bfd2dca0cf","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/da64e01da40c6b71a54144126da53cc3b27201ac","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fce9890e1be4c0460dad850cc8c00414a9d25f0f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a0ead7e8da84f4c3759417b8e928b65e0207c646","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8e002b9fe831b27d4506df6fa60cb33ba0730ac3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/78fddc0ff971f9874d53c854818cc4aafa144114","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e63e99397b2613d50a5f4f02ed07307e67a190f1","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50848","url":"https://www.cve.org/CVERecord?id=CVE-2022-50848","licence":"CVE Terms of Use","modified":"2026-05-11T19:26:17.227Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50848","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50848","licence":"Public domain","modified":"2026-06-17T05:24:17.463Z"}],"updatedAt":"2026-11-25T22:58:21.378Z","epss":{"score":0.00304,"percentile":0.24985,"date":"2026-12-02T12:00:21.000Z"}}