net: ip/tcp: Null pointer dereference can be triggered by a race condition
zephyrproject-rtos Zephyr
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| zephyrproject-rtos Zephyr |
| No fix yet |
Original description
A race condition during TCP connection teardown can cause tcp_recv() to operate on a connection that has already been released. If tcp_conn_search() returns NULL while processing a SYN packet, a NULL pointer derived from stale context data is passed to tcp_backlog_is_full() and dereferenced without validation, leading to a crash.
From the CVE record · zephyr