An issue was discovered in drivers/usb/gadget/function/rndis.c in the Linux kernel before 5.16.10. The RNDIS USB gadget lacks validation of the size of the RNDISMSGSET command. Attackers can obtain sensitive information from kernel memory.
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-25375.json"
[
{
"signature_version": "v1",
"deprecated": false,
"digest": {
"line_hashes": [
"282852417431766263490676553128712597531",
"110705312730213592619630503319076438808",
"94219566278308689484813984906675955552",
"36491830421415711599610514669873140861",
"30790627971595482618317624871770110268",
"288531739672159843520527013539581497894",
"39603869017474101200293526634541239352",
"45180091331208902342353969121843865020",
"143434519509247879588825429509241155734"
],
"threshold": 0.9
},
"signature_type": "Line",
"id": "CVE-2022-25375-3b94e882",
"source": "https://github.com/torvalds/linux/commit/38ea1eac7d88072bbffb630e2b3db83ca649b826",
"target": {
"file": "drivers/usb/gadget/function/rndis.c"
}
},
{
"signature_version": "v1",
"deprecated": false,
"digest": {
"length": 1018.0,
"function_hash": "221946459094492974610708965816765957224"
},
"signature_type": "Function",
"id": "CVE-2022-25375-f76ccb70",
"source": "https://github.com/torvalds/linux/commit/38ea1eac7d88072bbffb630e2b3db83ca649b826",
"target": {
"function": "rndis_set_response",
"file": "drivers/usb/gadget/function/rndis.c"
}
}
]