phy: sunplus: fix error handling in sp_uphy_init()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 99d9ccd97385208b78b3d88e756451f4b70119fc · < 8b2683bc4cc18c581b7cd24f227cbe61abca7f4d| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
phy: sunplus: fix error handling in sp_uphy_init()
Fix the error paths of sp_uphy_init() to undo exactly what each stage did: return directly if clk_prepare_enable() fails, release only the clock if reset_control_deassert() fails, and jump to err_reset if update_disc_vol() fails so the clock and reset are not leaked.
From the CVE record · Linux
The Linux kernel’s sunplus PHY initialization function mishandles errors and can leak clock and reset resources if update_disc_vol() fails. The input does not establish what an attacker could do or specify access, authentication, or user-interaction requirements.
Teams running Linux kernels with the sunplus PHY driver should check whether their versions are affected; no affected versions are listed.