{"id":"CVE-2025-40056","published":"2025-10-28T11:48:30Z","modified":"2026-05-11T21:41:37Z","title":"vhost: vringh: Fix copy_to_iter return value check","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nvhost: vringh: Fix copy_to_iter return value check\n\nThe return value of copy_to_iter can't be negative, check whether the\ncopied length is equal to the requested length instead of checking for\nnegative values.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00277,"percentile":0.12819,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/bd71e7e0a612740e4de5524880c7cd40293af5f7","tags":[]},{"url":"https://git.kernel.org/stable/c/781226e11d5bdea0d69c7b5aa3cda874093c73b8","tags":[]},{"url":"https://git.kernel.org/stable/c/b3a950d236e98440c07405ba597b11bce56a8050","tags":[]},{"url":"https://git.kernel.org/stable/c/68aac2b335d474b938d154b9c95cbc58838cb2ce","tags":[]},{"url":"https://git.kernel.org/stable/c/439263376c2c4e126cac0d07e4987568de4eaba5","tags":[]}],"priority":{"score":2.6,"factors":[{"name":"EPSS percentile","points":2.56}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 309bba39c945ac8ab8083ac05cd6cfe5822968e0, < bd71e7e0a612740e4de5524880c7cd40293af5f7",">= 309bba39c945ac8ab8083ac05cd6cfe5822968e0, < 781226e11d5bdea0d69c7b5aa3cda874093c73b8",">= 309bba39c945ac8ab8083ac05cd6cfe5822968e0, < b3a950d236e98440c07405ba597b11bce56a8050",">= 309bba39c945ac8ab8083ac05cd6cfe5822968e0, < 68aac2b335d474b938d154b9c95cbc58838cb2ce",">= 309bba39c945ac8ab8083ac05cd6cfe5822968e0, < 439263376c2c4e126cac0d07e4987568de4eaba5"]},{"vendor":"Linux","product":"Linux","versions":["6.0"]}],"euvd":{"id":"EUVD-2025-36472","exploited":false,"provenance":"source"}}