Security Flaw in the Linux Kernel Affecting Connectible Sockets
CVE-2025-21854
What is CVE-2025-21854?
The Linux kernel features a vulnerability related to connectible sockets where an unconnected socket may inadvertently lose its assigned transport. This edge case, if not properly managed, can lead to null pointer dereferences. Specifically, the sockmap is not intended to support listening vsocks, yet a failed connect attempt might leave a listening vsock erroneously associated with a transport, resulting in potential crashes or misbehavior during execution. This flaw needs addressing to ensure that sockmap only permits established connections, aligning its functionality with that of AF_INET and AF_UNIX protocols.
Affected Version(s)
Linux 634f1a7110b439c65fd8a809171c1d2d28bcea6f
Linux 634f1a7110b439c65fd8a809171c1d2d28bcea6f < 22b683217ad2112791a708693cb236507abd637a
Linux 634f1a7110b439c65fd8a809171c1d2d28bcea6f