Bug 2373612 (CVE-2022-49949) - CVE-2022-49949 kernel: firmware_loader: Fix memory leak in firmware upload
Summary: CVE-2022-49949 kernel: firmware_loader: Fix memory leak in firmware upload
Keywords:
Status: NEW
Alias: CVE-2022-49949
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-06-18 12:10 UTC by OSIDB Bzimport
Modified: 2025-06-20 09:54 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-06-18 12:10:39 UTC
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.

Comment 1 Avinash Hanwate 2025-06-19 04:00:30 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025061809-CVE-2022-49949-8fb5@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.