{
    "data_type": "CVE",
    "data_format": "MITRE",
    "data_version": "4.0",
    "CVE_data_meta": {
        "ID": "CVE-2022-0847",
        "ASSIGNER": "secalert@redhat.com",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "n/a",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "kernel",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "Linux Kernel 5.17 rc6"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-665->CWE-281"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "refsource": "MISC",
                "name": "https://bugzilla.redhat.com/show_bug.cgi?id=2060795",
                "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2060795"
            },
            {
                "refsource": "MISC",
                "name": "https://dirtypipe.cm4all.com/",
                "url": "https://dirtypipe.cm4all.com/"
            },
            {
                "refsource": "MISC",
                "name": "http://packetstormsecurity.com/files/166230/Dirty-Pipe-SUID-Binary-Hijack-Privilege-Escalation.html",
                "url": "http://packetstormsecurity.com/files/166230/Dirty-Pipe-SUID-Binary-Hijack-Privilege-Escalation.html"
            },
            {
                "refsource": "MISC",
                "name": "http://packetstormsecurity.com/files/166229/Dirty-Pipe-Linux-Privilege-Escalation.html",
                "url": "http://packetstormsecurity.com/files/166229/Dirty-Pipe-Linux-Privilege-Escalation.html"
            },
            {
                "refsource": "MISC",
                "name": "http://packetstormsecurity.com/files/166258/Dirty-Pipe-Local-Privilege-Escalation.html",
                "url": "http://packetstormsecurity.com/files/166258/Dirty-Pipe-Local-Privilege-Escalation.html"
            },
            {
                "refsource": "MISC",
                "name": "https://www.suse.com/support/kb/doc/?id=000020603",
                "url": "https://www.suse.com/support/kb/doc/?id=000020603"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://security.netapp.com/advisory/ntap-20220325-0005/",
                "url": "https://security.netapp.com/advisory/ntap-20220325-0005/"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf",
                "url": "https://cert-portal.siemens.com/productcert/pdf/ssa-222547.pdf"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0015",
                "url": "https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0015"
            },
            {
                "refsource": "MISC",
                "name": "http://packetstormsecurity.com/files/176534/Linux-4.20-KTLS-Read-Only-Write.html",
                "url": "http://packetstormsecurity.com/files/176534/Linux-4.20-KTLS-Read-Only-Write.html"
            }
        ]
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "A flaw was found in the way the \"flags\" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe and push_pipe functions in the Linux kernel and could thus contain stale values. An unprivileged local user could use this flaw to write to pages in the page cache backed by read only files and as such escalate their privileges on the system."
            }
        ]
    }
}