{"id":"CVE-2022-50349","aliases":["CVE-2022-50349"],"related":[],"kind":"vulnerability","state":"published","title":"misc: tifm: fix possible memory leak in tifm_7xx1_switch_media()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nmisc: tifm: fix possible memory leak in tifm_7xx1_switch_media()\n\nIf device_register() returns error in tifm_7xx1_switch_media(),\nname of kobject which is allocated in dev_set_name() called in device_add()\nis leaked.\n\nNever directly free @dev after calling device_register(), even\nif it returned an error! Always use put_device() to give up the\nreference initialized.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmisc: tifm: fix possible memory leak in tifm_7xx1_switch_media()\n\nIf device_register() returns error in tifm_7xx1_switch_media(),\nname of kobject which is allocated in dev_set_name() called in device_add()\nis leaked.\n\nNever directly free @dev after calling device_register(), even\nif it returned an error! Always use put_device() to give up the\nreference initialized.","source":"cvelist"}],"published":"2025-09-16T16:11:41.340Z","modified":"2026-06-17T05:23:17.623Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"2428a8fe2261e901e058d9ea8b6ed7e1b4268b79","fixed":"2bbb222a54ff501f77ce593d21b76b79c905045e","status":"affected"},{"type":"git","introduced":"2428a8fe2261e901e058d9ea8b6ed7e1b4268b79","fixed":"d861b7d41b17942b337d4b87a70de7cd1dc44d4e","status":"affected"},{"type":"git","introduced":"2428a8fe2261e901e058d9ea8b6ed7e1b4268b79","fixed":"1695b1adcc3a7d985cd22fa3b55761edf3fab50d","status":"affected"},{"type":"git","introduced":"2428a8fe2261e901e058d9ea8b6ed7e1b4268b79","fixed":"ee2715faf7e7153f5142ed09aacfa89a64d45dcb","status":"affected"},{"type":"git","introduced":"2428a8fe2261e901e058d9ea8b6ed7e1b4268b79","fixed":"57c857353d5020bdec8284d9c0fee447484fe5e0","status":"affected"},{"type":"git","introduced":"2428a8fe2261e901e058d9ea8b6ed7e1b4268b79","fixed":"848c45964ded537107e010aaf353aa30a0855387","status":"affected"},{"type":"git","introduced":"2428a8fe2261e901e058d9ea8b6ed7e1b4268b79","fixed":"35abbc8406cc39e72d3ce85f6e869555afe50d54","status":"affected"},{"type":"git","introduced":"2428a8fe2261e901e058d9ea8b6ed7e1b4268b79","fixed":"ef843ee20576039126d34d6eb5f45d14c3e6ce18","status":"affected"},{"type":"git","introduced":"2428a8fe2261e901e058d9ea8b6ed7e1b4268b79","fixed":"fd2c930cf6a5b9176382c15f9acb1996e76e25ad","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.22","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.22","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"},{"ranges":[{"status":"affected","introduced":"2.6.22","fixed":"4.9.337"},{"status":"affected","introduced":"4.10","fixed":"4.14.303"},{"status":"affected","introduced":"4.15","fixed":"4.19.270"},{"status":"affected","introduced":"4.20","fixed":"5.4.229"},{"status":"affected","introduced":"5.5","fixed":"5.10.163"},{"status":"affected","introduced":"5.11","fixed":"5.15.86"},{"status":"affected","introduced":"5.16","fixed":"6.0.16"},{"status":"affected","introduced":"6.1","fixed":"6.1.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/2bbb222a54ff501f77ce593d21b76b79c905045e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d861b7d41b17942b337d4b87a70de7cd1dc44d4e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1695b1adcc3a7d985cd22fa3b55761edf3fab50d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ee2715faf7e7153f5142ed09aacfa89a64d45dcb","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/57c857353d5020bdec8284d9c0fee447484fe5e0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/848c45964ded537107e010aaf353aa30a0855387","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/35abbc8406cc39e72d3ce85f6e869555afe50d54","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ef843ee20576039126d34d6eb5f45d14c3e6ce18","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fd2c930cf6a5b9176382c15f9acb1996e76e25ad","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-01-14T18:21:43.723Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50349","url":"https://www.cve.org/CVERecord?id=CVE-2022-50349","licence":"CVE Terms of Use","modified":"2026-05-11T19:17:48.868Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50349","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50349","licence":"Public domain","modified":"2026-06-17T05:23:17.623Z"}],"updatedAt":"2026-11-25T22:58:21.175Z","epss":{"score":0.00235,"percentile":0.08652,"date":"2026-11-30T12:00:22.000Z"}}