What’s Vulnerable › Vulnerabilities
CVE-2022-49949: firmware_loader: Fix memory leak in firmware upload
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-06-18 · updated 2026-06-17
- Weakness: CWE-401
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.
Affected products
- Linux kernel: from 5.19 before 5.19.8; 6.0-rc1, 6.0-rc2, 6.0-rc3 — fixed in 5.19.8
How to fix
Upgrade to a fixed version: Linux kernel 5.19.8. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/789bba82f63c3e81dce426ba457fc7905b30ac6e
- https://git.kernel.org/stable/c/baf92485d111be828e1ab84a995515b604b938e5
Get alerted when CVE-2022-49949 or the next vulnerability affects your stack