CVE-2022-49284
published medium CVSS 3.1 · 5.5coresight: syscfg: Fix memleak on registration failure in cscfg_create_device
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux85e2414c518a03a21dddd4bc88fec2723c5e1197 to < c61e2fc87f24cae4701f352fe9ecd4c5c143106c · 85e2414c518a03a21dddd4bc88fec2723c5e1197 to < a529af1f5a5c096f3e18f0d5a32cfcc3d82df1ec · 85e2414c518a03a21dddd4bc88fec2723c5e1197 to < 412225b32986d5b11c3c1ad9234c50a3f5c52c76 · 85e2414c518a03a21dddd4bc88fec2723c5e1197 to < cfa5dbcdd7aece76f3415284569f2f384aff0253 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.15 (affected) · 0 to < 5.15 (unaffected · semver) · 5.15.33 through 5.15.* (unaffected · semver) · 5.16.19 through 5.16.* (unaffected · semver) · 5.17.2 through 5.17.* (unaffected · semver) · 5.18 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.5 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 85e2414c518a03a21dddd4bc88fec2723c5e1197 to < c61e2fc87f24cae4701f352fe9ecd4c5c143106c (affected · git)85e2414c518a03a21dddd4bc88fec2723c5e1197 to < a529af1f5a5c096f3e18f0d5a32cfcc3d82df1ec (affected · git)85e2414c518a03a21dddd4bc88fec2723c5e1197 to < 412225b32986d5b11c3c1ad9234c50a3f5c52c76 (affected · git)85e2414c518a03a21dddd4bc88fec2723c5e1197 to < cfa5dbcdd7aece76f3415284569f2f384aff0253 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.15 (affected)0 to < 5.15 (unaffected · semver)5.15.33 through 5.15.* (unaffected · semver)5.16.19 through 5.16.* (unaffected · semver)5.17.2 through 5.17.* (unaffected · semver)5.18 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-401 CWE-401 Missing Release of Memory after Effective Lifetime
References
4Provider assertions
2Linux · cna
coresight: syscfg: Fix memleak on registration failure in cscfg_create_device
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 093804706c155120be64dfaf71fc300f4a3ab4912c14e843b262cec4a2cb81b0
- Ingested
- 23 Sep 2026, 08:04:12 UTC
- Source record
- Official CVE record