{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2021-46904",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2021-46904",
    "idYear": 2021,
    "status": "PUBLISHED",
    "publishedAt": "2024-02-25T14:03:40.319Z",
    "updatedAt": "2026-05-11T13:44:09.016Z",
    "importedAt": "2026-10-24T01:56:36.661Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "net: hso: fix null-ptr-deref during tty device unregistration",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: hso: fix null-ptr-deref during tty device unregistration\n\nMultiple ttys try to claim the same the minor number causing a double\nunregistration of the same device. The first unregistration succeeds\nbut the next one results in a null-ptr-deref.\n\nThe get_free_serial_index() function returns an available minor number\nbut doesn't assign it immediately. The assignment is done by the caller\nlater. But before this assignment, calls to get_free_serial_index()\nwould return the same minor number.\n\nFix this by modifying get_free_serial_index to assign the minor number\nimmediately after one is found to be and rename it to obtain_minor()\nto better reflect what it does. Similary, rename set_serial_by_index()\nto release_minor() and modify it to free up the minor number of the\ngiven hso_serial. Every obtain_minor() should have corresponding\nrelease_minor() call.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "72dc1c096c7051a48ab1dbb12f71976656b55eb5",
              "status": "affected",
              "versionType": "git",
              "lessThan": "a462067d7c8e6953a733bf5ade8db947b1bb5449"
            },
            {
              "version": "72dc1c096c7051a48ab1dbb12f71976656b55eb5",
              "status": "affected",
              "versionType": "git",
              "lessThan": "145c89c441d27696961752bf51b323f347601bee"
            },
            {
              "version": "72dc1c096c7051a48ab1dbb12f71976656b55eb5",
              "status": "affected",
              "versionType": "git",
              "lessThan": "caf5ac93b3b5d5fac032fc11fbea680e115421b4"
            },
            {
              "version": "72dc1c096c7051a48ab1dbb12f71976656b55eb5",
              "status": "affected",
              "versionType": "git",
              "lessThan": "92028d7a31e55d53e41cff679156b9432cffcb36"
            },
            {
              "version": "72dc1c096c7051a48ab1dbb12f71976656b55eb5",
              "status": "affected",
              "versionType": "git",
              "lessThan": "4a2933c88399c0ebc738db39bbce3ae89786d723"
            },
            {
              "version": "72dc1c096c7051a48ab1dbb12f71976656b55eb5",
              "status": "affected",
              "versionType": "git",
              "lessThan": "dc195928d7e4ec7b5cfc6cd10dc4c8d87a7c72ac"
            },
            {
              "version": "72dc1c096c7051a48ab1dbb12f71976656b55eb5",
              "status": "affected",
              "versionType": "git",
              "lessThan": "388d05f70f1ee0cac4a2068fd295072f1a44152a"
            },
            {
              "version": "72dc1c096c7051a48ab1dbb12f71976656b55eb5",
              "status": "affected",
              "versionType": "git",
              "lessThan": "8a12f8836145ffe37e9c8733dce18c22fb668b66"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "2.6.27",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "2.6.27"
            },
            {
              "version": "4.4.268",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.4.*"
            },
            {
              "version": "4.9.268",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.9.*"
            },
            {
              "version": "4.14.232",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.14.*"
            },
            {
              "version": "4.19.187",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.19.*"
            },
            {
              "version": "5.4.112",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.30",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.11.14",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.11.*"
            },
            {
              "version": "5.12",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}