CVE-2022-50547

media: solo6x10: fix possible memory leak in solo_sysfs_init()

MEDIUM
5.5
CVSS Score
Published: October 7, 2025 at 03:21 PM UTC
Updated: June 17, 2026 at 05:23 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

Description

In the Linux kernel, the following vulnerability has been resolved: media: solo6x10: fix possible memory leak in solo_sysfs_init() If device_register() returns error in solo_sysfs_init(), the name allocated by dev_set_name() need be freed. As comment of device_register() says, it should use put_device() to give up the reference in the error path. So fix this by calling put_device(), then the name can be freed in kobject_cleanup().

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.10 ≤ v < 4.14.3033.10 ≤ v < 4.19.2703.10 ≤ v < 4.9.3373.10 ≤ v < 5.10.1633.10 ≤ v < 5.15.863.10 ≤ v < 5.4.2293.10 ≤ v < 6.0.163.10 ≤ v < 6.1.23.10 ≤ v < 6.24.10 ≤ v < 4.14.3034.15 ≤ v < 4.19.2704.20 ≤ v < 5.4.2295.11 ≤ v < 5.15.865.16 ≤ v < 6.0.165.5 ≤ v < 5.10.1636.1 ≤ v < 6.1.23.10dcae5dacbce518513abf7776cb450b7bd95d722b
Vendor states this is fixed in 49060c0da57a381563e482e331dc9d4c3725b41b (fixed)
Vendor states this is fixed in 7b02c50d3978840781808e13bc13137fb81286b5 (fixed)
Vendor states this is fixed in 7cf71bbe5d2ee12613f6e278888f5fc9c5c0cc2b (fixed)
Vendor states this is fixed in 7f5866dd96d95b74e439f6ee17b8abd8195179fb (fixed)
Vendor states this is fixed in 83d4b1ae98a47a739fa5241300b86eb1110d5d63 (fixed)
Vendor states this is fixed in 9416861170ba0da8ddb0f4fd2d28334f0ed3b9c2 (fixed)
Vendor states this is fixed in 963729538674be4cb8fa292529ecf32de0d6c6dd (fixed)
Vendor states this is fixed in b61509093e1af69e336a094d439b8e1137cb40d8 (fixed)
Vendor states this is fixed in d6db105bcfbdbbbd484e788a0ddf8140a4a8c486 (fixed)
Vendor states this is fixed in 3.10 (unaffected)
Vendor states this is fixed in 4.14.303 (unaffected)
Vendor states this is fixed in 4.19.270 (unaffected)
Vendor states this is fixed in 4.9.337 (unaffected)
Vendor states this is fixed in 5.10.163 (unaffected)
Vendor states this is fixed in 5.15.86 (unaffected)
Vendor states this is fixed in 5.4.229 (unaffected)
Vendor states this is fixed in 6.0.16 (unaffected)
Vendor states this is fixed in 6.1.2 (unaffected)
Vendor states this is fixed in 6.2 (unaffected)

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card