CVE-2017-17857

Source
https://cve.org/CVERecord?id=CVE-2017-17857
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-17857.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2017-17857
Downstream
Related
Published
2017-12-27T17:08:20.343Z
Modified
2026-02-17T00:13:44.496621Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

The checkstackboundary function in kernel/bpf/verifier.c in the Linux kernel through 4.14.8 allows local users to cause a denial of service (memory corruption) or possibly have unspecified other impact by leveraging mishandling of invalid variable stack read operations.

References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
ea25f914dc164c8d56b36147ecc86bc65f83c469
Introduced
bebc6082da0a9f5d47a1ea2edc099bf671058bd4
Fixed
ea25f914dc164c8d56b36147ecc86bc65f83c469

Affected versions

v4.*
v4.14
v4.15-rc1
v4.15-rc2
v4.15-rc3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-17857.json"
vanir_signatures
[
    {
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@ea25f914dc164c8d56b36147ecc86bc65f83c469",
        "digest": {
            "function_hash": "65743652289437559858503005514415331740",
            "length": 1488.0
        },
        "id": "CVE-2017-17857-3ea7f88c",
        "deprecated": false,
        "target": {
            "file": "kernel/bpf/verifier.c",
            "function": "check_stack_boundary"
        }
    },
    {
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@ea25f914dc164c8d56b36147ecc86bc65f83c469",
        "digest": {
            "line_hashes": [
                "221562409309996490607208482611019014577",
                "191798673979136458793597312635100618772",
                "88907896742417686630284496903541328755",
                "191687799068163978279720741215612228240"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2017-17857-91eb0a5a",
        "deprecated": false,
        "target": {
            "file": "kernel/bpf/verifier.c"
        }
    }
]