James Morris reported kernel stack corruption bug that we tracked back to commit 971f10eca186 ("tcp: better TCP_SKB_CB layout to reduce cache line misses")
First patch needs to be backported to kernels >= 3.18, while second patch needs to be backported to kernels >= 4.9, since this was the time when inet_exact_dif_match appeared. David Ahern (1): tcp: use IPCB instead of TCP_SKB_CB in inet_exact_dif_match() Eric Dumazet (1): tcp: add tcp_v4_fill_cb()/tcp_v4_restore_cb() include/net/tcp.h | 3 +-- net/ipv4/tcp_ipv4.c | 59 ++++++++++++++++++++++++++++++++++++----------------- net/ipv6/tcp_ipv6.c | 10 +++++---- 3 files changed, 47 insertions(+), 25 deletions(-) -- 2.15.0.531.g2ccb3012c9-goog