ASoC: mt6797-mt6351: Fix refcount leak in mt6797_mt6351_dev_probe
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ f0ab0bf250da5a115d5675a686117f21984f0760 · < 38dc6faef05f33b4c889be8b7d65878e465c1c4b| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ASoC: mt6797-mt6351: Fix refcount leak in mt6797_mt6351_dev_probe
of_parse_phandle() returns a node pointer with refcount incremented, we should use of_node_put() on it when not need anymore. Add missing of_node_put() to avoid refcount leak.
From the CVE record · Linux
The Linux kernel’s mt6797-mt6351 ASoC driver leaks a device-tree node reference during probing because it does not call of_node_put() after of_parse_phandle(). The input does not describe how an attacker could trigger or exploit the leak, or specify network access, authentication, or user-interaction requirements.
Engineers running Linux kernels with the mt6797-mt6351 ASoC driver should check their kernel versions; affected versions are not specified.