PUB-A-213172369

See a problem?
Import Source
https://storage.googleapis.com/android-osv-test/PUB-A-213172369.json
JSON Data
https://api.osv.dev/v1/vulns/PUB-A-213172369
Aliases
Published
2022-06-01T00:00:00Z
Modified
2024-09-19T16:28:17.062209Z
Summary
[A slab-out-of-bounds in legacy_parse_param() in Kernel's file system]
Details

In legacyparseparam of fs_context.c, there is a possible out of bounds write due to a missing bounds check. 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-06-05

Affected versions

Other

Kernel

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "332611879140404434690152632347982780701",
                    "193005555054335394959908412522152239921",
                    "308843018842959193664841224512432202885",
                    "251322244919373171567936309461685841974"
                ]
            },
            "id": "PUB-A-213172369-44cea301",
            "source": "https://android.googlesource.com/kernel/common/+/a32e89883a535",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "fs/fs_context.c"
            },
            "signature_type": "Line"
        },
        {
            "digest": {
                "length": 1796.0,
                "function_hash": "67543043462929298139978757926468672210"
            },
            "id": "PUB-A-213172369-4d2f18b1",
            "source": "https://android.googlesource.com/kernel/common/+/a32e89883a535",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "fs/fs_context.c",
                "function": "legacy_parse_param"
            },
            "signature_type": "Function"
        },
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "332611879140404434690152632347982780701",
                    "193005555054335394959908412522152239921",
                    "308843018842959193664841224512432202885",
                    "251322244919373171567936309461685841974"
                ]
            },
            "id": "PUB-A-213172369-a492c0a0",
            "source": "https://android.googlesource.com/kernel/common/+/eadde287a62e6",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "fs/fs_context.c"
            },
            "signature_type": "Line"
        },
        {
            "digest": {
                "length": 1796.0,
                "function_hash": "67543043462929298139978757926468672210"
            },
            "id": "PUB-A-213172369-aad49fbf",
            "source": "https://android.googlesource.com/kernel/common/+/eadde287a62e6",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "fs/fs_context.c",
                "function": "legacy_parse_param"
            },
            "signature_type": "Function"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/kernel/common/+/a32e89883a535",
        "https://android.googlesource.com/kernel/common/+/eadde287a62e6"
    ],
    "spl": "2022-06-05",
    "severity": "Moderate",
    "types": [
        "EoP"
    ]
}