Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected fce8a7bb5b4bfb8a27324703fd5b002ee9247e90 before 4890152a3069f5cb58cc24b08cfd5fe95e568fa1; affected fce8a7bb5b4bfb8a27324703fd5b002ee9247e90 before 668aa3238548584ca9772da9cf43ae8c2389bbf1; affected fce8a7bb5b4bfb8a27324703fd5b002ee9247e90 before 9b0fa8a9e1057614a533cc3f18b17f82aab028d8; affected fce8a7bb5b4bfb8a27324703fd5b002ee9247e90 before b6db88cde0fb5c3bd2d3cd2bebcc06b5ce146e88; affected fce8a7bb5b4bfb8a27324703fd5b002ee9247e90 before a7f22105a7df8c7fd74d0af27ace6fa94fe03d87; affected fce8a7bb5b4bfb8a27324703fd5b002ee9247e90 before 6b6bbc6c878d64eacc60877df49fce7b1b6a08d0; affected fce8a7bb5b4bfb8a27324703fd5b002ee9247e90 before 75a604e9f1cfdebda421062fdf42225ca32154cd; affected fce8a7bb5b4bfb8a27324703fd5b002ee9247e90 before a4f2387db6f1cc2f03abba7f3a6807ad61e26ff7 |
| Linux / Linux | affected 3.9; unaffected 0 before 3.9; unaffected 5.10.270 through 5.10.*; unaffected 5.15.221 through 5.15.*; unaffected 6.1.188 through 6.1.*; unaffected 6.6.157 through 6.6.*; unaffected 6.12.109 through 6.12.*; unaffected 6.18.50 through 6.18.*; unaffected 7.2.4 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/4890152a3069f5cb58cc24b08cfd5fe95e568fa1
- https://git.kernel.org/stable/c/668aa3238548584ca9772da9cf43ae8c2389bbf1
- https://git.kernel.org/stable/c/9b0fa8a9e1057614a533cc3f18b17f82aab028d8
- https://git.kernel.org/stable/c/b6db88cde0fb5c3bd2d3cd2bebcc06b5ce146e88
- https://git.kernel.org/stable/c/a7f22105a7df8c7fd74d0af27ace6fa94fe03d87
- https://git.kernel.org/stable/c/6b6bbc6c878d64eacc60877df49fce7b1b6a08d0
- https://git.kernel.org/stable/c/75a604e9f1cfdebda421062fdf42225ca32154cd
- https://git.kernel.org/stable/c/a4f2387db6f1cc2f03abba7f3a6807ad61e26ff7
ADP enrichment
No English description supplied.
No references supplied.