ASoC: atmel: Fix error handling in sam9x5_wm8731_driver_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: atmel: Fix error handling in sam9x5_wm8731_driver_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 path.
From the CVE record · Linux
The Linux kernel's sam9x5_wm8731_driver_probe leaks a device-node reference when it takes an error path. The input does not establish whether an attacker can trigger that path or specify network access, authentication, or user-interaction requirements.
Engineers running Linux kernels with the ASoC atmel driver should check their versions; affected versions were not provided.