NTB: ntb_transport: Reject oversized TX buffers
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.109, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: yes
- Technical impact: partial
Summary
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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
From fce8a7bb5b4bfb8a27324703fd5b002ee9247e90 · fixed in 4890152a3069f5cb58cc24b08cfd5fe95e568fa1; From fce8a7bb5b4bfb8a27324703fd5b002ee9247e90 · fixed in 668aa3238548584ca9772da9cf43ae8c2389bbf1; From fce8a7bb5b4bfb8a27324703fd5b002ee9247e90 · fixed in 9b0fa8a9e1057614a533cc3f18b17f82aab028d8; From fce8a7bb5b4bfb8a27324703fd5b002ee9247e90 · fixed in b6db88cde0fb5c3bd2d3cd2bebcc06b5ce146e88; From fce8a7bb5b4bfb8a27324703fd5b002ee9247e90 · fixed in a7f22105a7df8c7fd74d0af27ace6fa94fe03d87; From fce8a7bb5b4bfb8a27324703fd5b002ee9247e90 · fixed in 6b6bbc6c878d64eacc60877df49fce7b1b6a08d0; From fce8a7bb5b4bfb8a27324703fd5b002ee9247e90 · fixed in 75a604e9f1cfdebda421062fdf42225ca32154cd; From fce8a7bb5b4bfb8a27324703fd5b002ee9247e90 · fixed in a4f2387db6f1cc2f03abba7f3a6807ad61e26ff7
- Linux Linux
3.9
- KernelLinux
From 3.9.0 · fixed in 5.10.270; From 5.11.0 · fixed in 5.15.221; From 5.16.0 · fixed in 6.1.188; From 6.2.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.109; From 6.13.0 · fixed in 6.18.50; From 6.19.0 · fixed in 7.2.4
References 8
git.kernel.org
- stable/c/4890152a3069f5cb58cc24b08cfd5fe95e568fa1
- stable/c/668aa3238548584ca9772da9cf43ae8c2389bbf1
- stable/c/9b0fa8a9e1057614a533cc3f18b17f82aab028d8
- stable/c/b6db88cde0fb5c3bd2d3cd2bebcc06b5ce146e88
- stable/c/a7f22105a7df8c7fd74d0af27ace6fa94fe03d87
- stable/c/6b6bbc6c878d64eacc60877df49fce7b1b6a08d0
- stable/c/75a604e9f1cfdebda421062fdf42225ca32154cd
- stable/c/a4f2387db6f1cc2f03abba7f3a6807ad61e26ff7