Skip to main content
Network Thinking Solutions Logo

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_register() returns error in tifm_7xx1_switch_media(), name of kobject which is allocated in dev_set_name() called in device_add() is leaked.

All CVEs
CVE-2022-50349Published 9/16/2025

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.

Vendor advisory
CVSS5.5Medium

Overview

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.

Published
9/16/2025
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 2.6.22, < 4.9.337

Verify advisory

Source
linux kernel
linux
≥ 4.10, < 4.14.303

Verify advisory

Source
linux kernel
linux
≥ 4.15, < 4.19.270

Verify advisory

Source
linux kernel
linux
≥ 4.20, < 5.4.229

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.163

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.86

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.0.16

Verify advisory

Source
linux kernel
linux
≥ 6.1, < 6.1.2

Verify advisory

Source
Linux
Linux
≥ 2428a8fe2261e901e058d9ea8b6ed7e1b4268b79, < 2bbb222a54ff501f77ce593d21b76b79c905045e

Verify advisory

Source
Linux
Linux
≥ 2428a8fe2261e901e058d9ea8b6ed7e1b4268b79, < d861b7d41b17942b337d4b87a70de7cd1dc44d4e

Verify advisory

Source
Linux
Linux
≥ 2428a8fe2261e901e058d9ea8b6ed7e1b4268b79, < 1695b1adcc3a7d985cd22fa3b55761edf3fab50d

Verify advisory

Source
Linux
Linux
≥ 2428a8fe2261e901e058d9ea8b6ed7e1b4268b79, < ee2715faf7e7153f5142ed09aacfa89a64d45dcb

Verify advisory

Source
Linux
Linux
≥ 2428a8fe2261e901e058d9ea8b6ed7e1b4268b79, < 57c857353d5020bdec8284d9c0fee447484fe5e0

Verify advisory

Source
Linux
Linux
≥ 2428a8fe2261e901e058d9ea8b6ed7e1b4268b79, < 848c45964ded537107e010aaf353aa30a0855387

Verify advisory

Source
Linux
Linux
≥ 2428a8fe2261e901e058d9ea8b6ed7e1b4268b79, < 35abbc8406cc39e72d3ce85f6e869555afe50d54

Verify advisory

Source
Linux
Linux
≥ 2428a8fe2261e901e058d9ea8b6ed7e1b4268b79, < ef843ee20576039126d34d6eb5f45d14c3e6ce18

Verify advisory

Source
Linux
Linux
≥ 2428a8fe2261e901e058d9ea8b6ed7e1b4268b79, < fd2c930cf6a5b9176382c15f9acb1996e76e25ad

Verify advisory

Source
Linux
Linux
2.6.22

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.