{"id":"CVE-2025-21666","published":"2025-01-31T11:25:31Z","modified":"2026-10-15T01:02:53Z","title":"vsock: prevent null-ptr-deref in vsock_*[has_data|has_space]","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00308,"percentile":0.16111,"provenance":"source"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"}],"references":[{"url":"https://git.kernel.org/stable/c/daeac89cdb03d30028186f5ff7dc26ec8fa843e7","tags":[]},{"url":"https://git.kernel.org/stable/c/9e5fed46ccd2c34c5fa5a9c8825ce4823fdc853e","tags":[]},{"url":"https://git.kernel.org/stable/c/b52e50dd4fabd12944172bd486a4f4853b7f74dd","tags":[]},{"url":"https://git.kernel.org/stable/c/bc9c49341f9728c31fe248c5fbba32d2e81a092b","tags":[]},{"url":"https://git.kernel.org/stable/c/c23d1d4f8efefb72258e9cedce29de10d057f8ca","tags":[]},{"url":"https://git.kernel.org/stable/c/91751e248256efc111e52e15115840c35d85abaf","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-265688.html","tags":[]}],"priority":{"score":7.1,"factors":[{"name":"EPSS percentile","points":3.22},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, < daeac89cdb03d30028186f5ff7dc26ec8fa843e7",">= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, < 9e5fed46ccd2c34c5fa5a9c8825ce4823fdc853e",">= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, < b52e50dd4fabd12944172bd486a4f4853b7f74dd",">= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, < bc9c49341f9728c31fe248c5fbba32d2e81a092b",">= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, < c23d1d4f8efefb72258e9cedce29de10d057f8ca",">= c0cfa2d8a788fcf45df5bf4070ab2474c88d543a, < 91751e248256efc111e52e15115840c35d85abaf"]},{"vendor":"Linux","product":"Linux","versions":["5.5"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-01T19:52:24.276957Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-2615","exploited":false,"provenance":"source"}}