mmc: sdhci-of-esdhc: Fix refcount leak in esdhc_signal_voltage_switch
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ ea35645a3c66a74af92d3bbb4eb131220fc3e58a · < b074f1e8060836baeb0ee91181f4194b9a0ee16a| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
mmc: sdhci-of-esdhc: Fix refcount leak in esdhc_signal_voltage_switch
of_find_matching_node() 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. of_node_put() checks null pointer.
From the CVE record · Linux
The Linux kernel's sdhci-of-esdhc driver fails to release a node reference in esdhc_signal_voltage_switch, causing a refcount leak. The input does not describe an attacker action or specify whether network access, authentication, or user interaction is required.
Engineers running the Linux kernel should check whether their kernel includes the affected sdhci-of-esdhc code; affected versions are not specified.