CVE-2025-38461
published 2025-07-25CVE-2025-38461: In the Linux kernel, the following vulnerability has been resolved: vsock: Fix transport_* TOCTOU Transport assignment may race with module unload. Protect…
medium4.7CVSS 3.1
AVLACHPRLUINSUCNINAH
In the Linux kernel, the following vulnerability has been resolved:
vsock: Fix transport_* TOCTOU
Transport assignment may race with module unload. Protect new_transport
from becoming a stale pointer.
This also takes care of an insecure call in vsock_use_local_transport();
add a lockdep assert.
BUG: unable to handle page fault for address: fffffbfff8056000
Oops: Oops: 0000 [#1] SMP KASAN
RIP: 0010:vsock_assign_transport+0x366/0x600
Call Trace:
vsock_connect+0x59c/0xc40
__sys_connect+0xe8/0x100
__x64_sys_connect+0x6e/0xc0
do_syscall_64+0x92/0x1c0
entry_SYSCALL_64_after_hwframe+0x4b/0x53
Affected
36 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | linux | < linux 6.1.147-1 (bookworm) | linux 6.1.147-1 (bookworm) |
| debian | linux-6.1 | < linux 6.1.147-1 (bookworm) | linux 6.1.147-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a < 8667e8d0eb46bc54fdae30ba2f4786407d3d88eb | 8667e8d0eb46bc54fdae30ba2f4786407d3d88eb |
| linux | linux | >= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a < 36a439049b34cca0b3661276049b84a1f76cc21a | 36a439049b34cca0b3661276049b84a1f76cc21a |
| linux | linux | >= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a < 9ce53e744f18e73059d3124070e960f3aa9902bf | 9ce53e744f18e73059d3124070e960f3aa9902bf |
| linux | linux | >= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a < 9d24bb6780282b0255b9929abe5e8f98007e2c6e | 9d24bb6780282b0255b9929abe5e8f98007e2c6e |
| linux | linux | >= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a < ae2c712ba39c7007de63cb0c75b51ce1caaf1da5 | ae2c712ba39c7007de63cb0c75b51ce1caaf1da5 |
| linux | linux | >= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a < 7b73bddf54777fb62d4d8c7729d0affe6df04477 | 7b73bddf54777fb62d4d8c7729d0affe6df04477 |
| linux | linux | >= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a < 687aa0c5581b8d4aa87fd92973e4ee576b550cdf | 687aa0c5581b8d4aa87fd92973e4ee576b550cdf |
| linux | linux_kernel | — | — |
| linux | linux_kernel | >= 0 < 5.10.244-1 | 5.10.244-1 |
| linux | linux_kernel | >= 0 < 6.1.147-1 | 6.1.147-1 |
| linux | linux_kernel | >= 0 < 6.12.41-1 | 6.12.41-1 |
| linux | linux_kernel | >= 0 < 6.16.3-1 | 6.16.3-1 |
| linux | linux_kernel | >= 0 < 5.15.0-156.166 | 5.15.0-156.166 |
| linux | linux_kernel | >= 0 < 6.8.0-100.100 | 6.8.0-100.100 |
| linux | linux_kernel | >= 5.11 < 5.15.189 | 5.15.189 |
| linux | linux_kernel | >= 5.16 < 6.1.146 | 6.1.146 |
| linux | linux_kernel | >= 5.5 < 5.10.240 | 5.10.240 |
| linux | linux_kernel | >= 6.13 < 6.15.7 | 6.15.7 |
| linux | linux_kernel | >= 6.2 < 6.6.99 | 6.6.99 |
| linux | linux_kernel | >= 6.7 < 6.12.39 | 6.12.39 |
| msrc | azl3_kernel_6.6.96.2-1_on_azure_linux_3.0 | — | — |
CVSS provenance
nvdv3.14.7MEDIUMCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
osv4.7MEDIUM