CVE-2026-139190
not scored yetnet: usb: lan78xx: avoid NULL PHY dereference in WoL setup
In the Linux kernel, the following vulnerability has been resolved:
net: usb: lan78xx: avoid NULL PHY dereference in WoL setup
LAN7801 supports fixed-link configurations without an attached PHY.
However, lan78xx_set_wol() unconditionally passes netdev->phydev
to phy_ethtool_set_wol(), causing a NULL pointer dereference when
a userspace WoL request reaches this path.
Report no WoL capabilities when no PHY is attached, and return
-EOPNOTSUPP from lan78xx_set_wol() before modifying the wakeup
configuration. Keep the existing phylib WoL handling for devices
with an attached PHY.
The issue was reproduced using USB Raw Gadget and dummy_hcd in QEMU.
An ETHTOOL_SWOL ioctl triggered a kernel Oops with the original
driver. With this change, the PHY-less configuration no longer
advertises unsupported WoL operations, avoiding the crash.
- Published
- 30 Nov 2026
- Last modified
- 30 Nov 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Received
- Sources
- NVDJSONCVE ListJSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Linux | Linux | >= e110bc82589752909e283ba5cbc160e0ab56c085, < 0c25305c29f1d1d50775b939be7b0527c95bf40a; >= e110bc82589752909e283ba5cbc160e0ab56c085, < 08280c4a2a03b3423d3639a5beb165f17d963cc5; >= e110bc82589752909e283ba5cbc160e0ab56c085, < dacb77e32e2bba78f90a8637fd27e13e2c9775dd | 0c25305c29f1d1d50775b939be7b0527c95bf40a, 08280c4a2a03b3423d3639a5beb165f17d963cc5, dacb77e32e2bba78f90a8637fd27e13e2c9775dd |
| CVE List | Linux | Linux | = 6.17 |
References
- https://git.kernel.org/stable/c/08280c4a2a03b3423d3639a5beb165f17d963cc5
- https://git.kernel.org/stable/c/0c25305c29f1d1d50775b939be7b0527c95bf40a
- https://git.kernel.org/stable/c/dacb77e32e2bba78f90a8637fd27e13e2c9775dd
History
- 30 Nov 2026 14:45 UTC · NVD: first stored (published 30 Nov 2026)
- 30 Nov 2026 13:58 UTC · CVE List: first stored (published 30 Nov 2026)