PUB-A-223375145

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

In v4l2m2mquerybuf of v4l2-mem2mem.c, there is a possible out of bounds write due to improper input validation. 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-08-05

Affected versions

Other

Kernel

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "length": 191.0,
                "function_hash": "77057026942065866567222920444551897341"
            },
            "id": "PUB-A-223375145-17899f7b",
            "source": "https://android.googlesource.com/kernel/common/+/a50ef731e0981",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "drivers/media/v4l2-core/v4l2-mem2mem.c",
                "function": "v4l2_m2m_dqbuf"
            },
            "signature_type": "Function"
        },
        {
            "digest": {
                "length": 490.0,
                "function_hash": "172330574655433104275171088540171335423"
            },
            "id": "PUB-A-223375145-28b83d17",
            "source": "https://android.googlesource.com/kernel/common/+/a50ef731e0981",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "drivers/media/v4l2-core/v4l2-mem2mem.c",
                "function": "v4l2_m2m_querybuf"
            },
            "signature_type": "Function"
        },
        {
            "digest": {
                "length": 677.0,
                "function_hash": "129889171219200123976179555194527458880"
            },
            "id": "PUB-A-223375145-39df750d",
            "source": "https://android.googlesource.com/kernel/common/+/a50ef731e0981",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "drivers/media/v4l2-core/v4l2-mem2mem.c",
                "function": "v4l2_m2m_qbuf"
            },
            "signature_type": "Function"
        },
        {
            "digest": {
                "length": 220.0,
                "function_hash": "231974991277473245320962543857892626614"
            },
            "id": "PUB-A-223375145-e59ad109",
            "source": "https://android.googlesource.com/kernel/common/+/a50ef731e0981",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "drivers/media/v4l2-core/v4l2-mem2mem.c",
                "function": "v4l2_m2m_prepare_buf"
            },
            "signature_type": "Function"
        },
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "182540722904861660401317647076307478758",
                    "18548419595686743905543645713393816735",
                    "127385224719947236792134162612853351356",
                    "154489501943406713249811178600177095998",
                    "97257101589680576757750754282278945969",
                    "276830168193484517625541325013879559843",
                    "43701582466834253041287631922221939922",
                    "86257571879730353321300805124914393949",
                    "317925330228068251071055736140218327677",
                    "224089491131070094488674392146356427290",
                    "87455944937991053753899394795827373416",
                    "227205175199801752564248062603336877101",
                    "43702769604461198694397139765261202282",
                    "304774311099517766004669937805490776458",
                    "193348731885122237048202480546806796694",
                    "201541717412904143452260414197344225132",
                    "175784227552789743190886167552730719762",
                    "75729983883117454279829685756343167387",
                    "169543136786120814593936450445964091003",
                    "20931786354144988450557164933622409087",
                    "305043013282782832693407681729581241695",
                    "211024320933984206646749395947990932062",
                    "34196225206077584371779427697468762509",
                    "280994793837052709705029964061360261289",
                    "267237254074865907050965853703501076711",
                    "82184348258950912945053669390928147298",
                    "255253185755744605973666086640146615448",
                    "225125203706866879401875301438183494435",
                    "205373062403972330229687720579621400267",
                    "336493930333273175609176613312339078776",
                    "50959094259490214165548752211181036461",
                    "259555000446536382898353991983997018082",
                    "334674048712727173432630090365381501013"
                ]
            },
            "id": "PUB-A-223375145-fa793a78",
            "source": "https://android.googlesource.com/kernel/common/+/a50ef731e0981",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "drivers/media/v4l2-core/v4l2-mem2mem.c"
            },
            "signature_type": "Line"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/kernel/common/+/a50ef731e0981"
    ],
    "spl": "2022-08-05",
    "severity": "Moderate",
    "types": [
        "EoP"
    ]
}