PUB-A-160818461

See a problem?
Import Source
https://storage.googleapis.com/android-osv-test/PUB-A-160818461.json
JSON Data
https://api.test.osv.dev/v1/vulns/PUB-A-160818461
Aliases
Published
2022-12-01T00:00:00Z
Modified
2026-03-11T06:32:56Z
Summary
[none]
Details

In hid_output_report of hid-core.c, there is a possible out of bounds write due to a missing bounds check. This could lead to local escalation of privilege with no additional execution privileges needed. User interaction is needed for exploitation.

References

Affected packages

Android / :linux_kernel:

Package

Affected ranges

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

Affected versions

Other
Kernel

Ecosystem specific

{
    "fixes":  [
        "https://android.googlesource.com/kernel/common/+/bce1305c0ece3"
    ],
    "severity":  "Moderate",
    "spl":  "2022-12-05",
    "types":  [
        "EoP"
    ],
    "vanir_signatures":  [
        {
            "deprecated":  false,
            "digest":  {
                "line_hashes":  [
                    "59279288054240772512122037148835217342",
                    "211880442018003413039781699765869659646",
                    "214310009365619240478923272630953271789",
                    "321971145287701039621919956120198388347",
                    "207959965809916909403245645649888378685",
                    "188374904451562885539951987849272656462",
                    "319458721325611379528885337716549284009",
                    "104733734344321184961195836625682850135",
                    "31016265555568093321704658062067679381",
                    "122010839418486169462622783824556336648",
                    "107437023064454477683088389321012772659"
                ],
                "threshold":  0.9
            },
            "id":  "PUB-A-160818461-4606e0d5",
            "signature_type":  "Line",
            "signature_version":  "v1",
            "source":  "https://android.googlesource.com/kernel/common/+/bce1305c0ece3",
            "target":  {
                "file":  "drivers/hid/hid-core.c",
                "truncated_path_level":  1
            }
        },
        {
            "deprecated":  false,
            "digest":  {
                "function_hash":  "302779128589865924941927860846474042040",
                "length":  300
            },
            "id":  "PUB-A-160818461-482eb047",
            "signature_type":  "Function",
            "signature_version":  "v1",
            "source":  "https://android.googlesource.com/kernel/common/+/bce1305c0ece3",
            "target":  {
                "file":  "drivers/hid/hid-core.c",
                "function":  "hid_output_report",
                "truncated_path_level":  1
            }
        },
        {
            "deprecated":  false,
            "digest":  {
                "function_hash":  "86180056594490316600717451057640403042",
                "length":  1264
            },
            "id":  "PUB-A-160818461-95d3f56d",
            "signature_type":  "Function",
            "signature_version":  "v1",
            "source":  "https://android.googlesource.com/kernel/common/+/bce1305c0ece3",
            "target":  {
                "file":  "drivers/hid/hid-core.c",
                "function":  "hid_report_raw_event",
                "truncated_path_level":  1
            }
        }
    ]
}

Database specific

source
"https://storage.googleapis.com/android-osv-test/PUB-A-160818461.json"