CVEvulnerability
CVE-2022-50547
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2025-10-07
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-401
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 configurations
• linux linux kernel (>= 3.10 < 4.9.337)
• linux linux kernel (>= 4.10 < 4.14.303)
• linux linux kernel (>= 4.15 < 4.19.270)
• linux linux kernel (>= 4.20 < 5.4.229)
• linux linux kernel (>= 5.5 < 5.10.163)
• linux linux kernel (>= 5.11 < 5.15.86)
• linux linux kernel (>= 5.16 < 6.0.16)
• linux linux kernel (>= 6.1 < 6.1.2)
Related
Weakness · CWE (1)
- CWE-401 Missing Release of Memory after Effective Lifetime weakness
References
- https://git.kernel.org/stable/c/49060c0da57a381563e482e331dc9d4c3725b41b Patch
- https://git.kernel.org/stable/c/7b02c50d3978840781808e13bc13137fb81286b5 Patch
- https://git.kernel.org/stable/c/7cf71bbe5d2ee12613f6e278888f5fc9c5c0cc2b Patch
- https://git.kernel.org/stable/c/7f5866dd96d95b74e439f6ee17b8abd8195179fb Patch
- https://git.kernel.org/stable/c/83d4b1ae98a47a739fa5241300b86eb1110d5d63 Patch
- https://git.kernel.org/stable/c/9416861170ba0da8ddb0f4fd2d28334f0ed3b9c2 Patch
- https://git.kernel.org/stable/c/963729538674be4cb8fa292529ecf32de0d6c6dd Patch
- https://git.kernel.org/stable/c/b61509093e1af69e336a094d439b8e1137cb40d8 Patch
- https://git.kernel.org/stable/c/d6db105bcfbdbbbd484e788a0ddf8140a4a8c486 Patch