CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel's NTB transport functionality, where packets are not properly handled when the QP link is down, leading to memory leaks due to unfreed socket buffers (skbs). This issue can result in resource exhaustion and degraded system performance, particularly in environments relying on NTB for high-speed data transfers. Organizations using Linux kernel versions impacted by this flaw should prioritize applying the fix to prevent potential memory leaks and ensure system stability.
Original NVD Description
In the Linux kernel, the following vulnerability has been resolved: NTB: ntb_transport: Fail TX enqueue when the QP link is down Commit f195a1a6fe41 ("ntb: Drop packets when qp link is down") meant to make ntb_transport_tx_enqueue() drop packets submitted while the QP link is down, but it only returns 0 without consuming the packet. Zero means success by this function's contract, so ntb_netdev reports NETDEV_TX_OK and forgets the skb: nothing queued it, nothing frees it, and it leaks, one skb for every transmit racing a link-down. Return -ENOLINK instead, restoring the contract that a non-zero return leaves the buffer owned by the caller. With the preceding patch, ntb_netdev frees the skb on non-retryable enqueue failures and returns NETDEV_TX_OK, so a packet racing with link-down is dropped without leaking or entering a busy retry loop.