{"id":"CVE-2022-49949","summary":"firmware_loader: Fix memory leak in firmware upload","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nfirmware_loader: Fix memory leak in firmware upload\n\nIn the case of firmware-upload, an instance of struct fw_upload is\nallocated in firmware_upload_register(). This data needs to be freed\nin fw_dev_release(). Create a new fw_upload_free() function in\nsysfs_upload.c to handle the firmware-upload specific memory frees\nand incorporate the missing kfree call for the fw_upload structure.","modified":"2026-04-03T13:14:35.762227167Z","published":"2025-06-18T11:00:13.277Z","related":["SUSE-SU-2025:02264-1","SUSE-SU-2025:02321-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49949.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/789bba82f63c3e81dce426ba457fc7905b30ac6e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/baf92485d111be828e1ab84a995515b604b938e5"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49949.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49949"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"97730bbb242cde22b7140acd202ffd88823886c9"},{"fixed":"baf92485d111be828e1ab84a995515b604b938e5"},{"fixed":"789bba82f63c3e81dce426ba457fc7905b30ac6e"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49949.json"}}],"schema_version":"1.7.5"}