In the Linux kernel, the following vulnerability has been resolved: dccp: fix data-race around dp->dccpsmsscache dccpsendmsg() reads dp->dccpsmsscache before locking the socket. Same thing in dodccpgetsockopt(). Add READONCE()/WRITEONCE() annotations, and change dccpsendmsg() to check again dccpsmsscache after socket is locked.