What’s Vulnerable › Vulnerabilities

CVE-2023-53839: dccp: fix data-race around dp->dccps_mss_cache

Description

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

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.5. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-53839 or the next vulnerability affects your stack