{"id":"CVE-2025-40051","aliases":["CVE-2025-40051"],"related":[],"kind":"vulnerability","state":"published","title":"vhost: vringh: Modify the return value check","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nvhost: vringh: Modificar la comprobación del valor de retorno\n\nEl valor de retorno de copy_from_iter y copy_to_iter no puede ser negativo; comprobar si las longitudes copiadas son iguales.","source":"nvd"}],"published":"2025-10-28T11:48:27.279Z","modified":"2026-10-19T21:10:00.160Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"309bba39c945ac8ab8083ac05cd6cfe5822968e0","fixed":"db042925a5ab7a550b710addeadbf6f72e3a8a4b","status":"affected"},{"type":"git","introduced":"309bba39c945ac8ab8083ac05cd6cfe5822968e0","fixed":"78dc7362662fedaa1928fb8e4f27401c8322905d","status":"affected"},{"type":"git","introduced":"309bba39c945ac8ab8083ac05cd6cfe5822968e0","fixed":"baa37b1c7e29546f79c39bef0d18c4edc9f39bb1","status":"affected"},{"type":"git","introduced":"309bba39c945ac8ab8083ac05cd6cfe5822968e0","fixed":"cfa0654402c06d086201a9ff167eb95da5844fc3","status":"affected"},{"type":"git","introduced":"309bba39c945ac8ab8083ac05cd6cfe5822968e0","fixed":"82a8d0fda55b35361ee7f35b54fa2b66d7847d2b","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.0","status":"unaffected"},{"type":"semver","introduced":"6.1.156","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.112","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.53","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.17.3","lastAffected":"6.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.18","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/db042925a5ab7a550b710addeadbf6f72e3a8a4b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/78dc7362662fedaa1928fb8e4f27401c8322905d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/baa37b1c7e29546f79c39bef0d18c4edc9f39bb1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cfa0654402c06d086201a9ff167eb95da5844fc3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/82a8d0fda55b35361ee7f35b54fa2b66d7847d2b","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-15T21:56:30.680Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-40051","url":"https://www.cve.org/CVERecord?id=CVE-2025-40051","licence":"CVE Terms of Use","modified":"2026-10-15T22:02:36.974Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-40051","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40051","licence":"Public domain","modified":"2026-10-19T21:10:00.160Z"}],"updatedAt":"2026-11-25T22:59:06.935Z","epss":{"score":0.00169,"percentile":0.06559,"date":"2026-12-01T12:00:22.000Z"}}