CVE-2022-49284
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
26/02/2025
Last modified:
26/02/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
coresight: syscfg: Fix memleak on registration failure in cscfg_create_device<br />
<br />
device_register() calls device_initialize(),<br />
according to doc of device_initialize:<br />
<br />
Use put_device() to give up your reference instead of freeing<br />
* @dev directly once you have called this function.<br />
<br />
To prevent potential memleak, use put_device() for error handling.