CVE-2018-18559

Source
https://cve.org/CVERecord?id=CVE-2018-18559
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-18559.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2018-18559
Downstream
Published
2018-10-22T16:29:00.360Z
Modified
2026-03-12T22:48:20.827098Z
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

In the Linux kernel through 4.19, a use-after-free can occur due to a race condition between fanoutadd from setsockopt and bind on an AFPACKET socket. This issue exists because of the 15fe076edea787807a7cdc168df832544b58eba6 incomplete fix for a race condition. The code mishandles a certain multithreaded case involving a packetdobind unregister action followed by a packetnotifier register action. Later, packetrelease operates on only one of the two applicable linked lists. The attacker can achieve Program Counter control.

References

Affected packages

Git /

Affected ranges

Database specific

unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "3.2.95"
            },
            {
                "fixed": "3.2.100"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "3.14.58"
            },
            {
                "fixed": "3.15"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "3.18.25"
            },
            {
                "fixed": "3.18.88"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "4.1.14"
            },
            {
                "fixed": "4.1.49"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "4.2.7"
            },
            {
                "fixed": "4.3"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "4.3.1"
            },
            {
                "fixed": "4.4.106"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "4.5"
            },
            {
                "fixed": "4.9.70"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "4.10"
            },
            {
                "fixed": "4.14.7"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "3.11"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "4.0"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "7.0"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "7.0"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "7.6"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "7.6"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "7.6"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "7.0"
            }
        ]
    }
]
source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-18559.json"