CVE-2022-50039
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
18/06/2025
Last modified:
18/06/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
stmmac: intel: Add a missing clk_disable_unprepare() call in intel_eth_pci_remove()<br />
<br />
Commit 09f012e64e4b ("stmmac: intel: Fix clock handling on error and remove<br />
paths") removed this clk_disable_unprepare()<br />
<br />
This was partly revert by commit ac322f86b56c ("net: stmmac: Fix clock<br />
handling on remove path") which removed this clk_disable_unprepare()<br />
because:<br />
"<br />
While unloading the dwmac-intel driver, clk_disable_unprepare() is<br />
being called twice in stmmac_dvr_remove() and<br />
intel_eth_pci_remove(). This causes kernel panic on the second call.<br />
"<br />
<br />
However later on, commit 5ec55823438e8 ("net: stmmac: add clocks management<br />
for gmac driver") has updated stmmac_dvr_remove() which do not call<br />
clk_disable_unprepare() anymore.<br />
<br />
So this call should now be called from intel_eth_pci_remove().