CVE-2022-50349
MEDIUMLinux Kernel < 4.9.337 - Memory Leak
Title source: ruleDescription
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.
References (9)
Scores
CVSS v3
5.5
EPSS
0.0001
EPSS Percentile
2.1%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Classification
CWE
CWE-401
Status
published
Affected Products (9)
linux/linux_kernel
< 4.9.337
linux/Kernel
< 4.9.337linux
linux/Kernel
< 4.14.303linux
linux/Kernel
< 4.19.270linux
linux/Kernel
< 5.4.229linux
linux/Kernel
< 5.10.163linux
linux/Kernel
< 5.15.86linux
linux/Kernel
< 6.0.16linux
linux/Kernel
< 6.1.2linux
Timeline
Published
Sep 16, 2025
Tracked Since
Feb 18, 2026