CVE-2022-50349
published 2025-09-16CVE-2022-50349: In the Linux kernel, the following vulnerability has been resolved: misc: tifm: fix possible memory leak in tifm_7xx1_switch_media() If device_register()…
PriorityP416medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.15%
4.6th percentile
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.
Affected
23 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 6.1.4-1 (bookworm) | linux 6.1.4-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= 2428a8fe2261e901e058d9ea8b6ed7e1b4268b79 < 2bbb222a54ff501f77ce593d21b76b79c905045e | 2bbb222a54ff501f77ce593d21b76b79c905045e |
| linux | linux | >= 2428a8fe2261e901e058d9ea8b6ed7e1b4268b79 < d861b7d41b17942b337d4b87a70de7cd1dc44d4e | d861b7d41b17942b337d4b87a70de7cd1dc44d4e |
| linux | linux | >= 2428a8fe2261e901e058d9ea8b6ed7e1b4268b79 < 1695b1adcc3a7d985cd22fa3b55761edf3fab50d | 1695b1adcc3a7d985cd22fa3b55761edf3fab50d |
| linux | linux | >= 2428a8fe2261e901e058d9ea8b6ed7e1b4268b79 < ee2715faf7e7153f5142ed09aacfa89a64d45dcb | ee2715faf7e7153f5142ed09aacfa89a64d45dcb |
| linux | linux | >= 2428a8fe2261e901e058d9ea8b6ed7e1b4268b79 < 57c857353d5020bdec8284d9c0fee447484fe5e0 | 57c857353d5020bdec8284d9c0fee447484fe5e0 |
| linux | linux | >= 2428a8fe2261e901e058d9ea8b6ed7e1b4268b79 < 848c45964ded537107e010aaf353aa30a0855387 | 848c45964ded537107e010aaf353aa30a0855387 |
| linux | linux | >= 2428a8fe2261e901e058d9ea8b6ed7e1b4268b79 < 35abbc8406cc39e72d3ce85f6e869555afe50d54 | 35abbc8406cc39e72d3ce85f6e869555afe50d54 |
| linux | linux | >= 2428a8fe2261e901e058d9ea8b6ed7e1b4268b79 < ef843ee20576039126d34d6eb5f45d14c3e6ce18 | ef843ee20576039126d34d6eb5f45d14c3e6ce18 |
| linux | linux | >= 2428a8fe2261e901e058d9ea8b6ed7e1b4268b79 < fd2c930cf6a5b9176382c15f9acb1996e76e25ad | fd2c930cf6a5b9176382c15f9acb1996e76e25ad |
| linux | linux_kernel | >= 0 < 5.10.178-1 | 5.10.178-1 |
| linux | linux_kernel | >= 0 < 6.1.4-1 | 6.1.4-1 |
| linux | linux_kernel | >= 0 < 6.1.4-1 | 6.1.4-1 |
| linux | linux_kernel | >= 0 < 6.1.4-1 | 6.1.4-1 |
| linux | linux_kernel | >= 2.6.22 < 4.9.337 | 4.9.337 |
| linux | linux_kernel | >= 4.10 < 4.14.303 | 4.14.303 |
| linux | linux_kernel | >= 4.15 < 4.19.270 | 4.19.270 |
| linux | linux_kernel | >= 4.20 < 5.4.229 | 5.4.229 |
| linux | linux_kernel | >= 5.11 < 5.15.86 | 5.15.86 |
| linux | linux_kernel | >= 5.16 < 6.0.16 | 6.0.16 |
| linux | linux_kernel | >= 5.5 < 5.10.163 | 5.10.163 |
| linux | linux_kernel | >= 6.1 < 6.1.2 | 6.1.2 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
CVE-2022-50349: In the Linux kernel, the following vulnerability has been resolved: misc: tifm: fix possible memory leak in tifm_7xx1_switch_media() If device_registe
osv·2025-09-16·CVSS 5.5
CVE-2022-50349 [MEDIUM] CVE-2022-50349: In the Linux kernel, the following vulnerability has been resolved: misc: tifm: fix possible memory leak in tifm_7xx1_switch_media() If device_registe
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.
GHSA
GHSA-m889-2hfp-9m7j: In the Linux kernel, the following vulnerability has been resolved:
misc: tifm: fix possible memory leak in tifm_7xx1_switch_media()
If device_regis
ghsa_unreviewed·2025-09-16
CVE-2022-50349 [MEDIUM] CWE-401 GHSA-m889-2hfp-9m7j: In the Linux kernel, the following vulnerability has been resolved:
misc: tifm: fix possible memory leak in tifm_7xx1_switch_media()
If device_regis
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.
Red Hat
kernel: misc: tifm: fix possible memory leak in tifm_7xx1_switch_media()
vendor_redhat·2025-09-16·CVSS 5.5
CVE-2022-50349 [MEDIUM] CWE-772 kernel: misc: tifm: fix possible memory leak in tifm_7xx1_switch_media()
kernel: misc: tifm: fix possible memory leak in tifm_7xx1_switch_media()
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.
Package: kernel (Red Hat Enterprise Linux 10) - Not affected
Package: kernel (Red Hat Enterprise Linux 6) - Out of support scope
Package: kernel (Red Hat Enterprise Linux 7) - Fix deferred
Package: kernel-rt (Red Hat Enterprise Linux 7) - Fix deferred
Package: kernel (Red Hat Enterprise
Debian
CVE-2022-50349: linux - In the Linux kernel, the following vulnerability has been resolved: misc: tifm:...
vendor_debian·2022·CVSS 5.5
CVE-2022-50349 [MEDIUM] CVE-2022-50349: linux - In the Linux kernel, the following vulnerability has been resolved: misc: tifm:...
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.
Scope: local
bookworm: resolved (fixed in 6.1.4-1)
bullseye: resolved (fixed in 5.10.178-1)
forky: resolved (fixed in 6.1.4-1)
sid: resolved (fixed in 6.1.4-1)
trixie: resolved (fixed in 6.1.4-1)
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/1695b1adcc3a7d985cd22fa3b55761edf3fab50dhttps://git.kernel.org/stable/c/2bbb222a54ff501f77ce593d21b76b79c905045ehttps://git.kernel.org/stable/c/35abbc8406cc39e72d3ce85f6e869555afe50d54https://git.kernel.org/stable/c/57c857353d5020bdec8284d9c0fee447484fe5e0https://git.kernel.org/stable/c/848c45964ded537107e010aaf353aa30a0855387https://git.kernel.org/stable/c/d861b7d41b17942b337d4b87a70de7cd1dc44d4ehttps://git.kernel.org/stable/c/ee2715faf7e7153f5142ed09aacfa89a64d45dcbhttps://git.kernel.org/stable/c/ef843ee20576039126d34d6eb5f45d14c3e6ce18https://git.kernel.org/stable/c/fd2c930cf6a5b9176382c15f9acb1996e76e25ad
2025-09-16
Published