Bug 2348088 (CVE-2022-49477) - CVE-2022-49477 kernel: ASoC: samsung: Fix refcount leak in aries_audio_probe
Summary: CVE-2022-49477 kernel: ASoC: samsung: Fix refcount leak in aries_audio_probe
Keywords:
Status: NEW
Alias: CVE-2022-49477
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-02-26 03:17 UTC by OSIDB Bzimport
Modified: 2025-03-03 02:31 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-02-26 03:17:11 UTC
In the Linux kernel, the following vulnerability has been resolved:

ASoC: samsung: Fix refcount leak in aries_audio_probe

of_parse_phandle() returns a node pointer with refcount
incremented, we should use of_node_put() on it when done.
If extcon_find_edev_by_node() fails, it doesn't call of_node_put()
Calling of_node_put() after extcon_find_edev_by_node() to fix this.

Comment 1 Avinash Hanwate 2025-02-26 20:39:57 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022603-CVE-2022-49477-8fb3@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.