CVE-2022-3170

Source
https://cve.org/CVERecord?id=CVE-2022-3170
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-3170.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-3170
Downstream
Published
2022-09-13T15:36:36Z
Modified
2026-10-28T10:25:15Z
Summary
[none]
Details

An out-of-bounds access issue was found in the Linux kernel sound subsystem. It could occur when the 'id->name' provided by the user did not end with '\0'. A privileged local user could pass a specially crafted name through ioctl() interface and crash the system or potentially escalate their privileges on the system.

Database specific
{
    "cna_assigner": "redhat",
    "cwe_ids": [
        "CWE-125"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/3xxx/CVE-2022-3170.json"
}
References

Affected packages

Git / github.com/torvalds/linux

Affected ranges

Type
GIT
Repo
https://github.com/torvalds/linux
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "fixed in kernel 6.0-rc4"
                },
                {
                    "last_affected": "fixed in kernel 6.0-rc4"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandaloneSingleVersion"
        },
        {
            "range": [
                {
                    "fixed": "6ab55ec0a938c7f943a4edba3d6514f775983887"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "range": [
                {
                    "fixed": "5934d9a0383619c14df91af8fd76261dc3de2f5f"
                }
            ],
            "source": "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

fixed in kernel 6.*
fixed in kernel 6.0-rc4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-3170.json"
vanir_signatures
[
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "214510915266267860277080332899731657188",
                "252032441606102894527064913850378780714",
                "299532166531690310005915695525673528615",
                "84204666359251099738420232714644424847",
                "93334142581705132119495935434153652128",
                "73994546345736366796941969181832882003",
                "121261631395645164426895422406313635473",
                "57420357433028701152477528422559889010",
                "333160038602479873523656124180391794872",
                "220717527764495782806564262701327963620",
                "326650505140554790512398450160736306024"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2022-3170-8dff3f75",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/torvalds/linux/commit/6ab55ec0a938c7f943a4edba3d6514f775983887",
        "target": {
            "file": "sound/core/control.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "303681123330282482955277790492623291343",
            "length": 371
        },
        "id": "CVE-2022-3170-923f9d9c",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/torvalds/linux/commit/6ab55ec0a938c7f943a4edba3d6514f775983887",
        "target": {
            "file": "sound/core/control.c",
            "function": "get_ctl_id_hash"
        }
    }
]
vanir_signatures_modified
"2026-10-28T10:25:15Z"