CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel's LAN743x Ethernet driver, where the eth_syslock spinlock is not initialized before being used during the PCI probe sequence. This oversight can lead to undefined behavior and potential system instability if the spinlock is accessed while uninitialized, particularly when debugging features are enabled. Organizations utilizing Linux systems with the LAN743x driver should prioritize applying the fix to ensure system reliability and prevent potential exploitation.
Original NVD Description
In the Linux kernel, the following vulnerability has been resolved: net: lan743x: Initialize eth_syslock spinlock before use lan743x_hardware_init() calls pci11x1x_strap_get_status() during the PCI11x1x probe sequence. That helper acquires the Ethernet subsystem hardware lock via lan743x_hs_syslock_acquire(), which relies on adapter->eth_syslock_spinlock to serialize access. The spinlock is currently initialized only after the strap status is read. With CONFIG_DEBUG_SPINLOCK enabled, taking the zeroed initialized spinlock can trip the spinlock debug check. Fix by initializing adapter->eth_syslock_spinlock before reading the strap status so the probe path never attempts to lock an uninitialized spinlock.