ASoC: fsl_mqs: move of_node_put() to the correct location
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ a9d273671440c439c4f236123c59dd839c1a0eb7 · < 1c34890273a020d61d6127ade3f68ed1cb21c16a| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ASoC: fsl_mqs: move of_node_put() to the correct location
of_node_put() should have been done directly after mqs_priv->regmap = syscon_node_to_regmap(gpr_np); otherwise it creates a reference leak on the success path.
To fix this, of_node_put() is moved to the correct location, and change all the gotos to direct returns.
From the CVE record · Linux
The Linux kernel’s ASoC fsl_mqs component leaks a node reference on the successful initialization path because of where it calls of_node_put(). The input does not describe how an attacker could trigger the leak or specify access or interaction requirements.
Engineers running the Linux kernel should check whether their kernel includes the affected ASoC fsl_mqs code; affected versions were not provided.