CVE-2022-50312 (GCVE-0-2022-50312)

Vulnerability from cvelistv5 – Published: 2025-09-15 14:46 – Updated: 2025-09-15 14:46
VLAI?
Title
drivers: serial: jsm: fix some leaks in probe
Summary
In the Linux kernel, the following vulnerability has been resolved: drivers: serial: jsm: fix some leaks in probe This error path needs to unwind instead of just returning directly.
Severity ?
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 03a8482c17dd0ae3251451d54cbbc03f930f21d5 , < ff9a5e50fb1910be33e62925bc7ee3bef474879e (git)
Affected: 03a8482c17dd0ae3251451d54cbbc03f930f21d5 , < 3bf05c2650cf6b8d83bf0b0d808cc78c6ee7e84c (git)
Affected: 03a8482c17dd0ae3251451d54cbbc03f930f21d5 , < 6066bd69ffba3a6abc7c0793ccba1da79b7d77e3 (git)
Affected: 03a8482c17dd0ae3251451d54cbbc03f930f21d5 , < 744c2d33a88b082d9d504520f0132b3d688547b2 (git)
Affected: 03a8482c17dd0ae3251451d54cbbc03f930f21d5 , < 71ffe5111f0ffa2fd43c14fd176c6f05d4e82212 (git)
Affected: 03a8482c17dd0ae3251451d54cbbc03f930f21d5 , < 6be8e565a4a60530797a974d0a3d0e30656166a1 (git)
Affected: 03a8482c17dd0ae3251451d54cbbc03f930f21d5 , < 737594536dc3ce732976c0d84bb1dcc842065521 (git)
Affected: 03a8482c17dd0ae3251451d54cbbc03f930f21d5 , < 3ea1fd63fdf0e83b491c2a9f25b395aa0e4bf6e8 (git)
Affected: 03a8482c17dd0ae3251451d54cbbc03f930f21d5 , < 1d5859ef229e381f4db38dce8ed58e4bf862006b (git)
Create a notification for this product.
    Linux Linux Affected: 3.19
Unaffected: 0 , < 3.19 (semver)
Unaffected: 4.9.331 , ≤ 4.9.* (semver)
Unaffected: 4.14.296 , ≤ 4.14.* (semver)
Unaffected: 4.19.262 , ≤ 4.19.* (semver)
Unaffected: 5.4.220 , ≤ 5.4.* (semver)
Unaffected: 5.10.150 , ≤ 5.10.* (semver)
Unaffected: 5.15.75 , ≤ 5.15.* (semver)
Unaffected: 5.19.17 , ≤ 5.19.* (semver)
Unaffected: 6.0.3 , ≤ 6.0.* (semver)
Unaffected: 6.1 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/tty/serial/jsm/jsm_driver.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "ff9a5e50fb1910be33e62925bc7ee3bef474879e",
              "status": "affected",
              "version": "03a8482c17dd0ae3251451d54cbbc03f930f21d5",
              "versionType": "git"
            },
            {
              "lessThan": "3bf05c2650cf6b8d83bf0b0d808cc78c6ee7e84c",
              "status": "affected",
              "version": "03a8482c17dd0ae3251451d54cbbc03f930f21d5",
              "versionType": "git"
            },
            {
              "lessThan": "6066bd69ffba3a6abc7c0793ccba1da79b7d77e3",
              "status": "affected",
              "version": "03a8482c17dd0ae3251451d54cbbc03f930f21d5",
              "versionType": "git"
            },
            {
              "lessThan": "744c2d33a88b082d9d504520f0132b3d688547b2",
              "status": "affected",
              "version": "03a8482c17dd0ae3251451d54cbbc03f930f21d5",
              "versionType": "git"
            },
            {
              "lessThan": "71ffe5111f0ffa2fd43c14fd176c6f05d4e82212",
              "status": "affected",
              "version": "03a8482c17dd0ae3251451d54cbbc03f930f21d5",
              "versionType": "git"
            },
            {
              "lessThan": "6be8e565a4a60530797a974d0a3d0e30656166a1",
              "status": "affected",
              "version": "03a8482c17dd0ae3251451d54cbbc03f930f21d5",
              "versionType": "git"
            },
            {
              "lessThan": "737594536dc3ce732976c0d84bb1dcc842065521",
              "status": "affected",
              "version": "03a8482c17dd0ae3251451d54cbbc03f930f21d5",
              "versionType": "git"
            },
            {
              "lessThan": "3ea1fd63fdf0e83b491c2a9f25b395aa0e4bf6e8",
              "status": "affected",
              "version": "03a8482c17dd0ae3251451d54cbbc03f930f21d5",
              "versionType": "git"
            },
            {
              "lessThan": "1d5859ef229e381f4db38dce8ed58e4bf862006b",
              "status": "affected",
              "version": "03a8482c17dd0ae3251451d54cbbc03f930f21d5",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/tty/serial/jsm/jsm_driver.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.19"
            },
            {
              "lessThan": "3.19",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.9.*",
              "status": "unaffected",
              "version": "4.9.331",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.296",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.262",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.220",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.150",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.75",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.19.*",
              "status": "unaffected",
              "version": "5.19.17",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.0.*",
              "status": "unaffected",
              "version": "6.0.3",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.9.331",
                  "versionStartIncluding": "3.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.296",
                  "versionStartIncluding": "3.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.262",
                  "versionStartIncluding": "3.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.220",
                  "versionStartIncluding": "3.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.150",
                  "versionStartIncluding": "3.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.75",
                  "versionStartIncluding": "3.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.19.17",
                  "versionStartIncluding": "3.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.0.3",
                  "versionStartIncluding": "3.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1",
                  "versionStartIncluding": "3.19",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrivers: serial: jsm: fix some leaks in probe\n\nThis error path needs to unwind instead of just returning directly."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-09-15T14:46:07.399Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/ff9a5e50fb1910be33e62925bc7ee3bef474879e"
        },
        {
          "url": "https://git.kernel.org/stable/c/3bf05c2650cf6b8d83bf0b0d808cc78c6ee7e84c"
        },
        {
          "url": "https://git.kernel.org/stable/c/6066bd69ffba3a6abc7c0793ccba1da79b7d77e3"
        },
        {
          "url": "https://git.kernel.org/stable/c/744c2d33a88b082d9d504520f0132b3d688547b2"
        },
        {
          "url": "https://git.kernel.org/stable/c/71ffe5111f0ffa2fd43c14fd176c6f05d4e82212"
        },
        {
          "url": "https://git.kernel.org/stable/c/6be8e565a4a60530797a974d0a3d0e30656166a1"
        },
        {
          "url": "https://git.kernel.org/stable/c/737594536dc3ce732976c0d84bb1dcc842065521"
        },
        {
          "url": "https://git.kernel.org/stable/c/3ea1fd63fdf0e83b491c2a9f25b395aa0e4bf6e8"
        },
        {
          "url": "https://git.kernel.org/stable/c/1d5859ef229e381f4db38dce8ed58e4bf862006b"
        }
      ],
      "title": "drivers: serial: jsm: fix some leaks in probe",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-50312",
    "datePublished": "2025-09-15T14:46:07.399Z",
    "dateReserved": "2025-09-15T14:18:36.813Z",
    "dateUpdated": "2025-09-15T14:46:07.399Z",
    "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 observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…