{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-21666","id":"CVE-2025-21666","title":"vsock: prevent null-ptr-deref in vsock_*[has_data|has_space]","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nvsock: prevent null-ptr-deref in vsock_*[has_data|has_space]\n\nRecent reports have shown how we sometimes call vsock_*_has_data()\nwhen a vsock socket has been de-assigned from a transport (see attached\nlinks), but we shouldn't.\n\nPrevious commits should have solved the real problems, but we may have\nmore in the future, so to avoid ","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nvsock: prevent null-ptr-deref in vsock_*[has_data|has_space]\n\nRecent reports have shown how we sometimes call vsock_*_has_data()\nwhen a vsock socket has been de-assigned from a transport (see attached\nlinks), but we shouldn't.\n\nPrevious commits should have solved the real problems, but we may have\nmore in the future, so to avoid null-ptr-deref, we can return 0\n(no space, no data available) but with a warning.\n\nThis way the code should continue to run in a nearly consistent state\nand have a warning that allows us to debug future problems.","published":"2025-01-31T11:25:31.138Z","updated":"2026-10-28T02:30:23.818089139Z","reserved":"2024-12-29T08:45:45.733Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"c0cfa2d8a788fcf45df5bf4070ab2474c88d543a","lessThan":"daeac89cdb03d30028186f5ff7dc26ec8fa843e7","status":"affected","versionType":"git"},{"version":"c0cfa2d8a788fcf45df5bf4070ab2474c88d543a","lessThan":"9e5fed46ccd2c34c5fa5a9c8825ce4823fdc853e","status":"affected","versionType":"git"},{"version":"c0cfa2d8a788fcf45df5bf4070ab2474c88d543a","lessThan":"b52e50dd4fabd12944172bd486a4f4853b7f74dd","status":"affected","versionType":"git"},{"version":"c0cfa2d8a788fcf45df5bf4070ab2474c88d543a","lessThan":"bc9c49341f9728c31fe248c5fbba32d2e81a092b","status":"affected","versionType":"git"},{"version":"c0cfa2d8a788fcf45df5bf4070ab2474c88d543a","lessThan":"c23d1d4f8efefb72258e9cedce29de10d057f8ca","status":"affected","versionType":"git"},{"version":"c0cfa2d8a788fcf45df5bf4070ab2474c88d543a","lessThan":"91751e248256efc111e52e15115840c35d85abaf","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.234","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.177","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.127","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.74","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.11","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.13","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-476"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/daeac89cdb03d30028186f5ff7dc26ec8fa843e7","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/9e5fed46ccd2c34c5fa5a9c8825ce4823fdc853e","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/b52e50dd4fabd12944172bd486a4f4853b7f74dd","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/bc9c49341f9728c31fe248c5fbba32d2e81a092b","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/c23d1d4f8efefb72258e9cedce29de10d057f8ca","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/91751e248256efc111e52e15115840c35d85abaf","tags":["Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","tags":["web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","tags":["web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/21xxx/CVE-2025-21666.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21666","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.00226,"epssPercentile":0.13591,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-21666","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-21666","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-21666","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-21666","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}