🛡️ CVE-2025-40231 on Debian — linux
Description
In the Linux kernel, the following vulnerability has been resolved: vsock: fix lock inversion in vsock_assign_transport() Syzbot reported a potential lock inversion deadlock between vsock_register_mutex and sk_lock-AF_VSOCK when vsock_linger() is called. The issue was introduced by commit 687aa0c5581b ("vsock: Fix transport_* TOCTOU") which added vsock_register_mutex locking in vsock_assign_transport() around the transport->release() call, that can call vsock_linger(). vsock_assign_transport() can be called with sk_lock held. vsock_linger() calls sk_wait_event() that temporarily releases and re-acquires sk_lock. During this window, if another thread hold vsock_register_mutex while trying to acquire sk_lock, a circular dependency is created. Fix this by releasing vsock_register_mutex before calling transport->release() and vsock_deassign_transport(). This is safe because we don't need to hold vsock_register_mutex while releasing the old transport, and we ensure the new transport won't disappear by obtaining a module reference first via try_module_get().
Distribution advisory
This page covers CVE-2025-40231 as tracked by Debian, for the package linux. The fix is available in version 6.17.6-1; earlier versions remain affected.
Affected software
DEBIAN-CVE-2025-40231 is recorded against 1 package.
- linux (fixed in 6.17.6-1)
Timeline and source
Published on 4 December 2025 and last revised on 4 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
CVE-2025-40231 on other distributions
Each distribution ships its own build and its own fixed version. Pick the one you run:
Details
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| linux | — | 6.17.6-1 |
References
Similar Threats
- Unknown CGA-23jx-hhcx-m389
- Unknown CGA-2qp7-6757-fmgc
- Unknown CGA-2rj5-jc55-r267
- Unknown CGA-3m96-cwq8-6xmx
- Unknown CGA-3qj9-973w-fh9g
More DEBIAN CVE 2025 advisories
Browse all of DEBIAN CVE 2025 in the advisory index.
- DEBIAN-CVE-2025-40223
- DEBIAN-CVE-2025-40224
- DEBIAN-CVE-2025-40225
- DEBIAN-CVE-2025-40226
- DEBIAN-CVE-2025-40227
- DEBIAN-CVE-2025-40228
- DEBIAN-CVE-2025-40229
- DEBIAN-CVE-2025-40230
- DEBIAN-CVE-2025-40233
- DEBIAN-CVE-2025-40234
- DEBIAN-CVE-2025-40235
- DEBIAN-CVE-2025-40236
- DEBIAN-CVE-2025-40237
- DEBIAN-CVE-2025-40238
- DEBIAN-CVE-2025-40239
- DEBIAN-CVE-2025-40240
Free Vulnerability Check
Is your site affected by DEBIAN-CVE-2025-40231?
BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against DEBIAN-CVE-2025-40231 and other known CVE records.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.