ath10k: Fix error handling in ath10k_setup_msa_resources
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:
ath10k: Fix error handling in ath10k_setup_msa_resources
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 ath10k_setup_msa_resources function fails to release a device-node reference on an error path, causing a reference-count leak. The input does not specify how an attacker could trigger the error path or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with ath10k should check whether their versions are affected; affected versions are not specified.