{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2021-46905",
        "ASSIGNER": "cve@kernel.org",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: hso: fix NULL-deref on disconnect regression\n\nCommit 8a12f8836145 (\"net: hso: fix null-ptr-deref during tty device\nunregistration\") fixed the racy minor allocation reported by syzbot, but\nintroduced an unconditional NULL-pointer dereference on every disconnect\ninstead.\n\nSpecifically, the serial device table must no longer be accessed after\nthe minor has been released by hso_serial_tty_unregister()."
            }
        ]
    },
    "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": "a462067d7c8e",
                                            "version_value": "5871761c5f0f"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "145c89c441d2",
                                            "version_value": "0c71d4c89559"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "caf5ac93b3b5",
                                            "version_value": "24b699bea755"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "92028d7a31e5",
                                            "version_value": "5c17cfe155d2"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "4a2933c88399",
                                            "version_value": "d7fad2ce15bd"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "dc195928d7e4",
                                            "version_value": "90642ee9eb58"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "388d05f70f1e",
                                            "version_value": "0f000005da31"
                                        },
                                        {
                                            "version_affected": "<",
                                            "version_name": "8a12f8836145",
                                            "version_value": "41c44e1f3112"
                                        },
                                        {
                                            "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.19.189",
                                                        "lessThanOrEqual": "4.19.*",
                                                        "status": "unaffected",
                                                        "versionType": "custom"
                                                    },
                                                    {
                                                        "version": "5.4.115",
                                                        "lessThanOrEqual": "5.4.*",
                                                        "status": "unaffected",
                                                        "versionType": "custom"
                                                    },
                                                    {
                                                        "version": "5.10.33",
                                                        "lessThanOrEqual": "5.10.*",
                                                        "status": "unaffected",
                                                        "versionType": "custom"
                                                    },
                                                    {
                                                        "version": "5.11.17",
                                                        "lessThanOrEqual": "5.11.*",
                                                        "status": "unaffected",
                                                        "versionType": "custom"
                                                    },
                                                    {
                                                        "version": "5.12.1",
                                                        "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/5871761c5f0f20d6e98bf3b6bd7486d857589554",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/5871761c5f0f20d6e98bf3b6bd7486d857589554"
            },
            {
                "url": "https://git.kernel.org/stable/c/0c71d4c89559f72cec2592d078681a843bce570e",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/0c71d4c89559f72cec2592d078681a843bce570e"
            },
            {
                "url": "https://git.kernel.org/stable/c/24b699bea7553fc0b98dad9d864befb6005ac7f1",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/24b699bea7553fc0b98dad9d864befb6005ac7f1"
            },
            {
                "url": "https://git.kernel.org/stable/c/5c17cfe155d21954b4c7e2a78fa771cebcd86725",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/5c17cfe155d21954b4c7e2a78fa771cebcd86725"
            },
            {
                "url": "https://git.kernel.org/stable/c/d7fad2ce15bdbbd0fec3ebe999fd7cab2267f53e",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/d7fad2ce15bdbbd0fec3ebe999fd7cab2267f53e"
            },
            {
                "url": "https://git.kernel.org/stable/c/90642ee9eb581a13569b1c0bd57e85d962215273",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/90642ee9eb581a13569b1c0bd57e85d962215273"
            },
            {
                "url": "https://git.kernel.org/stable/c/0f000005da31f6947f843ce6b3e3a960540c6e00",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/0f000005da31f6947f843ce6b3e3a960540c6e00"
            },
            {
                "url": "https://git.kernel.org/stable/c/41c44e1f3112d7265dae522c026399b2a42d19ef",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/41c44e1f3112d7265dae522c026399b2a42d19ef"
            },
            {
                "url": "https://git.kernel.org/stable/c/2ad5692db72874f02b9ad551d26345437ea4f7f3",
                "refsource": "MISC",
                "name": "https://git.kernel.org/stable/c/2ad5692db72874f02b9ad551d26345437ea4f7f3"
            }
        ]
    },
    "generator": {
        "engine": "bippy-d175d3acf727"
    }
}