CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel's airoha driver, specifically in the airoha_dev_xmit() function, where it improperly reads uninitialized fragment addresses during the final iteration of the transmit loop. This can lead to unsafe memory access and potential page faults, although the fragment data itself is not directly consumed. Organizations using Linux systems with the airoha driver should prioritize patching this critical vulnerability to prevent potential system instability and exploitation.
Original NVD Description
In the Linux kernel, the following vulnerability has been resolved: net: airoha: Do not read uninitialized fragment address in airoha_dev_xmit() The transmit loop in airoha_dev_xmit() reads fragment address and length during its final iteration, when the loop index equals skb_shinfo(skb)->nr_frags, at which point the fragment data is uninitialized. While these values are never consumed, the read itself is unsafe and may trigger a page fault. Fix this by avoiding the fragment read on the last iteration. Additionally, move the skb pointer from the first to the last used packet descriptor, so that airoha_qdma_tx_napi_poll() defers freeing the skb until the final descriptor is processed.