PUB-A-197154898

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

In getinbuf and controlworkhandler of virtioconsole.c, there is a possible out of bounds read due to an incorrect bounds check. This could lead to local information disclosure 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": {
                "length": 593.0,
                "function_hash": "202670989844150806004207007092522554445"
            },
            "id": "PUB-A-197154898-2e300d51",
            "source": "https://android.googlesource.com/kernel/common/+/f6ec306b93dc6",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "drivers/char/virtio_console.c",
                "function": "control_work_handler"
            },
            "signature_type": "Function"
        },
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "195362040112664097425367568813381090287",
                    "294500444727360624086595694464301006061",
                    "332693137376405820545055837063369286972",
                    "233484141920254455615093510129482763400",
                    "277125330095538739833328335747187820081",
                    "191470994714094816288619667126136557038",
                    "31383372575001076755560809231582600185",
                    "55476586781357655623533534113610196149"
                ]
            },
            "id": "PUB-A-197154898-308c2cee",
            "source": "https://android.googlesource.com/kernel/common/+/f6ec306b93dc6",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "drivers/char/virtio_console.c"
            },
            "signature_type": "Line"
        },
        {
            "digest": {
                "length": 278.0,
                "function_hash": "75161918258965457135294462775099465414"
            },
            "id": "PUB-A-197154898-62a43f1b",
            "source": "https://android.googlesource.com/kernel/common/+/f6ec306b93dc6",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "drivers/char/virtio_console.c",
                "function": "get_inbuf"
            },
            "signature_type": "Function"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/kernel/common/+/f6ec306b93dc6"
    ],
    "spl": "2022-06-05",
    "severity": "Moderate",
    "types": [
        "ID"
    ]
}