{"id":"CVE-2025-40051","published":"2025-10-28T11:48:27Z","modified":"2026-10-15T22:02:36Z","title":"vhost: vringh: Modify the return value check","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nvhost: vringh: Modify the return value check\n\nThe return value of copy_from_iter and copy_to_iter can't be negative,\ncheck whether the copied lengths are equal.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00238,"percentile":0.08938,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/db042925a5ab7a550b710addeadbf6f72e3a8a4b","tags":[]},{"url":"https://git.kernel.org/stable/c/78dc7362662fedaa1928fb8e4f27401c8322905d","tags":[]},{"url":"https://git.kernel.org/stable/c/baa37b1c7e29546f79c39bef0d18c4edc9f39bb1","tags":[]},{"url":"https://git.kernel.org/stable/c/cfa0654402c06d086201a9ff167eb95da5844fc3","tags":[]},{"url":"https://git.kernel.org/stable/c/82a8d0fda55b35361ee7f35b54fa2b66d7847d2b","tags":[]}],"priority":{"score":7.2,"factors":[{"name":"EPSS percentile","points":1.79},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 309bba39c945ac8ab8083ac05cd6cfe5822968e0, < db042925a5ab7a550b710addeadbf6f72e3a8a4b",">= 309bba39c945ac8ab8083ac05cd6cfe5822968e0, < 78dc7362662fedaa1928fb8e4f27401c8322905d",">= 309bba39c945ac8ab8083ac05cd6cfe5822968e0, < baa37b1c7e29546f79c39bef0d18c4edc9f39bb1",">= 309bba39c945ac8ab8083ac05cd6cfe5822968e0, < cfa0654402c06d086201a9ff167eb95da5844fc3",">= 309bba39c945ac8ab8083ac05cd6cfe5822968e0, < 82a8d0fda55b35361ee7f35b54fa2b66d7847d2b"]},{"vendor":"Linux","product":"Linux","versions":["6.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-10-15T21:56:30.680415Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-36477","exploited":false,"provenance":"source"}}