In the Linux kernel, the following vulnerability has been resolved:
coresight: syscfg: Fix memleak on registration failure in cscfg_create_device
device_register() calls device_initialize(),
according to doc of device_initialize:
    Use put_device() to give up your reference instead of freeing
    * @dev directly once you have called this function.
To prevent potential memleak, use put_device() for error handling.
                
            Metrics
Affected Vendors & Products
References
        History
                    Mon, 14 Apr 2025 20:30:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| First Time appeared | Linux Linux linux Kernel | |
| Weaknesses | CWE-401 | |
| CPEs | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | |
| Vendors & Products | Linux Linux linux Kernel | 
Thu, 27 Feb 2025 01:45:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| References |  | |
| Metrics | threat_severity 
 | cvssV3_1 
 
 | 
Wed, 26 Feb 2025 02:15:00 +0000
| Type | Values Removed | Values Added | 
|---|---|---|
| Description | In the Linux kernel, the following vulnerability has been resolved: coresight: syscfg: Fix memleak on registration failure in cscfg_create_device device_register() calls device_initialize(), according to doc of device_initialize: Use put_device() to give up your reference instead of freeing * @dev directly once you have called this function. To prevent potential memleak, use put_device() for error handling. | |
| Title | coresight: syscfg: Fix memleak on registration failure in cscfg_create_device | |
| References |  | 
 MITRE
                        MITRE
                    Status: PUBLISHED
Assigner: Linux
Published: 2025-02-26T01:56:24.622Z
Updated: 2025-10-01T19:47:00.669Z
Reserved: 2025-02-26T01:49:39.298Z
Link: CVE-2022-49284
 Vulnrichment
                        Vulnrichment
                    No data.
 NVD
                        NVD
                    Status : Modified
Published: 2025-02-26T07:01:05.260
Modified: 2025-10-01T20:16:01.530
Link: CVE-2022-49284
 Redhat
                        Redhat
                     ReportizFlow
ReportizFlow