{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2021-47401",
        "ASSIGNER": "cve@kernel.org",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nipack: ipoctal: fix stack information leak\n\nThe tty driver name is used also after registering the driver and must\nspecifically not be allocated on the stack to avoid leaking information\nto user space (or triggering an oops).\n\nDrivers should not try to encode topology information in the tty device\nname but this one snuck in through staging without anyone noticing and\nanother driver has since copied this malpractice.\n\nFixing the ABI is a separate issue, but this at least plugs the security\nhole."
            }
        ]
    },
    "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": "ba4dc61fe8c5",
                                            "version_value": "acb96e782bad"
                                        },
                                        {
                                            "version_value": "not down converted",
                                            "x_cve_json_5_version_data": {
                                                "versions": [
                                                    {
                                                        "version": "3.5",
                                                        "status": "affected"
                                                    },
                                                    {
                                                        "version": "0",
                                                        "lessThan": "3.5",
                                                        "status": "unaffected",
                                                        "versionType": "custom"
                                                    },
                                                    {
                                                        "version": "4.4.286",
                                                        "lessThanOrEqual": "4.4.*",
                                                        "status": "unaffected",
                                                        "versionType": "custom"
                                                    },
                                                    {
                                                        "version": "4.9.285",
                                                        "lessThanOrEqual": "4.9.*",
                                                        "status": "unaffected",
                                                        "versionType": "custom"
                                                    },
                                                    {
                                                        "version": "4.14.249",
                                                        "lessThanOrEqual": "4.14.*",
                                                        "status": "unaffected",
                                                        "versionType": "custom"
                                                    },
                                                    {
                                                        "version": "4.19.209",
                                                        "lessThanOrEqual": "4.19.*",
                                                        "status": "unaffected",
                                                        "versionType": "custom"
                                                    },
                                                    {
                                                        "version": "5.4.151",
                                                        "lessThanOrEqual": "5.4.*",
                                                        "status": "unaffected",
                                                        "versionType": "custom"
                                                    },
                                                    {
                                                        "version": "5.10.71",
                                                        "lessThanOrEqual": "5.10.*",
                                                        "status": "unaffected",
                                                        "versionType": "custom"
                                                    },
                                                    {
                                                        "version": "5.14.10",
                                                        "lessThanOrEqual": "5.14.*",
                                                        "status": "unaffected",
                                                        "versionType": "custom"
                                                    },
                                                    {
                                                        "version": "5.15",
                                                        "lessThanOrEqual": "*",
                                                        "status": "unaffected",
                                                        "versionType": "original_commit_for_fix"
                                                    }
                                                ],
                                                "defaultStatus": "affected"
                                            }
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://git.kernel.org/stable/c/acb96e782bad427ca4bb1bd94af660acd1462380",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/acb96e782bad427ca4bb1bd94af660acd1462380"
            },
            {
                "url": "https://git.kernel.org/stable/c/741ea2670e021350e54f491106bdaa22dc50e6a0",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/741ea2670e021350e54f491106bdaa22dc50e6a0"
            },
            {
                "url": "https://git.kernel.org/stable/c/2725925982dc96a78069cd118ea3d66759bfdad7",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/2725925982dc96a78069cd118ea3d66759bfdad7"
            },
            {
                "url": "https://git.kernel.org/stable/c/829f13d6079cf7a2465522f39acb43033e9b320d",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/829f13d6079cf7a2465522f39acb43033e9b320d"
            },
            {
                "url": "https://git.kernel.org/stable/c/8657158a3b68c85234e6da3d8eae33d6183588b7",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/8657158a3b68c85234e6da3d8eae33d6183588b7"
            },
            {
                "url": "https://git.kernel.org/stable/c/5f6a309a699675680df15d9b6d389114515b4426",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/5f6a309a699675680df15d9b6d389114515b4426"
            },
            {
                "url": "https://git.kernel.org/stable/c/0a9c36a2e06a249acbed64e8e0b84637c2ad7575",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/0a9c36a2e06a249acbed64e8e0b84637c2ad7575"
            },
            {
                "url": "https://git.kernel.org/stable/c/a89936cce87d60766a75732a9e7e25c51164f47c",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/a89936cce87d60766a75732a9e7e25c51164f47c"
            }
        ]
    },
    "generator": {
        "engine": "bippy-a5840b7849dd"
    }
}