Lock Inversion Vulnerability in Linux Kernel's VSOCK Transport System
CVE-2025-40231

Currently unrated

Key Information:

Vendor

Linux

Status
Vendor
CVE Published:
4 December 2025

What is CVE-2025-40231?

A vulnerability in the Linux kernel's VSOCK transport system can lead to a lock inversion deadlock. This issue arises during the execution of vsock_linger() when there is a potential circular dependency between vsock_register_mutex and sk_lock-AF_VSOCK. The problem was introduced in a previous commit which altered how locks are managed around transport release calls. The resolution involves adjusting lock handling to prevent deadlock conditions while ensuring module references are correctly managed.

Affected Version(s)

Linux 8667e8d0eb46bc54fdae30ba2f4786407d3d88eb

Linux 36a439049b34cca0b3661276049b84a1f76cc21a < 09bba278ccde25a14b6e5088a9e65a8717d0cccf

Linux 9ce53e744f18e73059d3124070e960f3aa9902bf

References

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.
CVE-2025-40231 : Lock Inversion Vulnerability in Linux Kernel's VSOCK Transport System