fkie_cve-2021-47401
Vulnerability from fkie_nvd
Published
2024-05-21 15:15
Modified
2024-11-21 06:36
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.
References
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/0a9c36a2e06a249acbed64e8e0b84637c2ad7575
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/2725925982dc96a78069cd118ea3d66759bfdad7
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/5f6a309a699675680df15d9b6d389114515b4426
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/741ea2670e021350e54f491106bdaa22dc50e6a0
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/829f13d6079cf7a2465522f39acb43033e9b320d
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/8657158a3b68c85234e6da3d8eae33d6183588b7
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/a89936cce87d60766a75732a9e7e25c51164f47c
416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/acb96e782bad427ca4bb1bd94af660acd1462380
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/0a9c36a2e06a249acbed64e8e0b84637c2ad7575
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/2725925982dc96a78069cd118ea3d66759bfdad7
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/5f6a309a699675680df15d9b6d389114515b4426
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/741ea2670e021350e54f491106bdaa22dc50e6a0
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/829f13d6079cf7a2465522f39acb43033e9b320d
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/8657158a3b68c85234e6da3d8eae33d6183588b7
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/a89936cce87d60766a75732a9e7e25c51164f47c
af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/acb96e782bad427ca4bb1bd94af660acd1462380
Impacted products
Vendor Product Version



{
  "cveTags": [],
  "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."
    },
    {
      "lang": "es",
      "value": " En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ipack: ipoctal: corrige la fuga de informaci\u00f3n de la pila. El nombre del controlador tty tambi\u00e9n se usa despu\u00e9s de registrar el controlador y espec\u00edficamente no debe asignarse en la pila para evitar filtrar informaci\u00f3n al espacio del usuario (o activar un ups). Los controladores no deber\u00edan intentar codificar informaci\u00f3n de topolog\u00eda en el nombre del dispositivo tty, pero este se col\u00f3 durante la preparaci\u00f3n sin que nadie se diera cuenta y desde entonces otro controlador copi\u00f3 esta mala pr\u00e1ctica. Arreglar la ABI es un tema aparte, pero esto al menos tapa el agujero de seguridad."
    }
  ],
  "id": "CVE-2021-47401",
  "lastModified": "2024-11-21T06:36:04.170",
  "metrics": {},
  "published": "2024-05-21T15:15:25.563",
  "references": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/0a9c36a2e06a249acbed64e8e0b84637c2ad7575"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/2725925982dc96a78069cd118ea3d66759bfdad7"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/5f6a309a699675680df15d9b6d389114515b4426"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/741ea2670e021350e54f491106bdaa22dc50e6a0"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/829f13d6079cf7a2465522f39acb43033e9b320d"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/8657158a3b68c85234e6da3d8eae33d6183588b7"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/a89936cce87d60766a75732a9e7e25c51164f47c"
    },
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "url": "https://git.kernel.org/stable/c/acb96e782bad427ca4bb1bd94af660acd1462380"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://git.kernel.org/stable/c/0a9c36a2e06a249acbed64e8e0b84637c2ad7575"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://git.kernel.org/stable/c/2725925982dc96a78069cd118ea3d66759bfdad7"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://git.kernel.org/stable/c/5f6a309a699675680df15d9b6d389114515b4426"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://git.kernel.org/stable/c/741ea2670e021350e54f491106bdaa22dc50e6a0"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://git.kernel.org/stable/c/829f13d6079cf7a2465522f39acb43033e9b320d"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://git.kernel.org/stable/c/8657158a3b68c85234e6da3d8eae33d6183588b7"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://git.kernel.org/stable/c/a89936cce87d60766a75732a9e7e25c51164f47c"
    },
    {
      "source": "af854a3a-2127-422b-91ae-364da2661108",
      "url": "https://git.kernel.org/stable/c/acb96e782bad427ca4bb1bd94af660acd1462380"
    }
  ],
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "vulnStatus": "Awaiting Analysis"
}


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.
  • 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…