CVE-2017-15126

Source
https://cve.org/CVERecord?id=CVE-2017-15126
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-15126.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2017-15126
Downstream
Published
2018-01-14T06:29:00.217Z
Modified
2026-02-28T00:40:28.395991Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

A use-after-free flaw was found in fs/userfaultfd.c in the Linux kernel before 4.13.6. The issue is related to the handling of fork failure when dealing with event messages. Failure to fork correctly can lead to a situation where a fork event will be removed from an already freed list of events with userfaultfdctxput().

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
384632e67e0829deb8015ee6ad916b180049d252
Introduced
a351e9b9fc24e982ec2f0e76379a49826036da12
Fixed
384632e67e0829deb8015ee6ad916b180049d252

Affected versions

v4.*
v4.11
v4.12
v4.12-rc1
v4.12-rc2
v4.12-rc3
v4.12-rc4
v4.12-rc5
v4.12-rc6
v4.12-rc7
v4.13
v4.13-rc1
v4.13-rc2
v4.13-rc3
v4.13-rc4
v4.13-rc5
v4.13-rc6
v4.13-rc7
v4.14-rc1
v4.14-rc2
v4.14-rc3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-15126.json"
vanir_signatures
[
    {
        "id": "CVE-2017-15126-024f3b72",
        "digest": {
            "length": 1928.0,
            "function_hash": "324038283121269471536727879656671546266"
        },
        "signature_type": "Function",
        "target": {
            "file": "fs/userfaultfd.c",
            "function": "userfaultfd_ctx_read"
        },
        "signature_version": "v1",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@384632e67e0829deb8015ee6ad916b180049d252",
        "deprecated": false
    },
    {
        "id": "CVE-2017-15126-90f6d291",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "29929957628210174276646604564514393751",
                "227806916652118349574151163674119352224",
                "306712206467865690209258340037135021315",
                "98093958413093315899160292140045133401",
                "238880341761118550113147953141375839434",
                "292953951808234898922169518294953400905",
                "149515922906358692355378644525336616110",
                "131730213296447695371704788046014161146",
                "30634690958670198855393735984480659568",
                "196140967978260065022547277316208486628",
                "150549881797324574585455874608258985481",
                "287494889372464065393915538185868492490",
                "210166789233886650370580947531376829228",
                "58307731082078151328509560423217210083",
                "182166192284877006122067573708695891867",
                "75505415615324780368849317181149395954",
                "44677845450648854438133892351903910972",
                "42569365363546141153243308688673911253",
                "81490177173292117542852526480020951162",
                "130464121954265132611941521221643487926",
                "319724776607431747074029736617033381719",
                "401783966974192742742126468084163708",
                "137905804087313218031654337021865121786",
                "201541717412904143452260414197344225132"
            ]
        },
        "signature_type": "Line",
        "target": {
            "file": "fs/userfaultfd.c"
        },
        "signature_version": "v1",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@384632e67e0829deb8015ee6ad916b180049d252",
        "deprecated": false
    }
]