CVE-2022-49949

published 18 Jun 2025 · updated 11 May 2026

firmware_loader: Fix memory leak in firmware upload

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 789bba82f63c3e81dce426ba457fc7905b30ac6e and Kernel baf92485d111be828e1ab84a995515b604b938e5.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.19, >=97730bbb242cde22b7140acd202ffd88823886c9 <789bba82f63c3e81dce426ba457fc7905b30ac6e, >=97730bbb242cde22b7140acd202ffd88823886c9 <baf92485d111be828e1ab84a995515b604b938e5789bba82f63c3e81dce426ba457fc7905b30ac6e, baf92485d111be828e1ab84a995515b604b938e5

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-49949 severity on Zeptric[![CVE-2022-49949](https://zeptric.io/badge/cve/CVE-2022-49949.svg)](https://zeptric.io/cve/CVE-2022-49949)