CVE-2026-139190
publishednet: usb: lan78xx: avoid NULL PHY dereference in WoL setup
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxe110bc82589752909e283ba5cbc160e0ab56c085 to < 0c25305c29f1d1d50775b939be7b0527c95bf40a · e110bc82589752909e283ba5cbc160e0ab56c085 to < 08280c4a2a03b3423d3639a5beb165f17d963cc5 · e110bc82589752909e283ba5cbc160e0ab56c085 to < dacb77e32e2bba78f90a8637fd27e13e2c9775dd · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.17 (affected) · 0 to < 6.17 (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | e110bc82589752909e283ba5cbc160e0ab56c085 to < 0c25305c29f1d1d50775b939be7b0527c95bf40a (affected · git)e110bc82589752909e283ba5cbc160e0ab56c085 to < 08280c4a2a03b3423d3639a5beb165f17d963cc5 (affected · git)e110bc82589752909e283ba5cbc160e0ab56c085 to < dacb77e32e2bba78f90a8637fd27e13e2c9775dd (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.17 (affected)0 to < 6.17 (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
net: usb: lan78xx: avoid NULL PHY dereference in WoL setup
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- bf31a2f692472e4cc6dabe639194c1d0e54c1c5586b6ba1dcbb645842a20ff70
- Ingested
- 30 Nov 2026, 13:42:23 UTC
- Source record
- Official CVE record