In the Linux kernel, the following vulnerability has been resolved:
stmmac: intel: Add a missing clkdisableunprepare() call in intelethpci_remove()
Commit 09f012e64e4b ("stmmac: intel: Fix clock handling on error and remove paths") removed this clkdisableunprepare()
This was partly revert by commit ac322f86b56c ("net: stmmac: Fix clock handling on remove path") which removed this clkdisableunprepare() because: " While unloading the dwmac-intel driver, clkdisableunprepare() is being called twice in stmmacdvrremove() and intelethpci_remove(). This causes kernel panic on the second call. "
However later on, commit 5ec55823438e8 ("net: stmmac: add clocks management for gmac driver") has updated stmmacdvrremove() which do not call clkdisableunprepare() anymore.
So this call should now be called from intelethpci_remove().
{ "vanir_signatures": [ { "id": "CVE-2022-50039-029833cb", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9400aeb419d35e718e90aa14a97c11229d0a40bc", "deprecated": false, "signature_version": "v1", "signature_type": "Line", "digest": { "threshold": 0.9, "line_hashes": [ "218634742701103969138248123205758630704", "136333173539745429615652031709205267125", "206487923930959306117496086896727130169" ] }, "target": { "file": "drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c" } }, { "id": "CVE-2022-50039-284c7394", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5c23d6b717e4e956376f3852b90f58e262946b50", "deprecated": false, "signature_version": "v1", "signature_type": "Line", "digest": { "threshold": 0.9, "line_hashes": [ "218634742701103969138248123205758630704", "136333173539745429615652031709205267125", "206487923930959306117496086896727130169" ] }, "target": { "file": "drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c" } }, { "id": "CVE-2022-50039-3e3ff5a7", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5c23d6b717e4e956376f3852b90f58e262946b50", "deprecated": false, "signature_version": "v1", "signature_type": "Function", "digest": { "length": 229.0, "function_hash": "44697010451896979641775754424570783503" }, "target": { "file": "drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c", "function": "intel_eth_pci_remove" } }, { "id": "CVE-2022-50039-5d460814", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@02f3642d8e657c05f382729c165bed46745dc18c", "deprecated": false, "signature_version": "v1", "signature_type": "Line", "digest": { "threshold": 0.9, "line_hashes": [ "264331520918885438856527089981303129113", "187532357505855706258592083418343145387", "27819782501465577813893651783092022061" ] }, "target": { "file": "drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c" } }, { "id": "CVE-2022-50039-b8bc8123", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@47129531196054b374017555165b47a43cdb6f41", "deprecated": false, "signature_version": "v1", "signature_type": "Function", "digest": { "length": 229.0, "function_hash": "44697010451896979641775754424570783503" }, "target": { "file": "drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c", "function": "intel_eth_pci_remove" } }, { "id": "CVE-2022-50039-d3923b6b", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@02f3642d8e657c05f382729c165bed46745dc18c", "deprecated": false, "signature_version": "v1", "signature_type": "Function", "digest": { "length": 271.0, "function_hash": "122313658700883970231621221126336282114" }, "target": { "file": "drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c", "function": "intel_eth_pci_remove" } }, { "id": "CVE-2022-50039-da572bd1", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@47129531196054b374017555165b47a43cdb6f41", "deprecated": false, "signature_version": "v1", "signature_type": "Line", "digest": { "threshold": 0.9, "line_hashes": [ "218634742701103969138248123205758630704", "136333173539745429615652031709205267125", "206487923930959306117496086896727130169" ] }, "target": { "file": "drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c" } }, { "id": "CVE-2022-50039-f3b02835", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9400aeb419d35e718e90aa14a97c11229d0a40bc", "deprecated": false, "signature_version": "v1", "signature_type": "Function", "digest": { "length": 229.0, "function_hash": "44697010451896979641775754424570783503" }, "target": { "file": "drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c", "function": "intel_eth_pci_remove" } } ] }