In the Linux kernel, the following vulnerability has been resolved: NTB: ntb_transport: Reject oversized TX buffers ntb_process_tx() handles an oversized buffer by calling tx_handler() with a NULL data pointer and returning success. ntb_netdev therefore neither frees the skb in its completion callback nor takes its enqueue error path, leaking it. Reject oversized buffers in ntb_transport_tx_enqueue() before acquiring a queue entry and return -EMSGSIZE. The caller retains ownership of the buffer, and the preceding netdev patch frees the skb when enqueue returns this permanent error.
https://git.kernel.org/stable/c/a7f22105a7df8c7fd74d0af27ace6fa94fe03d87
https://git.kernel.org/stable/c/a4f2387db6f1cc2f03abba7f3a6807ad61e26ff7
https://git.kernel.org/stable/c/75a604e9f1cfdebda421062fdf42225ca32154cd
https://git.kernel.org/stable/c/6b6bbc6c878d64eacc60877df49fce7b1b6a08d0