CVE-2022-49949: firmware_loader: Fix memory leak in firmware upload
In the Linux kernel, the following vulnerability has been resolved:
firmwareloader: Fix memory leak in firmware upload
In the case of firmware-upload, an instance of struct fwupload is allocated in firmwareuploadregister(). This data needs to be freed in fwdevrelease(). Create a new fwuploadfree() function in sysfsupload.c to handle the firmware-upload specific memory frees and incorporate the missing kfree call for the fwupload structure.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.0.2-1
Event History
Frequently Asked Questions
What is the severity of CVE-2022-49949?
CVE-2022-49949 is classified as a medium-severity vulnerability due to a memory leak in firmware upload processes.
How do I fix CVE-2022-49949?
To fix CVE-2022-49949, update to the latest version of the Linux kernel that includes the security patch.
Which Linux kernel versions are affected by CVE-2022-49949?
CVE-2022-49949 affects versions of the Linux kernel between 5.19 and 5.19.8, as well as 6.0-rc1, 6.0-rc2, and 6.0-rc3.
What is the impact of CVE-2022-49949 on system stability?
The impact of CVE-2022-49949 can lead to increased memory usage and potential system instability due to unfreed memory.
Is CVE-2022-49949 specific to any Linux distribution?
CVE-2022-49949 is not specific to any Linux distribution but affects the Linux kernel itself across its various distributions.