CVE-2022-49951
Severity CVSS v4.0:
Pending analysis
Type:
CWE-416
Use After Free
Publication date:
18/06/2025
Last modified:
14/11/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
firmware_loader: Fix use-after-free during unregister<br />
<br />
In the following code within firmware_upload_unregister(), the call to<br />
device_unregister() could result in the dev_release function freeing the<br />
fw_upload_priv structure before it is dereferenced for the call to<br />
module_put(). This bug was found by the kernel test robot using<br />
CONFIG_KASAN while running the firmware selftests.<br />
<br />
device_unregister(&fw_sysfs->dev);<br />
module_put(fw_upload_priv->module);<br />
<br />
The problem is fixed by copying fw_upload_priv->module to a local variable<br />
for use when calling device_unregister().
Impact
Base Score 3.x
7.80
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.19 (including) | 5.19.8 (excluding) |
| cpe:2.3:o:linux:linux_kernel:6.0:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.0:rc2:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:6.0:rc3:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



