PUB-A-217307370

See a problem?
Import Source
https://storage.googleapis.com/android-osv/PUB-A-217307370.json
JSON Data
https://api.osv.dev/v1/vulns/PUB-A-217307370
Aliases
Published
2022-04-01T00:00:00Z
Modified
2024-11-06T12:16:03.231308Z
Summary
[none]
Details

In checkmapfunc_compatibility of verifier.c, there is a possible way to escalate privileges due to type confusion. This could lead to local escalation of privilege with System execution privileges needed. User interaction is not needed for exploitation.

References

Affected packages

Android / :linux_kernel:

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
:0
Fixed
:2022-04-05

Affected versions

Other

Kernel

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "15371768363011398948134392204682119057",
                    "268699932613652902180405491950515855539",
                    "228354794961783121942231163916749470200",
                    "248489427563718735253355314142042363286",
                    "212508327797180963645215052490574560327",
                    "65854336413834867826726423728848597359",
                    "75361136359227556588278444359324605212",
                    "130310085127283080999774999963555185597",
                    "48210965307352011666908275781782046531"
                ]
            },
            "id": "PUB-A-217307370-1848d9ea",
            "source": "https://android.googlesource.com/kernel/common/+/5b029a32cfe4600f5e10e36b41778506b90fd4de",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "kernel/bpf/verifier.c"
            },
            "signature_type": "Line"
        },
        {
            "digest": {
                "length": 5443.0,
                "function_hash": "293654774779956045482460113655615237214"
            },
            "id": "PUB-A-217307370-6df1b1e7",
            "source": "https://android.googlesource.com/kernel/common/+/5b029a32cfe4600f5e10e36b41778506b90fd4de",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "kernel/bpf/verifier.c",
                "function": "check_map_func_compatibility"
            },
            "signature_type": "Function"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/kernel/common/+/5b029a32cfe4600f5e10e36b41778506b90fd4de"
    ],
    "spl": "2022-04-05",
    "severity": "Moderate",
    "types": [
        "EoP"
    ]
}