CVE-2026-139190

Source
https://cve.org/CVERecord?id=CVE-2026-139190
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139190.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139190
Downstream
Published
2026-11-30T13:32:24Z
Modified
2026-11-30T15:02:27Z
Summary
net: usb: lan78xx: avoid NULL PHY dereference in WoL setup
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139190.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e110bc82589752909e283ba5cbc160e0ab56c085
Fixed
0c25305c29f1d1d50775b939be7b0527c95bf40a
Fixed
08280c4a2a03b3423d3639a5beb165f17d963cc5
Fixed
dacb77e32e2bba78f90a8637fd27e13e2c9775dd

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139190.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.17.0
Fixed
6.18.65
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139190.json"