CVE-2022-49284

Source
https://cve.org/CVERecord?id=CVE-2022-49284
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49284.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-49284
Downstream
Published
2025-02-26T01:56:24.622Z
Modified
2026-04-02T08:27:27.967211Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
coresight: syscfg: Fix memleak on registration failure in cscfg_create_device
Details

In the Linux kernel, the following vulnerability has been resolved:

coresight: syscfg: Fix memleak on registration failure in cscfgcreatedevice

deviceregister() calls deviceinitialize(), 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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49284.json"
}
References

Affected packages

Git / 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
85e2414c518a03a21dddd4bc88fec2723c5e1197
Fixed
c61e2fc87f24cae4701f352fe9ecd4c5c143106c
Fixed
a529af1f5a5c096f3e18f0d5a32cfcc3d82df1ec
Fixed
412225b32986d5b11c3c1ad9234c50a3f5c52c76
Fixed
cfa5dbcdd7aece76f3415284569f2f384aff0253

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49284.json"