In closef of labelbackendsandroid.c, there is a possible way to corrupt memory due to a double free. This could lead to local escalation of privilege during startup of servicemanager, if an attacker can trigger an initialization failure, with no additional execution privileges needed. User interaction is not needed for exploitation.
{ "vanir_signatures": [ { "match_only_versions": [ "12L-next" ], "digest": { "threshold": 0.9, "line_hashes": [ "147964945417207699165835323731164294777", "188581824255746068532163302509815792704", "13414737792697373489248572050824066582" ] }, "id": "PUB-A-215387420-63757973", "source": "https://android.googlesource.com/platform/external/selinux/+/98fa1b865d52d97c06b754d1c2cfb69315997b65", "deprecated": false, "signature_version": "v1", "target": { "file": "libselinux/src/label_backends_android.c" }, "signature_type": "Line" }, { "match_only_versions": [ "12L-next" ], "digest": { "length": 387.0, "function_hash": "334210609469257421118557946681882990922" }, "id": "PUB-A-215387420-d0ab893d", "source": "https://android.googlesource.com/platform/external/selinux/+/98fa1b865d52d97c06b754d1c2cfb69315997b65", "deprecated": false, "signature_version": "v1", "target": { "file": "libselinux/src/label_backends_android.c", "function": "closef" }, "signature_type": "Function" } ], "fixes": [ "https://android.googlesource.com/platform/external/selinux/+/98fa1b865d52d97c06b754d1c2cfb69315997b65" ], "spl": "2022-06-01", "severity": "Moderate", "types": [ "EoP" ] }
{ "vanir_signatures": [ { "match_only_versions": [ "12L" ], "digest": { "length": 387.0, "function_hash": "334210609469257421118557946681882990922" }, "id": "PUB-A-215387420-335fbbac", "source": "https://android.googlesource.com/platform/external/selinux/+/98fa1b865d52d97c06b754d1c2cfb69315997b65", "deprecated": false, "signature_version": "v1", "target": { "file": "libselinux/src/label_backends_android.c", "function": "closef" }, "signature_type": "Function" }, { "match_only_versions": [ "12L" ], "digest": { "threshold": 0.9, "line_hashes": [ "147964945417207699165835323731164294777", "188581824255746068532163302509815792704", "13414737792697373489248572050824066582" ] }, "id": "PUB-A-215387420-d8cf79d2", "source": "https://android.googlesource.com/platform/external/selinux/+/98fa1b865d52d97c06b754d1c2cfb69315997b65", "deprecated": false, "signature_version": "v1", "target": { "file": "libselinux/src/label_backends_android.c" }, "signature_type": "Line" } ], "fixes": [ "https://android.googlesource.com/platform/external/selinux/+/98fa1b865d52d97c06b754d1c2cfb69315997b65" ], "spl": "2022-06-01", "severity": "Moderate", "types": [ "EoP" ] }