CVE-2022-50547: media: solo6x10: fix possible memory leak in solo_sysfs_init()
In the Linux kernel, the following vulnerability has been resolved:
media: solo6x10: fix possible memory leak in solosysfsinit()
If deviceregister() returns error in solosysfsinit(), the name allocated by devsetname() need be freed. As comment of deviceregister() says, it should use putdevice() to give up the reference in the error path. So fix this by calling putdevice(), then the name can be freed in kobjectcleanup().
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2022-50547?
CVE-2022-50547 has a low severity as it involves a potential memory leak in the Linux kernel.
How do I fix CVE-2022-50547?
To resolve CVE-2022-50547, update your Linux kernel to the latest version where the vulnerability has been patched.
Which Linux kernel versions are affected by CVE-2022-50547?
CVE-2022-50547 affects specific versions of the Linux kernel where the media solo6x10 driver is used.
Is CVE-2022-50547 a remote attack vulnerability?
CVE-2022-50547 is not classified as a remote attack vulnerability; it pertains to a local memory management issue.
What components are impacted by CVE-2022-50547?
CVE-2022-50547 impacts the media subsystem of the Linux kernel, specifically related to the solo6x10 driver.