CVE-2022-49399 (GCVE-0-2022-49399)
Vulnerability from cvelistv5
Published
2025-02-26 02:12
Modified
2025-05-04 08:36
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: tty: goldfish: Use tty_port_destroy() to destroy port In goldfish_tty_probe(), the port initialized through tty_port_init() should be destroyed in error paths.In goldfish_tty_remove(), qtty->port also should be destroyed or else might leak resources. Fix the above by calling tty_port_destroy().
Impacted products
Vendor Product Version
Linux Linux Version: 666b7793d4bfa9f150b5c2007ab48c755ddc53ca
Version: 666b7793d4bfa9f150b5c2007ab48c755ddc53ca
Version: 666b7793d4bfa9f150b5c2007ab48c755ddc53ca
Version: 666b7793d4bfa9f150b5c2007ab48c755ddc53ca
Version: 666b7793d4bfa9f150b5c2007ab48c755ddc53ca
Version: 666b7793d4bfa9f150b5c2007ab48c755ddc53ca
Version: 666b7793d4bfa9f150b5c2007ab48c755ddc53ca
Version: 666b7793d4bfa9f150b5c2007ab48c755ddc53ca
Create a notification for this product.
   Linux Linux Version: 3.9
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/tty/goldfish.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "241fcb79dd1df276d80b19f5f6acc9eaaaa63309",
              "status": "affected",
              "version": "666b7793d4bfa9f150b5c2007ab48c755ddc53ca",
              "versionType": "git"
            },
            {
              "lessThan": "326192b99c903a2193d820c30ed936cc2402382c",
              "status": "affected",
              "version": "666b7793d4bfa9f150b5c2007ab48c755ddc53ca",
              "versionType": "git"
            },
            {
              "lessThan": "9ae3d073f7db5578ae1907544f0c15947e9678e6",
              "status": "affected",
              "version": "666b7793d4bfa9f150b5c2007ab48c755ddc53ca",
              "versionType": "git"
            },
            {
              "lessThan": "ee6c33b29e624f515202a31bf6ef0437f26a1867",
              "status": "affected",
              "version": "666b7793d4bfa9f150b5c2007ab48c755ddc53ca",
              "versionType": "git"
            },
            {
              "lessThan": "da64f419d7f78272bfe40dde1262602d4ff6b32c",
              "status": "affected",
              "version": "666b7793d4bfa9f150b5c2007ab48c755ddc53ca",
              "versionType": "git"
            },
            {
              "lessThan": "45f6ce70abfb7ccf9d787781cbc4c03294a775a1",
              "status": "affected",
              "version": "666b7793d4bfa9f150b5c2007ab48c755ddc53ca",
              "versionType": "git"
            },
            {
              "lessThan": "4639d1b992de8f37d66f698056875c274efcd45f",
              "status": "affected",
              "version": "666b7793d4bfa9f150b5c2007ab48c755ddc53ca",
              "versionType": "git"
            },
            {
              "lessThan": "507b05063d1b7a1fcb9f7d7c47586fc4f3508f98",
              "status": "affected",
              "version": "666b7793d4bfa9f150b5c2007ab48c755ddc53ca",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/tty/goldfish.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.9"
            },
            {
              "lessThan": "3.9",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.283",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.247",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.198",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.122",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.47",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.17.*",
              "status": "unaffected",
              "version": "5.17.15",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.18.*",
              "status": "unaffected",
              "version": "5.18.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "5.19",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.283",
                  "versionStartIncluding": "3.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.247",
                  "versionStartIncluding": "3.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.198",
                  "versionStartIncluding": "3.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.122",
                  "versionStartIncluding": "3.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.47",
                  "versionStartIncluding": "3.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.17.15",
                  "versionStartIncluding": "3.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.18.4",
                  "versionStartIncluding": "3.9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.19",
                  "versionStartIncluding": "3.9",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ntty: goldfish: Use tty_port_destroy() to destroy port\n\nIn goldfish_tty_probe(), the port initialized through tty_port_init()\nshould be destroyed in error paths.In goldfish_tty_remove(), qtty-\u003eport\nalso should be destroyed or else might leak resources.\n\nFix the above by calling tty_port_destroy()."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-05-04T08:36:51.387Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/241fcb79dd1df276d80b19f5f6acc9eaaaa63309"
        },
        {
          "url": "https://git.kernel.org/stable/c/326192b99c903a2193d820c30ed936cc2402382c"
        },
        {
          "url": "https://git.kernel.org/stable/c/9ae3d073f7db5578ae1907544f0c15947e9678e6"
        },
        {
          "url": "https://git.kernel.org/stable/c/ee6c33b29e624f515202a31bf6ef0437f26a1867"
        },
        {
          "url": "https://git.kernel.org/stable/c/da64f419d7f78272bfe40dde1262602d4ff6b32c"
        },
        {
          "url": "https://git.kernel.org/stable/c/45f6ce70abfb7ccf9d787781cbc4c03294a775a1"
        },
        {
          "url": "https://git.kernel.org/stable/c/4639d1b992de8f37d66f698056875c274efcd45f"
        },
        {
          "url": "https://git.kernel.org/stable/c/507b05063d1b7a1fcb9f7d7c47586fc4f3508f98"
        }
      ],
      "title": "tty: goldfish: Use tty_port_destroy() to destroy port",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-49399",
    "datePublished": "2025-02-26T02:12:27.650Z",
    "dateReserved": "2025-02-26T02:08:31.563Z",
    "dateUpdated": "2025-05-04T08:36:51.387Z",
    "state": "PUBLISHED"
  },
  "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.
  • 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…