In various functions of the USB gadget subsystem, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is not needed for exploitation.
{ "vanir_signatures": [ { "digest": { "length": 8670.0, "function_hash": "15411130885992590080241792335577292221" }, "id": "ASB-A-213172319-3423edf2", "source": "https://android.googlesource.com/kernel/common/+/823fc2b264f1ec12678564271c5fa34e3250cf83", "deprecated": false, "signature_version": "v1", "target": { "file": "drivers/usb/gadget/composite.c", "truncated_path_level": 1.0, "function": "composite_setup" }, "signature_type": "Function" }, { "digest": { "threshold": 0.9, "line_hashes": [ "282852417431766263490676553128712597531", "110705312730213592619630503319076438808", "94219566278308689484813984906675955552", "36491830421415711599610514669873140861", "30790627971595482618317624871770110268", "288531739672159843520527013539581497894", "39603869017474101200293526634541239352", "45180091331208902342353969121843865020", "143434519509247879588825429509241155734" ] }, "id": "ASB-A-213172319-476cf60f", "source": "https://android.googlesource.com/kernel/common/+/528615555b59cbd659186d44b3c6db69c30414eb", "deprecated": false, "signature_version": "v1", "target": { "file": "drivers/usb/gadget/function/rndis.c" }, "signature_type": "Line" }, { "digest": { "threshold": 0.9, "line_hashes": [ "8228047372824403445809389804182550337", "215290394054290689799362561037584581376", "50834800687003401478418564196561689514", "157624948906676408928048125434499571554" ] }, "id": "ASB-A-213172319-c780d7df", "source": "https://android.googlesource.com/kernel/common/+/823fc2b264f1ec12678564271c5fa34e3250cf83", "deprecated": false, "signature_version": "v1", "target": { "file": "drivers/usb/gadget/composite.c", "truncated_path_level": 1.0 }, "signature_type": "Line" }, { "digest": { "length": 1018.0, "function_hash": "221946459094492974610708965816765957224" }, "id": "ASB-A-213172319-da487bd0", "source": "https://android.googlesource.com/kernel/common/+/528615555b59cbd659186d44b3c6db69c30414eb", "deprecated": false, "signature_version": "v1", "target": { "file": "drivers/usb/gadget/function/rndis.c", "function": "rndis_set_response" }, "signature_type": "Function" } ], "fixes": [ "https://android.googlesource.com/kernel/common/+/528615555b59cbd659186d44b3c6db69c30414eb", "https://android.googlesource.com/kernel/common/+/823fc2b264f1ec12678564271c5fa34e3250cf83" ], "spl": "2022-05-05", "severity": "High", "types": [ "EoP" ] }