{
    "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2018-18559",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "n/a",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "n/a"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "n/a"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "In the Linux kernel through 4.19, a use-after-free can occur due to a race condition between fanout_add from setsockopt and bind on an AF_PACKET socket. This issue exists because of the 15fe076edea787807a7cdc168df832544b58eba6 incomplete fix for a race condition. The code mishandles a certain multithreaded case involving a packet_do_bind unregister action followed by a packet_notifier register action. Later, packet_release operates on only one of the two applicable linked lists. The attacker can achieve Program Counter control."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "n/a"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "RHSA-2019:0188",
                "refsource": "REDHAT",
                "url": "https://access.redhat.com/errata/RHSA-2019:0188"
            },
            {
                "name": "RHSA-2019:0163",
                "refsource": "REDHAT",
                "url": "https://access.redhat.com/errata/RHSA-2019:0163"
            },
            {
                "name": "https://blogs.securiteam.com/index.php/archives/3731",
                "refsource": "MISC",
                "url": "https://blogs.securiteam.com/index.php/archives/3731"
            },
            {
                "refsource": "REDHAT",
                "name": "RHBA-2019:0327",
                "url": "https://access.redhat.com/errata/RHBA-2019:0327"
            },
            {
                "refsource": "REDHAT",
                "name": "RHSA-2019:1170",
                "url": "https://access.redhat.com/errata/RHSA-2019:1170"
            },
            {
                "refsource": "REDHAT",
                "name": "RHSA-2019:1190",
                "url": "https://access.redhat.com/errata/RHSA-2019:1190"
            },
            {
                "refsource": "REDHAT",
                "name": "RHSA-2019:3967",
                "url": "https://access.redhat.com/errata/RHSA-2019:3967"
            },
            {
                "refsource": "REDHAT",
                "name": "RHSA-2019:4159",
                "url": "https://access.redhat.com/errata/RHSA-2019:4159"
            },
            {
                "refsource": "REDHAT",
                "name": "RHSA-2020:0174",
                "url": "https://access.redhat.com/errata/RHSA-2020:0174"
            }
        ]
    }
}