CVE-2026-143191
Description
In the Linux kernel, the following vulnerability has been resolved:
tcp: Pass req->rsk_listener to inet_csk_reqsk_queue_drop() in tcp_check_req().
When connection migration happens in tcp_v[46]_rcv(), a new listener is passed to tcp_check_req().
When either of the following is true,
* the new listener queue is full and net.ipv4.tcp_abort_on_overflow is set
- the packet has RST or (not stripped) SYN
tcp_check_req() sends RST and calls inet_csk_reqsk_queue_drop().
Here, the new listener is passed, and its qlen is decremented wrongly while reqsk is tied to the old listener.
Once qlen underflows, inet_csk_reqsk_queue_is_full() always return true, and the new listener stops serving.
Without the patch, this script times out while waiting for SYN+ACK since the new listener drops SYN, but with the patch, 3WHS completes.
0 sysctl -q net.ipv4.tcp_migrate_req=1 +0 sysctl -q net.ipv4.tcp_syncookies=0 +0 socket(..., SOCK_STREAM, IPPROTO_TCP) = 3 +0 setsockopt(3, SOL_SOCKET, SO_REUSEPORT, [1], 4) = 0 +0 bind(3, ..., ...) = 0 +0 socket(..., SOCK_STREAM, IPPROTO_TCP) = 4 +0 setsockopt(4, SOL_SOCKET, SO_REUSEPORT, [1], 4) = 0 +0 bind(4, ..., ...) = 0 +0 listen(4, 128) = 0 +0 < S 0:0(0) win 32792 +0 > S. 0:0(0) ack 1 <...> +0 listen(3, 128) = 0 +0 close(4) = 0 +.01 < R 1:1(0) win 0 +0 socket(..., SOCK_STREAM, IPPROTO_TCP) = 5 +0 listen(5, 1) = 0 +.01 < S 0:0(0) win 32792 +0 > S. 0:0(0) ack 1 <...> +0 < . 1:1(0) ack 1 win 32792 +0 fcntl(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 +0 accept(3, ..., ...) = 6
Let's pass req->rsk_listener instead.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
1Patches
Vulnerability mechanics
References
5- git.kernel.org/stable/c/5ec3654c9192e5f5f568e9dea2bb050f0ca284a9nvd
- git.kernel.org/stable/c/933ffb8335159bdfbb21ca2806d62108a8354984nvd
- git.kernel.org/stable/c/a9782a6f2bbd0c444689725a710d8b21eab61bc5nvd
- git.kernel.org/stable/c/afd469adbf80445cc5ebd8bd6b283bdf43cbc7afnvd
- git.kernel.org/stable/c/cd8594a39ccf36b555aae9393c1dcf8a8320a5abnvd
News mentions
0No linked articles in our index yet.