CVE-2022-49949 Details
Description
In the Linux kernel, the following vulnerability has been resolved: firmware_loader: Fix memory leak in firmware upload In the case of firmware-upload, an instance of struct fw_upload is allocated in firmware_upload_register(). This data needs to be freed in fw_dev_release(). Create a new fw_upload_free() function in sysfs_upload.c to handle the firmware-upload specific memory frees and incorporate the missing kfree call for the fw_upload structure.
A memory leak vulnerability has been addressed in the Linux kernel's firmware loader component. During the firmware upload process, an instance of the 'fw_upload' structure is allocated but not properly freed, leading to a memory leak. The vulnerability arises because the allocated data needs to be released in the 'fw_dev_release()' function. To resolve this issue, a new 'fw_upload_free()' function has been created in 'sysfs_upload.c' to manage the specific memory deallocation for firmware uploads, incorporating the necessary 'kfree' call for the 'fw_upload' structure.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/789bba82f63c3e81dce426ba457fc7905b30ac6e | kernel.org | Patch |
| https://git.kernel.org/stable/c/baf92485d111be828e1ab84a995515b604b938e5 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.19, < 5.19.8 6.0 rc1 6.0 rc2 6.0 rc3 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 31, 2025 | Modified Analysis | [email protected] |
| Nov 14, 2025 | Initial Analysis | [email protected] |
| Jun 18, 2025 | New CVE Received | kernel.org |