PUB-A-215387420

See a problem?
Import Source
https://storage.googleapis.com/android-osv/PUB-A-215387420.json
JSON Data
https://api.osv.dev/v1/vulns/PUB-A-215387420
Aliases
Published
2022-06-01T00:00:00Z
Modified
2026-05-14T17:07:02.674203Z
Summary
[none]
Details

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.

References

Affected packages

Android / platform/external/selinux

Affected ranges

Type
ECOSYSTEM
Events
Introduced
12L-next:0
Fixed
12L-next:2022-06-01

Affected versions

Other
12L-next

Ecosystem specific

{
    "types": [
        "EoP"
    ],
    "fixes": [
        "https://android.googlesource.com/platform/external/selinux/+/98fa1b865d52d97c06b754d1c2cfb69315997b65"
    ],
    "spl": "2022-06-01",
    "vanir_signatures": [
        {
            "id": "PUB-A-215387420-63757973",
            "deprecated": false,
            "signature_type": "Line",
            "match_only_versions": [
                "12L-next"
            ],
            "signature_version": "v1",
            "source": "https://android.googlesource.com/platform/external/selinux/+/98fa1b865d52d97c06b754d1c2cfb69315997b65",
            "target": {
                "file": "libselinux/src/label_backends_android.c"
            },
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "147964945417207699165835323731164294777",
                    "188581824255746068532163302509815792704",
                    "13414737792697373489248572050824066582"
                ]
            }
        },
        {
            "id": "PUB-A-215387420-d0ab893d",
            "deprecated": false,
            "signature_type": "Function",
            "match_only_versions": [
                "12L-next"
            ],
            "signature_version": "v1",
            "source": "https://android.googlesource.com/platform/external/selinux/+/98fa1b865d52d97c06b754d1c2cfb69315997b65",
            "target": {
                "function": "closef",
                "file": "libselinux/src/label_backends_android.c"
            },
            "digest": {
                "function_hash": "334210609469257421118557946681882990922",
                "length": 387.0
            }
        }
    ],
    "severity": "Moderate"
}

Database specific

source
"https://storage.googleapis.com/android-osv/PUB-A-215387420.json"

Android / platform/external/selinux

Affected ranges

Type
ECOSYSTEM
Events
Introduced
12L:0
Fixed
12L:2022-06-01

Affected versions

Other
12L

Ecosystem specific

{
    "types": [
        "EoP"
    ],
    "fixes": [
        "https://android.googlesource.com/platform/external/selinux/+/98fa1b865d52d97c06b754d1c2cfb69315997b65"
    ],
    "spl": "2022-06-01",
    "vanir_signatures": [
        {
            "id": "PUB-A-215387420-335fbbac",
            "deprecated": false,
            "signature_type": "Function",
            "match_only_versions": [
                "12L"
            ],
            "signature_version": "v1",
            "source": "https://android.googlesource.com/platform/external/selinux/+/98fa1b865d52d97c06b754d1c2cfb69315997b65",
            "target": {
                "function": "closef",
                "file": "libselinux/src/label_backends_android.c"
            },
            "digest": {
                "function_hash": "334210609469257421118557946681882990922",
                "length": 387.0
            }
        },
        {
            "id": "PUB-A-215387420-d8cf79d2",
            "deprecated": false,
            "signature_type": "Line",
            "match_only_versions": [
                "12L"
            ],
            "signature_version": "v1",
            "source": "https://android.googlesource.com/platform/external/selinux/+/98fa1b865d52d97c06b754d1c2cfb69315997b65",
            "target": {
                "file": "libselinux/src/label_backends_android.c"
            },
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "147964945417207699165835323731164294777",
                    "188581824255746068532163302509815792704",
                    "13414737792697373489248572050824066582"
                ]
            }
        }
    ],
    "severity": "Moderate"
}

Database specific

source
"https://storage.googleapis.com/android-osv/PUB-A-215387420.json"