CVE-2022-49161
publishedASoC: mediatek: Fix error handling in mt8183_da7219_max98357_dev_probe
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux11c0269017b212fd47c593307d2dc3eb9713b2d0 to < 9b9f6227e8d0c7c46b6d9d7b8a5c4e0536049fcf · 11c0269017b212fd47c593307d2dc3eb9713b2d0 to < 28a265a1ee11febeec5ea73a804f30dcec3181ca · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.2 (affected) · 0 to < 5.2 (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; No Fix Planned | Not stated | 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: ASoC: mediatek: Fix error handling in mt8183_da7219_max98357_dev_probe The device_node pointer is returned by of_parse_phandle() with refcount incremented. We should use of_node_put() on it when done. This function only calls of_node_put() in the regular path. And it will cause refcount leak in error paths. Fix this by calling of_node_put() in error handling too.
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.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 11c0269017b212fd47c593307d2dc3eb9713b2d0 to < 9b9f6227e8d0c7c46b6d9d7b8a5c4e0536049fcf (affected · git)11c0269017b212fd47c593307d2dc3eb9713b2d0 to < 28a265a1ee11febeec5ea73a804f30dcec3181ca (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.2 (affected)0 to < 5.2 (unaffected · semver)5.17.2 through 5.17.* (unaffected · semver)5.18 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
ASoC: mediatek: Fix error handling in mt8183_da7219_max98357_dev_probe
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ddb173589dc848601d50587ab1d663c96feabe69be73978c9251c752d6226341
- Ingested
- 23 Sep 2026, 08:04:03 UTC
- Source record
- Official CVE record