Dežurni tim za incidente, 0–24: +385 98 1900 984NovoIR Retainer: tim ugovoren prije napada
HR · EN
U procjeniCVE-2026-139190

net: usb: lan78xx: avoid NULL PHY dereference in WoL setup

Objavljeno 30. 11. 2026. · Ažurirano 30. 11. 2026. · Linux

Opis (engleski)

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.

Zahvaćeni proizvodi i verzije

Linux Linuxe110bc82589752909e283ba5cbc160e0ab56c085 – < 0c25305c29f1d1d50775b939be7b0527c95bf40a · e110bc82589752909e283ba5cbc160e0ab56c085 – < 08280c4a2a03b3423d3639a5beb165f17d963cc5 · e110bc82589752909e283ba5cbc160e0ab56c085 – < dacb77e32e2bba78f90a8637fd27e13e2c9775ddIspravljeno u: 0c25305c29f1d1d50775b939be7b0527c95bf40a · 08280c4a2a03b3423d3639a5beb165f17d963cc5 · dacb77e32e2bba78f90a8637fd27e13e2c9775dd
Linux Linux6.17Ispravljeno u: 6.18.65 · 7.3.6 · 7.4-rc1

Reference

Izvori: CVE.org (CNA i CISA ADP), CISA KEV, FIRST EPSS. Uvijek provjerite službenu objavu proizvođača.