{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2025-40231","published":"2025-12-04T16:16:15.870000Z","last_modified":"2026-10-19T21:10:00.160000Z","status":"Deferred","cwes":[],"cpes":[],"cpes_truncated":false,"vendors":["linux"],"products":["linux/linux"],"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"none","priority_score":0,"links":{"html_es":"/es/cve/CVE-2025-40231/","html_en":"/en/cve/CVE-2025-40231/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-40231","cve_org":"https://www.cve.org/CVERecord?id=CVE-2025-40231"},"untrusted":{"vendor_name":"Linux","product_name":"Linux","desc_en":"In the Linux kernel, the following vulnerability has been resolved:\n\nvsock: fix lock inversion in vsock_assign_transport()\n\nSyzbot reported a potential lock inversion deadlock between\nvsock_register_mutex and sk_lock-AF_VSOCK when vsock_linger() is called.\n\nThe issue was introduced by commit 687aa0c5581b (\"vsock: Fix\ntransport_* TOCTOU\") which added vsock_register_mutex locking in\nvsock_assign_transport() around the transport->release() call, that can\ncall vsock_linger(). vsock_assign_transport() can be called with sk_lock\nheld. vsock_linger() calls sk_wait_event() that temporarily releases and\nre-acquires sk_lock. During this window, if another thread hold\nvsock_register_mutex while trying to acquire sk_lock, a circular\ndependency is created.\n\nFix this by releasing vsock_register_mutex before calling\ntransport->release() and vsock_deassign_transport(). This is safe\nbecause we don't need to hold vsock_register_mutex while releasing the\nold transport, and we ensure the new transport won't disappear by\nobtaining a module reference first via try_module_get().","affected":[{"untrusted_vendor":"Linux","untrusted_product":"Linux","versions":[]}],"references":[{"url":"https://git.kernel.org/stable/c/09bba278ccde25a14b6e5088a9e65a8717d0cccf","tags":[]},{"url":"https://git.kernel.org/stable/c/251caee792a21eb0b781aab91362b422c945e162","tags":[]},{"url":"https://git.kernel.org/stable/c/42ed0784d11adebf748711e503af0eb9f1e6d81d","tags":[]},{"url":"https://git.kernel.org/stable/c/a2a4346eea8b4cb75037dbcb20b98cb454324f80","tags":[]},{"url":"https://git.kernel.org/stable/c/b44182c116778feaa05da52a426aeb9da1878dcf","tags":[]},{"url":"https://git.kernel.org/stable/c/ce4f856c64f0bc30e29302a0ce41f4295ca391c5","tags":[]},{"url":"https://git.kernel.org/stable/c/f7c877e7535260cc7a21484c994e8ce7e8cb6780","tags":[]}]},"bulletins":[{"source":"suse","id":"SUSE-SU-2026:20845-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202620845-1/","published":"2026-03-24T16:48:38+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for the Linux Kernel"}},{"source":"suse","id":"SUSE-SU-2026:20876-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202620876-1/","published":"2026-03-24T16:48:29+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for the Linux Kernel"}},{"source":"suse","id":"SUSE-SU-2026:20477-1","url":"https://www.suse.com/support/update/announcement/2026/suse-su-202620477-1/","published":"2026-02-24T10:42:46+00:00","severity":"critical","exploited":false,"untrusted":{"title":"Security update for the Linux Kernel"}}]}