{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-50349","id":"CVE-2022-50349","title":"misc: tifm: fix possible memory leak in tifm_7xx1_switch_media()","description":"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() t","descriptionLong":"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.","published":"2025-09-16T16:11:41.340Z","updated":"2026-10-28T02:30:34.848265068Z","reserved":"2025-09-16T16:03:27.882Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"2428a8fe2261e901e058d9ea8b6ed7e1b4268b79","lessThan":"2bbb222a54ff501f77ce593d21b76b79c905045e","status":"affected","versionType":"git"},{"version":"2428a8fe2261e901e058d9ea8b6ed7e1b4268b79","lessThan":"d861b7d41b17942b337d4b87a70de7cd1dc44d4e","status":"affected","versionType":"git"},{"version":"2428a8fe2261e901e058d9ea8b6ed7e1b4268b79","lessThan":"1695b1adcc3a7d985cd22fa3b55761edf3fab50d","status":"affected","versionType":"git"},{"version":"2428a8fe2261e901e058d9ea8b6ed7e1b4268b79","lessThan":"ee2715faf7e7153f5142ed09aacfa89a64d45dcb","status":"affected","versionType":"git"},{"version":"2428a8fe2261e901e058d9ea8b6ed7e1b4268b79","lessThan":"57c857353d5020bdec8284d9c0fee447484fe5e0","status":"affected","versionType":"git"},{"version":"2428a8fe2261e901e058d9ea8b6ed7e1b4268b79","lessThan":"848c45964ded537107e010aaf353aa30a0855387","status":"affected","versionType":"git"},{"version":"2428a8fe2261e901e058d9ea8b6ed7e1b4268b79","lessThan":"35abbc8406cc39e72d3ce85f6e869555afe50d54","status":"affected","versionType":"git"},{"version":"2428a8fe2261e901e058d9ea8b6ed7e1b4268b79","lessThan":"ef843ee20576039126d34d6eb5f45d14c3e6ce18","status":"affected","versionType":"git"},{"version":"2428a8fe2261e901e058d9ea8b6ed7e1b4268b79","lessThan":"fd2c930cf6a5b9176382c15f9acb1996e76e25ad","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.22","status":"affected"},{"version":"0","lessThan":"2.6.22","status":"unaffected","versionType":"semver"},{"version":"4.9.337","lessThanOrEqual":"4.9.*","status":"unaffected","versionType":"semver"},{"version":"4.14.303","lessThanOrEqual":"4.14.*","status":"unaffected","versionType":"semver"},{"version":"4.19.270","lessThanOrEqual":"4.19.*","status":"unaffected","versionType":"semver"},{"version":"5.4.229","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.163","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.86","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.0.16","lessThanOrEqual":"6.0.*","status":"unaffected","versionType":"semver"},{"version":"6.1.2","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-401"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/2bbb222a54ff501f77ce593d21b76b79c905045e","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/d861b7d41b17942b337d4b87a70de7cd1dc44d4e","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/1695b1adcc3a7d985cd22fa3b55761edf3fab50d","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/ee2715faf7e7153f5142ed09aacfa89a64d45dcb","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/57c857353d5020bdec8284d9c0fee447484fe5e0","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/848c45964ded537107e010aaf353aa30a0855387","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/35abbc8406cc39e72d3ce85f6e869555afe50d54","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/ef843ee20576039126d34d6eb5f45d14c3e6ce18","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/fd2c930cf6a5b9176382c15f9acb1996e76e25ad","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50349.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50349","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.0017,"epssPercentile":0.0649,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-50349","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50349","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-50349","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-50349","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}