In the Linux kernel, the following vulnerability has been resolved: xfrm: espintcp: reorder operations within espintcp_init_sk When enabled on a socket, espintcp sets the socket callbacks to its own before it has finished setting up its context and published it as icsk_ulp_data. Any one of those callbacks that gets called before will dereference a NULL icsk_ulp_data. Fix this by reording the operations, and add memory barriers to ensure callers will have a struct espintcp_ctx available. Add a few WRITE_ONCE/READ_ONCE too while we're there.
https://git.kernel.org/stable/c/f9a11716c8445b496e9fafeec7e8412d384d02e2
https://git.kernel.org/stable/c/d50065a04b8b2edd9215a1960a48c4a4667a5b8c
https://git.kernel.org/stable/c/6653f281a84dfc050042b837fbf0a1ab87f8f645
https://git.kernel.org/stable/c/3eac7cf352cedd05215bdc7e9786c3ee4b4b43b2