Vulnerability record
tcp: Pass req->rsk_listener to inet_csk_reqsk_queue_drop() in tcp_check_req().
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…
Remediation
No fixed version has been published for this vulnerability yet. Check the references below for vendor advisories, workarounds and mitigation guidance.
Sources