{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-38462","id":"CVE-2025-38462","title":"vsock: Fix transport_{g2h,h2g} TOCTOU","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nvsock: Fix transport_{g2h,h2g} TOCTOU\n\nvsock_find_cid() and vsock_dev_do_ioctl() may race with module unload.\ntransport_{g2h,h2g} may become NULL after the NULL check.\n\nIntroduce vsock_transport_local_cid() to protect from a potential\nnull-ptr-deref.\n\nKASAN: null-ptr-deref in range [0x0000000000000118-0x000000000000011f]\nRIP: 001","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nvsock: Fix transport_{g2h,h2g} TOCTOU\n\nvsock_find_cid() and vsock_dev_do_ioctl() may race with module unload.\ntransport_{g2h,h2g} may become NULL after the NULL check.\n\nIntroduce vsock_transport_local_cid() to protect from a potential\nnull-ptr-deref.\n\nKASAN: null-ptr-deref in range [0x0000000000000118-0x000000000000011f]\nRIP: 0010:vsock_find_cid+0x47/0x90\nCall Trace:\n __vsock_bind+0x4b2/0x720\n vsock_bind+0x90/0xe0\n __sys_bind+0x14d/0x1e0\n __x64_sys_bind+0x6e/0xc0\n do_syscall_64+0x92/0x1c0\n entry_SYSCALL_64_after_hwframe+0x4b/0x53\n\nKASAN: null-ptr-deref in range [0x0000000000000118-0x000000000000011f]\nRIP: 0010:vsock_dev_do_ioctl.isra.0+0x58/0xf0\nCall Trace:\n __x64_sys_ioctl+0x12d/0x190\n do_syscall_64+0x92/0x1c0\n entry_SYSCALL_64_after_hwframe+0x4b/0x53","published":"2025-07-25T15:27:45.168Z","updated":"2026-11-07T02:30:33.924918040Z","reserved":"2025-04-16T04:51:24.020Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c0cfa2d8a788fcf45df5bf4070ab2474c88d543a","lessThan":"c5496ee685c48ed1cc183cd4263602579bb4a615","status":"affected","versionType":"git"},{"version":"c0cfa2d8a788fcf45df5bf4070ab2474c88d543a","lessThan":"80d7dc15805a93d520a249ac6d13d4f4df161c1b","status":"affected","versionType":"git"},{"version":"c0cfa2d8a788fcf45df5bf4070ab2474c88d543a","lessThan":"5752d8dbb3dfd7f1a9faf0f65377e60826ea9a17","status":"affected","versionType":"git"},{"version":"c0cfa2d8a788fcf45df5bf4070ab2474c88d543a","lessThan":"401239811fa728fcdd53e360a91f157ffd23e1f4","status":"affected","versionType":"git"},{"version":"c0cfa2d8a788fcf45df5bf4070ab2474c88d543a","lessThan":"3734d78210cceb2ee5615719a62a5c55ed381ff8","status":"affected","versionType":"git"},{"version":"c0cfa2d8a788fcf45df5bf4070ab2474c88d543a","lessThan":"6a1bcab67bea797d83aa9dd948a0ac6ed52d121d","status":"affected","versionType":"git"},{"version":"c0cfa2d8a788fcf45df5bf4070ab2474c88d543a","lessThan":"209fd720838aaf1420416494c5505096478156b4","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.5","status":"affected"},{"version":"0","lessThan":"5.5","status":"unaffected","versionType":"semver"},{"version":"5.10.240","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.189","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.146","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.99","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.39","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.15.7","lessThanOrEqual":"6.15.*","status":"unaffected","versionType":"semver"},{"version":"6.16","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-367"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/c5496ee685c48ed1cc183cd4263602579bb4a615","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/80d7dc15805a93d520a249ac6d13d4f4df161c1b","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/5752d8dbb3dfd7f1a9faf0f65377e60826ea9a17","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/401239811fa728fcdd53e360a91f157ffd23e1f4","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/3734d78210cceb2ee5615719a62a5c55ed381ff8","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/6a1bcab67bea797d83aa9dd948a0ac6ed52d121d","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/209fd720838aaf1420416494c5505096478156b4","tags":["Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":["Third Party Advisory","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html","tags":["Third Party Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38462.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38462","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00138,"epssPercentile":0.03265,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-38462","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38462","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-38462","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-38462","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}