{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2021-46985",
        "ASSIGNER": "cve@kernel.org",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nACPI: scan: Fix a memory leak in an error handling path\n\nIf 'acpi_device_set_name()' fails, we must free\n'acpi_device_bus_id->bus_id' or there is a (potential) memory leak."
            }
        ]
    },
    "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": "e5cdbe419004",
                                            "version_value": "6901a4f795e0"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "717d9d88fbd9",
                                            "version_value": "5ab9857dde7c"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "7385e438e1f3",
                                            "version_value": "69cc821e89ce"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "bc0b1a2036dd",
                                            "version_value": "dafd4c0b5e83"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "4a5891992c68",
                                            "version_value": "e2381174daea"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "321dbe6c0b55",
                                            "version_value": "c5c8f6ffc942"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "eb50aaf960e3",
                                            "version_value": "a7e17a8d421a"
                                        },
                                        {
                                            "version_value": "not down converted",
                                            "x_cve_json_5_version_data": {
                                                "versions": [
                                                    {
                                                        "version": "5.12",
                                                        "status": "affected"
                                                    },
                                                    {
                                                        "version": "0",
                                                        "lessThan": "5.12",
                                                        "status": "unaffected",
                                                        "versionType": "custom"
                                                    },
                                                    {
                                                        "version": "4.9.269",
                                                        "lessThanOrEqual": "4.9.*",
                                                        "status": "unaffected",
                                                        "versionType": "custom"
                                                    },
                                                    {
                                                        "version": "4.14.233",
                                                        "lessThanOrEqual": "4.14.*",
                                                        "status": "unaffected",
                                                        "versionType": "custom"
                                                    },
                                                    {
                                                        "version": "4.19.191",
                                                        "lessThanOrEqual": "4.19.*",
                                                        "status": "unaffected",
                                                        "versionType": "custom"
                                                    },
                                                    {
                                                        "version": "5.4.120",
                                                        "lessThanOrEqual": "5.4.*",
                                                        "status": "unaffected",
                                                        "versionType": "custom"
                                                    },
                                                    {
                                                        "version": "5.10.38",
                                                        "lessThanOrEqual": "5.10.*",
                                                        "status": "unaffected",
                                                        "versionType": "custom"
                                                    },
                                                    {
                                                        "version": "5.11.22",
                                                        "lessThanOrEqual": "5.11.*",
                                                        "status": "unaffected",
                                                        "versionType": "custom"
                                                    },
                                                    {
                                                        "version": "5.12.5",
                                                        "lessThanOrEqual": "5.12.*",
                                                        "status": "unaffected",
                                                        "versionType": "custom"
                                                    },
                                                    {
                                                        "version": "5.13",
                                                        "lessThanOrEqual": "*",
                                                        "status": "unaffected",
                                                        "versionType": "original_commit_for_fix"
                                                    }
                                                ],
                                                "defaultStatus": "affected"
                                            }
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://git.kernel.org/stable/c/6901a4f795e0e8d65ae779cb37fc22e0bf294712",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/6901a4f795e0e8d65ae779cb37fc22e0bf294712"
            },
            {
                "url": "https://git.kernel.org/stable/c/5ab9857dde7c3ea3faef6b128d718cf8ba98721b",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/5ab9857dde7c3ea3faef6b128d718cf8ba98721b"
            },
            {
                "url": "https://git.kernel.org/stable/c/69cc821e89ce572884548ac54c4f80eec7a837a5",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/69cc821e89ce572884548ac54c4f80eec7a837a5"
            },
            {
                "url": "https://git.kernel.org/stable/c/dafd4c0b5e835db020cff11c74b4af9493a58e72",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/dafd4c0b5e835db020cff11c74b4af9493a58e72"
            },
            {
                "url": "https://git.kernel.org/stable/c/e2381174daeae0ca35eddffef02dcc8de8c1ef8a",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/e2381174daeae0ca35eddffef02dcc8de8c1ef8a"
            },
            {
                "url": "https://git.kernel.org/stable/c/c5c8f6ffc942cf42f990f22e35bcf4cbe9d8c2fb",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/c5c8f6ffc942cf42f990f22e35bcf4cbe9d8c2fb"
            },
            {
                "url": "https://git.kernel.org/stable/c/a7e17a8d421ae23c920240625b4413c7b94d94a4",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/a7e17a8d421ae23c920240625b4413c7b94d94a4"
            },
            {
                "url": "https://git.kernel.org/stable/c/0c8bd174f0fc131bc9dfab35cd8784f59045da87",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/0c8bd174f0fc131bc9dfab35cd8784f59045da87"
            }
        ]
    },
    "generator": {
        "engine": "bippy-a5840b7849dd"
    }
}