# CVE-2026-139190: net: usb: lan78xx: avoid NULL PHY dereference in WoL setup

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-11-30T13:32:24.784Z
- Modified: 2026-11-30T14:18:38.467Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from e110bc82589752909e283ba5cbc160e0ab56c085 before 0c25305c29f1d1d50775b939be7b0527c95bf40a; from e110bc82589752909e283ba5cbc160e0ab56c085 before 08280c4a2a03b3423d3639a5beb165f17d963cc5; from e110bc82589752909e283ba5cbc160e0ab56c085 before dacb77e32e2bba78f90a8637fd27e13e2c9775dd; 6.17 (not affected: before 6.17; from 6.18.65 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/0c25305c29f1d1d50775b939be7b0527c95bf40a>
- <https://git.kernel.org/stable/c/08280c4a2a03b3423d3639a5beb165f17d963cc5>
- <https://git.kernel.org/stable/c/dacb77e32e2bba78f90a8637fd27e13e2c9775dd>

## Sources

- CVE List: [CVE-2026-139190](https://www.cve.org/CVERecord?id=CVE-2026-139190), CVE Terms of Use, modified 2026-11-30
- NVD: [CVE-2026-139190](https://nvd.nist.gov/vuln/detail/CVE-2026-139190), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-139190 · Whole record: https://cve.day/CVE-2026-139190.json · Rebuilt by cve.day 2026-11-30T14:33:00.217Z
