Memory Leak Vulnerability in Linux Kernel Affecting Device Registration
CVE-2022-50547
What is CVE-2022-50547?
A memory leak exists in the Linux kernel's solo6x10 driver, specifically during the device registration process. If the function device_register() fails while initializing the solo_sysfs_init() function, the allocated name must be released using put_device(). Failing to do so could lead to unnecessary memory consumption, ultimately impacting system performance. The fix addresses this issue by ensuring that resources are properly managed when an error occurs, thereby enhancing the stability and security of the Linux kernel.
Affected Version(s)
Linux dcae5dacbce518513abf7776cb450b7bd95d722b < 83d4b1ae98a47a739fa5241300b86eb1110d5d63
Linux dcae5dacbce518513abf7776cb450b7bd95d722b
Linux dcae5dacbce518513abf7776cb450b7bd95d722b < 963729538674be4cb8fa292529ecf32de0d6c6dd