ASoC: samsung: Fix refcount leak in aries_audio_probe
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's Samsung ASoC aries_audio_probe can leak a device-tree node reference when extcon_find_edev_by_node() fails. The input does not describe an attacker action or specify network access, authentication, or user-interaction requirements.
Engineers running Linux kernels that include the Samsung ASoC aries_audio_probe code should check their builds; affected versions are not specified.