{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2024-35904",
        "ASSIGNER": "cve@kernel.org",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nselinux: avoid dereference of garbage after mount failure\n\nIn case kern_mount() fails and returns an error pointer return in the\nerror branch instead of continuing and dereferencing the error pointer.\n\nWhile on it drop the never read static variable selinuxfs_mount."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "n/a"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "Linux",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "Linux",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "<",
                                            "version_name": "0619f0f5e36f",
                                            "version_value": "477ed6789eb9"
                                        },
                                        {
                                            "version_value": "not down converted",
                                            "x_cve_json_5_version_data": {
                                                "versions": [
                                                    {
                                                        "version": "4.17",
                                                        "status": "affected"
                                                    },
                                                    {
                                                        "version": "0",
                                                        "lessThan": "4.17",
                                                        "status": "unaffected",
                                                        "versionType": "custom"
                                                    },
                                                    {
                                                        "version": "6.6.26",
                                                        "lessThanOrEqual": "6.6.*",
                                                        "status": "unaffected",
                                                        "versionType": "custom"
                                                    },
                                                    {
                                                        "version": "6.8.5",
                                                        "lessThanOrEqual": "6.8.*",
                                                        "status": "unaffected",
                                                        "versionType": "custom"
                                                    },
                                                    {
                                                        "version": "6.9",
                                                        "lessThanOrEqual": "*",
                                                        "status": "unaffected",
                                                        "versionType": "original_commit_for_fix"
                                                    }
                                                ],
                                                "defaultStatus": "affected"
                                            }
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://git.kernel.org/stable/c/477ed6789eb9f3f4d3568bb977f90c863c12724e",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/477ed6789eb9f3f4d3568bb977f90c863c12724e"
            },
            {
                "url": "https://git.kernel.org/stable/c/68784a5d01b8868ff85a7926676b6729715fff3c",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/68784a5d01b8868ff85a7926676b6729715fff3c"
            },
            {
                "url": "https://git.kernel.org/stable/c/37801a36b4d68892ce807264f784d818f8d0d39b",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/37801a36b4d68892ce807264f784d818f8d0d39b"
            },
            {
                "url": "http://www.openwall.com/lists/oss-security/2024/05/30/2",
                "refsource": "MISC",
                "name": "http://www.openwall.com/lists/oss-security/2024/05/30/2"
            },
            {
                "url": "http://www.openwall.com/lists/oss-security/2024/05/30/1",
                "refsource": "MISC",
                "name": "http://www.openwall.com/lists/oss-security/2024/05/30/1"
            }
        ]
    },
    "generator": {
        "engine": "bippy-a5840b7849dd"
    }
}