Junglewise Threat Intelligence

CVE-2026-46142: Linux Kernel libwx system hang via illegal register access in VF initialization

CVE-2026-46142 · Severity: info · Published 2026-05-28

Technologies: Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability in the Linux kernel's Wangxun (libwx) Ethernet driver can cause a complete system hang. This occurs when the system attempts to initialize a Virtual Function (VF) network interface and incorrectly tries to access a restricted hardware register. An exploit or accidental trigger of this flaw would result in a denial-of-service, requiring a physical reboot to restore operations.

Technical details

A vulnerability exists in the Wangxun Ethernet library (libwx) within the Linux kernel's networking subsystem. The root cause is an illegal register access in `wx_sw_init` where the driver attempts to read the `WX_CFG_PORT_ST` register to determine the LAN ID. This register is restricted to Physical Functions (PF); when accessed by a Virtual Function (VF) during initialization, it triggers a hardware-level error that results in a system hang. The fix introduces a check for `pdev->is_virtfn` to obtain the function ID directly from the PCI configuration instead of the restricted register. This issue affects systems utilizing Wangxun Ethernet controllers in virtualized environments.

Affected products

  • Linux Linux Kernel libwx driver

Timeline

  • 2026-04-29: patched: Initial patch submitted by Jiawen Wu
  • 2026-05-28: disclosed: CVE published to NVD

References

Related threats