CVE-2022-50349: 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.
Security readout for executives and security teams
Plain-English summary
CVE-2022-50349 is a Linux kernel memory leak in the tifm 7xx1 media-switch path. A local low-privileged user may be able to cause availability impact on affected systems using this driver. The provided sources show no KEV listing and no cited active exploitation.
Executive priority
Treat this as routine-to-priority kernel maintenance, not an emergency. It has local availability impact and no sourced active exploitation, but it can matter on multi-user or high-availability Linux systems.
Technical view
In tifm_7xx1_switch_media(), a device_register() failure can leak the kobject name allocated through dev_set_name()/device_add(). The resolved behavior is to release the initialized device reference with put_device(). The issue is CWE-401 with CVSS 3.1 score 5.5 and local availability impact.
Likely exposure
Exposure is most likely on Linux systems running affected kernel versions with the tifm 7xx1 driver present or loadable. Distribution kernels may have backported fixes, so version strings alone are insufficient for final exposure decisions.
Exploitation context
The CVSS vector requires local access, low privileges, no user interaction, and affects availability only. The bundle does not identify public exploitation, weaponized details, or inclusion in CISA KEV.
Researcher notes
The source evidence is narrow: a kernel memory leak fixed in stable commits. The affected-version data is branch-oriented and may not match downstream distributions. Avoid claiming confidentiality, integrity, remote attack, or active exploitation without additional vendor evidence.
Mitigation direction
Apply vendor or distribution kernel updates containing the stable tifm fix.
Check vendor advisories for backported fixes before relying on upstream version numbers.
Reduce exposure to untrusted local users on affected systems where patching is delayed.
Review whether tifm 7xx1 support is needed on critical systems.
Validation and detection
Inventory Linux kernel versions and distribution patch levels across managed systems.
Confirm whether the tifm 7xx1 driver is present, built, or loadable.
Map systems against vendor advisories and the referenced stable kernel commits.
Prioritize validation on shared hosts or systems with untrusted local shell users.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-401: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.