CVE-2025-40231: Linux kernel · vsock: fix lock inversion in vsock_assign_transport()
Source GCVE Database
Not known to be exploited.
Data as of 25 Nov 2026, 03:38 UTC
Rated Medium by Threat Radar's AI analysis · No CVSS score from NVD or the CNA
Exploitation evidence
Disclosed: evidence found.
CVE published 4 Dec 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
AI-suggested
A fix has been implemented in the Linux kernel source code that resolves the lock inversion by adjusting the locking order in vsock_assign_transport(). Users should update to the fixed kernel version once it is released. No additional mitigations are indicated.
Description
A lock inversion deadlock vulnerability was identified and fixed in the Linux kernel's vsock subsystem. The issue involved a circular dependency between vsock_register_mutex and sk_lock during transport release operations, potentially causing a deadlock. The fix involves releasing vsock_register_mutex before calling transport release functions to avoid the lock inversion.
References
- nvd.nist.gov/vuln/detail/CVE-2025-40231 (opens in a new tab)
- git.kernel.org/stable/c/09bba278ccde25a14b6e5088a9e65a8717d0cccf (opens in a new tab)
- git.kernel.org/stable/c/251caee792a21eb0b781aab91362b422c945e162 (opens in a new tab)
- git.kernel.org/stable/c/42ed0784d11adebf748711e503af0eb9f1e6d81d (opens in a new tab)
- git.kernel.org/stable/c/a2a4346eea8b4cb75037dbcb20b98cb454324f80 (opens in a new tab)
- git.kernel.org/stable/c/b44182c116778feaa05da52a426aeb9da1878dcf (opens in a new tab)
- git.kernel.org/stable/c/ce4f856c64f0bc30e29302a0ce41f4295ca391c5 (opens in a new tab)
- git.kernel.org/stable/c/f7c877e7535260cc7a21484c994e8ce7e8cb6780 (opens in a new tab)