In the Linux kernel, the following vulnerability has been resolved:
vhost: vringh: Modify the return value check
The return value of copyfromiter and copytoiter can't be negative, check whether the copied lengths are equal.
[
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"325333494264381554976861871295543544014",
"265622847081055611167805513592975031430",
"283313048698809774159982923526927562557",
"327268157729308351779416719204333496366",
"139772649288965577376047395221688657958",
"131405296220571640989901327949323421613",
"257812441408211020578607292242057335507",
"175079300063324328174279627308614794817",
"105148109034094297664862969763350552374",
"214390007325693831756708070536182330147"
],
"threshold": 0.9
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@82a8d0fda55b35361ee7f35b54fa2b66d7847d2b",
"target": {
"file": "drivers/vhost/vringh.c"
},
"id": "CVE-2025-40051-1e8be283"
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 836.0,
"function_hash": "39951542441619256404536788849486728482"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@82a8d0fda55b35361ee7f35b54fa2b66d7847d2b",
"target": {
"file": "drivers/vhost/vringh.c",
"function": "copy_from_iotlb"
},
"id": "CVE-2025-40051-34124f41"
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"325333494264381554976861871295543544014",
"265622847081055611167805513592975031430",
"283313048698809774159982923526927562557",
"327268157729308351779416719204333496366",
"139772649288965577376047395221688657958",
"131405296220571640989901327949323421613",
"257812441408211020578607292242057335507",
"175079300063324328174279627308614794817",
"105148109034094297664862969763350552374",
"214390007325693831756708070536182330147"
],
"threshold": 0.9
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@baa37b1c7e29546f79c39bef0d18c4edc9f39bb1",
"target": {
"file": "drivers/vhost/vringh.c"
},
"id": "CVE-2025-40051-4d1a3b9b"
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"325333494264381554976861871295543544014",
"265622847081055611167805513592975031430",
"283313048698809774159982923526927562557",
"327268157729308351779416719204333496366",
"139772649288965577376047395221688657958",
"131405296220571640989901327949323421613",
"257812441408211020578607292242057335507",
"175079300063324328174279627308614794817",
"105148109034094297664862969763350552374",
"214390007325693831756708070536182330147"
],
"threshold": 0.9
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cfa0654402c06d086201a9ff167eb95da5844fc3",
"target": {
"file": "drivers/vhost/vringh.c"
},
"id": "CVE-2025-40051-53acd174"
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 836.0,
"function_hash": "39951542441619256404536788849486728482"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cfa0654402c06d086201a9ff167eb95da5844fc3",
"target": {
"file": "drivers/vhost/vringh.c",
"function": "copy_from_iotlb"
},
"id": "CVE-2025-40051-9720288b"
},
{
"signature_type": "Line",
"deprecated": false,
"digest": {
"line_hashes": [
"325333494264381554976861871295543544014",
"265622847081055611167805513592975031430",
"283313048698809774159982923526927562557",
"327268157729308351779416719204333496366",
"139772649288965577376047395221688657958",
"131405296220571640989901327949323421613",
"257812441408211020578607292242057335507",
"175079300063324328174279627308614794817",
"105148109034094297664862969763350552374",
"214390007325693831756708070536182330147"
],
"threshold": 0.9
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@78dc7362662fedaa1928fb8e4f27401c8322905d",
"target": {
"file": "drivers/vhost/vringh.c"
},
"id": "CVE-2025-40051-c654e667"
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 836.0,
"function_hash": "39951542441619256404536788849486728482"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@78dc7362662fedaa1928fb8e4f27401c8322905d",
"target": {
"file": "drivers/vhost/vringh.c",
"function": "copy_from_iotlb"
},
"id": "CVE-2025-40051-f727fbc2"
},
{
"signature_type": "Function",
"deprecated": false,
"digest": {
"length": 836.0,
"function_hash": "39951542441619256404536788849486728482"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@baa37b1c7e29546f79c39bef0d18c4edc9f39bb1",
"target": {
"file": "drivers/vhost/vringh.c",
"function": "copy_from_iotlb"
},
"id": "CVE-2025-40051-fc48f6d1"
}
]