In dev_config of inode.c, there is a possible arbitrary code execution due to a use after free. 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": 2092.0, "function_hash": "100910238043098768575891757463404886640" }, "id": "ASB-A-220261709-0c87b34c", "source": "https://android.googlesource.com/kernel/common/+/590a98d5d1086", "deprecated": false, "signature_version": "v1", "target": { "file": "drivers/usb/gadget/legacy/inode.c", "truncated_path_level": 1.0, "function": "dev_config" }, "signature_type": "Function" }, { "digest": { "threshold": 0.9, "line_hashes": [ "186639761942567450573979788117275880424", "333096429839334311930049144006513742060", "60719391462526005632700289665433177534", "317186749981178857477562520181006939674", "54064079988113171740121196451130712801", "43619927766329838885358180382763708978", "79775120953513019826931127321861343923", "132156066930817037200589357825327870347", "218457760794979473464887387052798417883" ] }, "id": "ASB-A-220261709-383a2aa8", "source": "https://android.googlesource.com/kernel/common/+/fdd64084e4055", "deprecated": false, "signature_version": "v1", "target": { "file": "drivers/usb/gadget/legacy/inode.c", "truncated_path_level": 1.0 }, "signature_type": "Line" }, { "digest": { "threshold": 0.9, "line_hashes": [ "186639761942567450573979788117275880424", "333096429839334311930049144006513742060", "60719391462526005632700289665433177534", "317186749981178857477562520181006939674", "54064079988113171740121196451130712801", "43619927766329838885358180382763708978", "79775120953513019826931127321861343923", "132156066930817037200589357825327870347", "218457760794979473464887387052798417883" ] }, "id": "ASB-A-220261709-6f47482d", "source": "https://android.googlesource.com/kernel/common/+/590a98d5d1086", "deprecated": false, "signature_version": "v1", "target": { "file": "drivers/usb/gadget/legacy/inode.c", "truncated_path_level": 1.0 }, "signature_type": "Line" }, { "digest": { "length": 2092.0, "function_hash": "100910238043098768575891757463404886640" }, "id": "ASB-A-220261709-82a60387", "source": "https://android.googlesource.com/kernel/common/+/c13159a588818", "deprecated": false, "signature_version": "v1", "target": { "file": "drivers/usb/gadget/legacy/inode.c", "truncated_path_level": 1.0, "function": "dev_config" }, "signature_type": "Function" }, { "digest": { "threshold": 0.9, "line_hashes": [ "203430003165072718367858077295931742840", "180273471412337465156164558445533312811", "131691568141789193167961131358887418833", "296795267979675987565603514620564612986", "88886914578469651870350528706792891694", "230937538168488276498676548176124459417" ] }, "id": "ASB-A-220261709-87ae7b2c", "source": "https://android.googlesource.com/kernel/common/+/ff0000fe82f45", "deprecated": false, "signature_version": "v1", "target": { "file": "drivers/usb/gadget/legacy/inode.c", "truncated_path_level": 1.0 }, "signature_type": "Line" }, { "digest": { "length": 2152.0, "function_hash": "142784419688723226106187868832514389771" }, "id": "ASB-A-220261709-af9535f3", "source": "https://android.googlesource.com/kernel/common/+/ff0000fe82f45", "deprecated": false, "signature_version": "v1", "target": { "file": "drivers/usb/gadget/legacy/inode.c", "truncated_path_level": 1.0, "function": "dev_config" }, "signature_type": "Function" }, { "digest": { "length": 2122.0, "function_hash": "280494176015748101793496394995502174323" }, "id": "ASB-A-220261709-c3d603db", "source": "https://android.googlesource.com/kernel/common/+/fdd64084e4055", "deprecated": false, "signature_version": "v1", "target": { "file": "drivers/usb/gadget/legacy/inode.c", "truncated_path_level": 1.0, "function": "dev_config" }, "signature_type": "Function" }, { "digest": { "threshold": 0.9, "line_hashes": [ "203430003165072718367858077295931742840", "180273471412337465156164558445533312811", "131691568141789193167961131358887418833", "296795267979675987565603514620564612986", "88886914578469651870350528706792891694", "230937538168488276498676548176124459417" ] }, "id": "ASB-A-220261709-dbf6ae12", "source": "https://android.googlesource.com/kernel/common/+/c13159a588818", "deprecated": false, "signature_version": "v1", "target": { "file": "drivers/usb/gadget/legacy/inode.c", "truncated_path_level": 1.0 }, "signature_type": "Line" } ], "fixes": [ "https://android.googlesource.com/kernel/common/+/ff0000fe82f45", "https://android.googlesource.com/kernel/common/+/590a98d5d1086", "https://android.googlesource.com/kernel/common/+/c13159a588818", "https://android.googlesource.com/kernel/common/+/fdd64084e4055" ], "spl": "2022-06-05", "severity": "High", "types": [ "EoP" ] }