PUB-A-187955767

See a problem?
Import Source
https://storage.googleapis.com/android-osv-test/PUB-A-187955767.json
JSON Data
https://api.osv.dev/v1/vulns/PUB-A-187955767
Aliases
Published
2021-10-01T00:00:00Z
Modified
2024-09-19T16:27:57.727043Z
Summary
Out-Of-Bounds Write
Details

In list_devices of dm-ioctl.c, there is a possible out of bounds write due to an incorrect 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
:2021-10-05

Affected versions

Other

Kernel

Ecosystem specific

{
    "vanir_signatures": [
        {
            "digest": {
                "threshold": 0.9,
                "line_hashes": [
                    "263428335521858738478280029375408696348",
                    "75562363721631558118523518693872933414",
                    "134782117765223644837763193596354327460",
                    "304615921792595337812681135247474838779"
                ]
            },
            "id": "PUB-A-187955767-a17cc711",
            "source": "https://android.googlesource.com/kernel/common/+/4edbe1d7bcffcd6269f3b5eb63f710393ff2ec7a",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "drivers/md/dm-ioctl.c"
            },
            "signature_type": "Line"
        },
        {
            "digest": {
                "length": 1207.0,
                "function_hash": "71146797709727191609301518005017034444"
            },
            "id": "PUB-A-187955767-bc01500c",
            "source": "https://android.googlesource.com/kernel/common/+/4edbe1d7bcffcd6269f3b5eb63f710393ff2ec7a",
            "deprecated": false,
            "signature_version": "v1",
            "target": {
                "file": "drivers/md/dm-ioctl.c",
                "function": "list_devices"
            },
            "signature_type": "Function"
        }
    ],
    "fixes": [
        "https://android.googlesource.com/kernel/common/+/4edbe1d7bcffcd6269f3b5eb63f710393ff2ec7a"
    ],
    "spl": "2021-10-05",
    "severity": "Moderate",
    "types": [
        "EoP"
    ]
}