vsock: Fix transport_* TOCTOU
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
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.240, 5.15.189, 6.1.146, 6.12.39, 6.15.7, 6.6.99
- CVEs
- CVE-2025-38461
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 19:57 UTC · Revision 1
Source evidence
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
osv:CVE-2025-38461
Kernel
Fixed versions: 5.10.240, 5.15.189, 6.1.146, 6.6.99, 6.12.39, 6.15.7
Complete source record
{
"id": "38dd8100edffbc01bd1197efe24359d63e2e87fbd120a1ef2083913b99db9bef",
"url": "https://osv.dev/vulnerability/CVE-2025-38461",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "vsock: Fix transport_* TOCTOU",
"summary": "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",
"evidence": "osv:CVE-2025-38461",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.10.240",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.189",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.146",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.99",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.39",
"evidence": "/affected/1/ranges"
},
{
"value": "6.15.7",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2025-38461",
"aliases": [
"CVE-2025-38461"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "c0cfa2d8a788fcf45df5bf4070ab2474c88d543a"
},
{
"fixed": "8667e8d0eb46bc54fdae30ba2f4786407d3d88eb"
},
{
"fixed": "36a439049b34cca0b3661276049b84a1f76cc21a"
},
{
"fixed": "9ce53e744f18e73059d3124070e960f3aa9902bf"
},
{
"fixed": "9d24bb6780282b0255b9929abe5e8f98007e2c6e"
},
{
"fixed": "ae2c712ba39c7007de63cb0c75b51ce1caaf1da5"
},
{
"fixed": "7b73bddf54777fb62d4d8c7729d0affe6df04477"
},
{
"fixed": "687aa0c5581b8d4aa87fd92973e4ee576b550cdf"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38461.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.5.0"
},
{
"fixed": "5.10.240"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.189"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.146"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.99"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.39"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.15.7"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38461.json"
}
}
],
"modified": "2026-10-28T02:30:31.896777966Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/36a439049b34cca0b3661276049b84a1f76cc21a",
"https://git.kernel.org/stable/c/687aa0c5581b8d4aa87fd92973e4ee576b550cdf",
"https://git.kernel.org/stable/c/7b73bddf54777fb62d4d8c7729d0affe6df04477",
"https://git.kernel.org/stable/c/8667e8d0eb46bc54fdae30ba2f4786407d3d88eb",
"https://git.kernel.org/stable/c/9ce53e744f18e73059d3124070e960f3aa9902bf",
"https://git.kernel.org/stable/c/9d24bb6780282b0255b9929abe5e8f98007e2c6e",
"https://git.kernel.org/stable/c/ae2c712ba39c7007de63cb0c75b51ce1caaf1da5",
"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html",
"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38461.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-38461",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38461.json"
}
},
"related_cves": [
{
"value": "CVE-2025-38461",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 498843,
"published_at": "2025-07-25T15:27:39.322+00:00"
}