{"id":"CVE-2026-139190","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-30T14:18:38.467","lastModified":"2026-11-30T14:18:38.467","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"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."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/net/usb/lan78xx.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"e110bc82589752909e283ba5cbc160e0ab56c085","lessThan":"0c25305c29f1d1d50775b939be7b0527c95bf40a","versionType":"git","status":"affected"},{"version":"e110bc82589752909e283ba5cbc160e0ab56c085","lessThan":"08280c4a2a03b3423d3639a5beb165f17d963cc5","versionType":"git","status":"affected"},{"version":"e110bc82589752909e283ba5cbc160e0ab56c085","lessThan":"dacb77e32e2bba78f90a8637fd27e13e2c9775dd","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/net/usb/lan78xx.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.17","status":"affected"},{"version":"0","lessThan":"6.17","versionType":"semver","status":"unaffected"},{"version":"6.18.65","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/08280c4a2a03b3423d3639a5beb165f17d963cc5","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/0c25305c29f1d1d50775b939be7b0527c95bf40a","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/dacb77e32e2bba78f90a8637fd27e13e2c9775dd","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}