{"id":"CVE-2026-139190","aliases":["CVE-2026-139190"],"related":[],"kind":"vulnerability","state":"published","title":"net: usb: lan78xx: avoid NULL PHY dereference in WoL setup","summary":"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->phydev\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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->phydev\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.","source":"cvelist"}],"published":"2026-11-30T13:32:24.784Z","modified":"2026-11-30T14:18:38.467Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"e110bc82589752909e283ba5cbc160e0ab56c085","fixed":"0c25305c29f1d1d50775b939be7b0527c95bf40a","status":"affected"},{"type":"git","introduced":"e110bc82589752909e283ba5cbc160e0ab56c085","fixed":"08280c4a2a03b3423d3639a5beb165f17d963cc5","status":"affected"},{"type":"git","introduced":"e110bc82589752909e283ba5cbc160e0ab56c085","fixed":"dacb77e32e2bba78f90a8637fd27e13e2c9775dd","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.17","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.17","status":"unaffected"},{"type":"semver","introduced":"6.18.65","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/0c25305c29f1d1d50775b939be7b0527c95bf40a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/08280c4a2a03b3423d3639a5beb165f17d963cc5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dacb77e32e2bba78f90a8637fd27e13e2c9775dd","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139190","url":"https://www.cve.org/CVERecord?id=CVE-2026-139190","licence":"CVE Terms of Use","modified":"2026-11-30T13:32:24.784Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139190","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139190","licence":"Public domain","modified":"2026-11-30T14:18:38.467Z"}],"updatedAt":"2026-11-30T14:33:00.217Z","epss":{"score":0.00206,"percentile":0.11341,"date":"2026-12-01T12:00:22.000Z"}}