CVE-2021-47401 (GCVE-0-2021-47401)
Vulnerability from cvelistv5
Published
2024-05-21 15:03
Modified
2025-05-04 07:10
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: ipack: ipoctal: fix stack information leak The tty driver name is used also after registering the driver and must specifically not be allocated on the stack to avoid leaking information to user space (or triggering an oops). Drivers should not try to encode topology information in the tty device name but this one snuck in through staging without anyone noticing and another driver has since copied this malpractice. Fixing the ABI is a separate issue, but this at least plugs the security hole.
Impacted products
Vendor Product Version
Linux Linux Version: ba4dc61fe8c545a5d6a68b63616776556b771f51
Version: ba4dc61fe8c545a5d6a68b63616776556b771f51
Version: ba4dc61fe8c545a5d6a68b63616776556b771f51
Version: ba4dc61fe8c545a5d6a68b63616776556b771f51
Version: ba4dc61fe8c545a5d6a68b63616776556b771f51
Version: ba4dc61fe8c545a5d6a68b63616776556b771f51
Version: ba4dc61fe8c545a5d6a68b63616776556b771f51
Version: ba4dc61fe8c545a5d6a68b63616776556b771f51
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2021-47401",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-05-21T17:32:53.103904Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-06-04T17:15:10.169Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      },
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-04T05:39:59.319Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/acb96e782bad427ca4bb1bd94af660acd1462380"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/741ea2670e021350e54f491106bdaa22dc50e6a0"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/2725925982dc96a78069cd118ea3d66759bfdad7"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/829f13d6079cf7a2465522f39acb43033e9b320d"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/8657158a3b68c85234e6da3d8eae33d6183588b7"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/5f6a309a699675680df15d9b6d389114515b4426"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/0a9c36a2e06a249acbed64e8e0b84637c2ad7575"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/a89936cce87d60766a75732a9e7e25c51164f47c"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/ipack/devices/ipoctal.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "acb96e782bad427ca4bb1bd94af660acd1462380",
              "status": "affected",
              "version": "ba4dc61fe8c545a5d6a68b63616776556b771f51",
              "versionType": "git"
            },
            {
              "lessThan": "741ea2670e021350e54f491106bdaa22dc50e6a0",
              "status": "affected",
              "version": "ba4dc61fe8c545a5d6a68b63616776556b771f51",
              "versionType": "git"
            },
            {
              "lessThan": "2725925982dc96a78069cd118ea3d66759bfdad7",
              "status": "affected",
              "version": "ba4dc61fe8c545a5d6a68b63616776556b771f51",
              "versionType": "git"
            },
            {
              "lessThan": "829f13d6079cf7a2465522f39acb43033e9b320d",
              "status": "affected",
              "version": "ba4dc61fe8c545a5d6a68b63616776556b771f51",
              "versionType": "git"
            },
            {
              "lessThan": "8657158a3b68c85234e6da3d8eae33d6183588b7",
              "status": "affected",
              "version": "ba4dc61fe8c545a5d6a68b63616776556b771f51",
              "versionType": "git"
            },
            {
              "lessThan": "5f6a309a699675680df15d9b6d389114515b4426",
              "status": "affected",
              "version": "ba4dc61fe8c545a5d6a68b63616776556b771f51",
              "versionType": "git"
            },
            {
              "lessThan": "0a9c36a2e06a249acbed64e8e0b84637c2ad7575",
              "status": "affected",
              "version": "ba4dc61fe8c545a5d6a68b63616776556b771f51",
              "versionType": "git"
            },
            {
              "lessThan": "a89936cce87d60766a75732a9e7e25c51164f47c",
              "status": "affected",
              "version": "ba4dc61fe8c545a5d6a68b63616776556b771f51",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/ipack/devices/ipoctal.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.5"
            },
            {
              "lessThan": "3.5",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.4.*",
              "status": "unaffected",
              "version": "4.4.286",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.9.*",
              "status": "unaffected",
              "version": "4.9.285",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.249",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.209",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.151",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.71",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.14.*",
              "status": "unaffected",
              "version": "5.14.10",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "5.15",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.4.286",
                  "versionStartIncluding": "3.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.9.285",
                  "versionStartIncluding": "3.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.249",
                  "versionStartIncluding": "3.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.209",
                  "versionStartIncluding": "3.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.151",
                  "versionStartIncluding": "3.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.71",
                  "versionStartIncluding": "3.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.14.10",
                  "versionStartIncluding": "3.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15",
                  "versionStartIncluding": "3.5",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "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."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-05-04T07:10:12.360Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/acb96e782bad427ca4bb1bd94af660acd1462380"
        },
        {
          "url": "https://git.kernel.org/stable/c/741ea2670e021350e54f491106bdaa22dc50e6a0"
        },
        {
          "url": "https://git.kernel.org/stable/c/2725925982dc96a78069cd118ea3d66759bfdad7"
        },
        {
          "url": "https://git.kernel.org/stable/c/829f13d6079cf7a2465522f39acb43033e9b320d"
        },
        {
          "url": "https://git.kernel.org/stable/c/8657158a3b68c85234e6da3d8eae33d6183588b7"
        },
        {
          "url": "https://git.kernel.org/stable/c/5f6a309a699675680df15d9b6d389114515b4426"
        },
        {
          "url": "https://git.kernel.org/stable/c/0a9c36a2e06a249acbed64e8e0b84637c2ad7575"
        },
        {
          "url": "https://git.kernel.org/stable/c/a89936cce87d60766a75732a9e7e25c51164f47c"
        }
      ],
      "title": "ipack: ipoctal: fix stack information leak",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2021-47401",
    "datePublished": "2024-05-21T15:03:56.024Z",
    "dateReserved": "2024-05-21T14:58:30.816Z",
    "dateUpdated": "2025-05-04T07:10:12.360Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://git.kernel.org/stable/c/acb96e782bad427ca4bb1bd94af660acd1462380\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/741ea2670e021350e54f491106bdaa22dc50e6a0\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/2725925982dc96a78069cd118ea3d66759bfdad7\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/829f13d6079cf7a2465522f39acb43033e9b320d\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/8657158a3b68c85234e6da3d8eae33d6183588b7\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/5f6a309a699675680df15d9b6d389114515b4426\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/0a9c36a2e06a249acbed64e8e0b84637c2ad7575\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/a89936cce87d60766a75732a9e7e25c51164f47c\", \"tags\": [\"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-04T05:39:59.319Z\"}}, {\"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2021-47401\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-05-21T17:32:53.103904Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-05-23T19:01:25.293Z\"}, \"title\": \"CISA ADP Vulnrichment\"}], \"cna\": {\"title\": \"ipack: ipoctal: fix stack information leak\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"ba4dc61fe8c545a5d6a68b63616776556b771f51\", \"lessThan\": \"acb96e782bad427ca4bb1bd94af660acd1462380\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"ba4dc61fe8c545a5d6a68b63616776556b771f51\", \"lessThan\": \"741ea2670e021350e54f491106bdaa22dc50e6a0\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"ba4dc61fe8c545a5d6a68b63616776556b771f51\", \"lessThan\": \"2725925982dc96a78069cd118ea3d66759bfdad7\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"ba4dc61fe8c545a5d6a68b63616776556b771f51\", \"lessThan\": \"829f13d6079cf7a2465522f39acb43033e9b320d\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"ba4dc61fe8c545a5d6a68b63616776556b771f51\", \"lessThan\": \"8657158a3b68c85234e6da3d8eae33d6183588b7\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"ba4dc61fe8c545a5d6a68b63616776556b771f51\", \"lessThan\": \"5f6a309a699675680df15d9b6d389114515b4426\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"ba4dc61fe8c545a5d6a68b63616776556b771f51\", \"lessThan\": \"0a9c36a2e06a249acbed64e8e0b84637c2ad7575\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"ba4dc61fe8c545a5d6a68b63616776556b771f51\", \"lessThan\": \"a89936cce87d60766a75732a9e7e25c51164f47c\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/ipack/devices/ipoctal.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"3.5\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"3.5\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"4.4.286\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.4.*\"}, {\"status\": \"unaffected\", \"version\": \"4.9.285\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.9.*\"}, {\"status\": \"unaffected\", \"version\": \"4.14.249\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.14.*\"}, {\"status\": \"unaffected\", \"version\": \"4.19.209\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.19.*\"}, {\"status\": \"unaffected\", \"version\": \"5.4.151\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.4.*\"}, {\"status\": \"unaffected\", \"version\": \"5.10.71\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.14.10\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.14.*\"}, {\"status\": \"unaffected\", \"version\": \"5.15\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/ipack/devices/ipoctal.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/acb96e782bad427ca4bb1bd94af660acd1462380\"}, {\"url\": \"https://git.kernel.org/stable/c/741ea2670e021350e54f491106bdaa22dc50e6a0\"}, {\"url\": \"https://git.kernel.org/stable/c/2725925982dc96a78069cd118ea3d66759bfdad7\"}, {\"url\": \"https://git.kernel.org/stable/c/829f13d6079cf7a2465522f39acb43033e9b320d\"}, {\"url\": \"https://git.kernel.org/stable/c/8657158a3b68c85234e6da3d8eae33d6183588b7\"}, {\"url\": \"https://git.kernel.org/stable/c/5f6a309a699675680df15d9b6d389114515b4426\"}, {\"url\": \"https://git.kernel.org/stable/c/0a9c36a2e06a249acbed64e8e0b84637c2ad7575\"}, {\"url\": \"https://git.kernel.org/stable/c/a89936cce87d60766a75732a9e7e25c51164f47c\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"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.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"4.4.286\", \"versionStartIncluding\": \"3.5\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"4.9.285\", \"versionStartIncluding\": \"3.5\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"4.14.249\", \"versionStartIncluding\": \"3.5\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"4.19.209\", \"versionStartIncluding\": \"3.5\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.4.151\", \"versionStartIncluding\": \"3.5\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.10.71\", \"versionStartIncluding\": \"3.5\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.14.10\", \"versionStartIncluding\": \"3.5\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.15\", \"versionStartIncluding\": \"3.5\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2025-05-04T07:10:12.360Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2021-47401\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2025-05-04T07:10:12.360Z\", \"dateReserved\": \"2024-05-21T14:58:30.816Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-05-21T15:03:56.024Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…