CVE-2024-35945Published May 19, 2024 · May 19Updated Nov 1
net: phy: phy_device: Prevent nullptr exceptions on ISR
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
net: phy: phy_device: Prevent nullptr exceptions on ISR
If phydev->irq is set unconditionally, check for valid interrupt handler or fall back to polling mode to prevent nullptr exceptions in interrupt service routine.
From the CVE record · Linux
The Linux kernel’s PHY device code can encounter a null-pointer exception in an interrupt service routine if phydev->irq is set without a valid interrupt handler. The input does not describe an attacker path, authentication requirement, or user interaction.
Engineers running Linux kernels with PHY device interrupt handling should check their deployments; affected versions are not specified.