CVE-2022-50349 Details
Description
In the Linux kernel, the following vulnerability has been resolved: misc: tifm: fix possible memory leak in tifm_7xx1_switch_media() If device_register() returns error in tifm_7xx1_switch_media(), name of kobject which is allocated in dev_set_name() called in device_add() is leaked. Never directly free @dev after calling device_register(), even if it returned an error! Always use put_device() to give up the reference initialized.
A memory leak vulnerability has been identified in the Linux kernel tifm driver, specifically within the tifm_7xx1_switch_media() function. When device_register() fails, the function inadvertently leaks the name of a kobject, which is assigned via dev_set_name() during the device_add() process. This issue arises because the function directly frees the @dev reference without properly releasing it, leading to a memory management flaw.
Users can apply the latest patches available in the Linux kernel stable tree to address this vulnerability. Instructions for downloading the patched version can be found in the Linux kernel Git repository.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 14, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/1695b1adcc3a7d985cd22fa3b55761edf3fab50d | kernel.org | Patch |
| https://git.kernel.org/stable/c/2bbb222a54ff501f77ce593d21b76b79c905045e | kernel.org | Patch |
| https://git.kernel.org/stable/c/35abbc8406cc39e72d3ce85f6e869555afe50d54 | kernel.org | Patch |
| https://git.kernel.org/stable/c/57c857353d5020bdec8284d9c0fee447484fe5e0 | kernel.org | Patch |
| https://git.kernel.org/stable/c/848c45964ded537107e010aaf353aa30a0855387 | kernel.org | Patch |
| https://git.kernel.org/stable/c/d861b7d41b17942b337d4b87a70de7cd1dc44d4e | kernel.org | Patch |
| https://git.kernel.org/stable/c/ee2715faf7e7153f5142ed09aacfa89a64d45dcb | kernel.org | Patch |
| https://git.kernel.org/stable/c/ef843ee20576039126d34d6eb5f45d14c3e6ce18 | kernel.org | Patch |
| https://git.kernel.org/stable/c/fd2c930cf6a5b9176382c15f9acb1996e76e25ad | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
| CWE-401 | Missing Release of Memory after Effective Lifetime | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 2.6.22, < 4.9.337 >= 4.10, < 4.14.303 >= 4.15, < 4.19.270 >= 4.20, < 5.4.229 >= 5.5, < 5.10.163 >= 5.11, < 5.15.86 >= 5.16, < 6.0.16 >= 6.1, < 6.1.2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 14, 2026 | CVE Modified | CISA-ADP |
| Dec 1, 2025 | Initial Analysis | [email protected] |
| Sep 16, 2025 | New CVE Received | kernel.org |