{"id":"CVE-2026-139190","summary":"net: usb: lan78xx: avoid NULL PHY dereference in WoL setup","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: usb: lan78xx: avoid NULL PHY dereference in WoL setup\n\nLAN7801 supports fixed-link configurations without an attached PHY.\nHowever, lan78xx_set_wol() unconditionally passes netdev-\u003ephydev\nto phy_ethtool_set_wol(), causing a NULL pointer dereference when\na userspace WoL request reaches this path.\n\nReport no WoL capabilities when no PHY is attached, and return\n-EOPNOTSUPP from lan78xx_set_wol() before modifying the wakeup\nconfiguration. Keep the existing phylib WoL handling for devices\nwith an attached PHY.\n\nThe issue was reproduced using USB Raw Gadget and dummy_hcd in QEMU.\nAn ETHTOOL_SWOL ioctl triggered a kernel Oops with the original\ndriver. With this change, the PHY-less configuration no longer\nadvertises unsupported WoL operations, avoiding the crash.","modified":"2026-12-01T21:00:15.642513069Z","published":"2026-11-30T13:32:24.784Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139190.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/08280c4a2a03b3423d3639a5beb165f17d963cc5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/0c25305c29f1d1d50775b939be7b0527c95bf40a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dacb77e32e2bba78f90a8637fd27e13e2c9775dd"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139190.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139190"},{"type":"PACKAGE","url":"https://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"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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"}}],"schema_version":"1.9.2"}