CVE-2022-50349Missing Release of Memory after Effective Lifetime in Linux

Severity
5.5MEDIUMNVD
EPSS
0.0%
top 97.89%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedSep 16

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.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitability: 1.8 | Impact: 3.6

Affected Packages4 packages

NVDlinux/linux_kernel2.6.224.9.337+7
Debianlinux/linux_kernel< 5.10.178-1+3
CVEListV5linux/linux2428a8fe2261e901e058d9ea8b6ed7e1b4268b792bbb222a54ff501f77ce593d21b76b79c905045e+9
debiandebian/linux< linux 6.1.4-1 (bookworm)

Patches

🔴Vulnerability Details

2
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_registe2025-09-16
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_regis2025-09-16

📋Vendor Advisories

2
Red Hat
kernel: misc: tifm: fix possible memory leak in tifm_7xx1_switch_media()2025-09-16
Debian
CVE-2022-50349: linux - In the Linux kernel, the following vulnerability has been resolved: misc: tifm:...2022
CVE-2022-50349 — Linux vulnerability | cvebase