CVE-2022-49191 (GCVE-0-2022-49191)
Vulnerability from cvelistv5
Published
2025-02-26 01:55
Modified
2025-05-04 08:31
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: mxser: fix xmit_buf leak in activate when LSR == 0xff When LSR is 0xff in ->activate() (rather unlike), we return an error. Provided ->shutdown() is not called when ->activate() fails, nothing actually frees the buffer in this case. Fix this by properly freeing the buffer in a designated label. We jump there also from the "!info->type" if now too.
Impacted products
Vendor Product Version
Linux Linux Version: 6769140d304731f0a3b177470a2adb4bacd9036b
Version: 6769140d304731f0a3b177470a2adb4bacd9036b
Version: 6769140d304731f0a3b177470a2adb4bacd9036b
Version: 6769140d304731f0a3b177470a2adb4bacd9036b
Version: 6769140d304731f0a3b177470a2adb4bacd9036b
Version: 6769140d304731f0a3b177470a2adb4bacd9036b
Version: 6769140d304731f0a3b177470a2adb4bacd9036b
Version: 6769140d304731f0a3b177470a2adb4bacd9036b
Version: 6769140d304731f0a3b177470a2adb4bacd9036b
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/tty/mxser.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "376922045009f8ea2d20a8fa3475e95b47c41690",
              "status": "affected",
              "version": "6769140d304731f0a3b177470a2adb4bacd9036b",
              "versionType": "git"
            },
            {
              "lessThan": "125b7c929fc9b1e5eaa344bceb6367dfa6fd3f9d",
              "status": "affected",
              "version": "6769140d304731f0a3b177470a2adb4bacd9036b",
              "versionType": "git"
            },
            {
              "lessThan": "685b6d16bf89595310b5d61394c9b97cc9505c7c",
              "status": "affected",
              "version": "6769140d304731f0a3b177470a2adb4bacd9036b",
              "versionType": "git"
            },
            {
              "lessThan": "996291d06851a26678a0fab488b6e1f0677c0576",
              "status": "affected",
              "version": "6769140d304731f0a3b177470a2adb4bacd9036b",
              "versionType": "git"
            },
            {
              "lessThan": "2cd05c38a27bee7fb42aa4d43174d68ac55dac0f",
              "status": "affected",
              "version": "6769140d304731f0a3b177470a2adb4bacd9036b",
              "versionType": "git"
            },
            {
              "lessThan": "b125b08dbee3611f03f53b71471813ed4ccafcdd",
              "status": "affected",
              "version": "6769140d304731f0a3b177470a2adb4bacd9036b",
              "versionType": "git"
            },
            {
              "lessThan": "6c9041b2f90c0eace73106f22350e1d2c98f5edc",
              "status": "affected",
              "version": "6769140d304731f0a3b177470a2adb4bacd9036b",
              "versionType": "git"
            },
            {
              "lessThan": "6dffc2035fbaada60ca8db59e0962e34f760370a",
              "status": "affected",
              "version": "6769140d304731f0a3b177470a2adb4bacd9036b",
              "versionType": "git"
            },
            {
              "lessThan": "cd3a4907ee334b40d7aa880c7ab310b154fd5cd4",
              "status": "affected",
              "version": "6769140d304731f0a3b177470a2adb4bacd9036b",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/tty/mxser.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "2.6.33"
            },
            {
              "lessThan": "2.6.33",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.9.*",
              "status": "unaffected",
              "version": "4.9.311",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.14.*",
              "status": "unaffected",
              "version": "4.14.276",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "4.19.*",
              "status": "unaffected",
              "version": "4.19.238",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.4.*",
              "status": "unaffected",
              "version": "5.4.189",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.110",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.33",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.16.*",
              "status": "unaffected",
              "version": "5.16.19",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.17.*",
              "status": "unaffected",
              "version": "5.17.2",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "5.18",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.9.311",
                  "versionStartIncluding": "2.6.33",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.14.276",
                  "versionStartIncluding": "2.6.33",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "4.19.238",
                  "versionStartIncluding": "2.6.33",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.4.189",
                  "versionStartIncluding": "2.6.33",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.110",
                  "versionStartIncluding": "2.6.33",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.33",
                  "versionStartIncluding": "2.6.33",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.16.19",
                  "versionStartIncluding": "2.6.33",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.17.2",
                  "versionStartIncluding": "2.6.33",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.18",
                  "versionStartIncluding": "2.6.33",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nmxser: fix xmit_buf leak in activate when LSR == 0xff\n\nWhen LSR is 0xff in -\u003eactivate() (rather unlike), we return an error.\nProvided -\u003eshutdown() is not called when -\u003eactivate() fails, nothing\nactually frees the buffer in this case.\n\nFix this by properly freeing the buffer in a designated label. We jump\nthere also from the \"!info-\u003etype\" if now too."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-05-04T08:31:56.809Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/376922045009f8ea2d20a8fa3475e95b47c41690"
        },
        {
          "url": "https://git.kernel.org/stable/c/125b7c929fc9b1e5eaa344bceb6367dfa6fd3f9d"
        },
        {
          "url": "https://git.kernel.org/stable/c/685b6d16bf89595310b5d61394c9b97cc9505c7c"
        },
        {
          "url": "https://git.kernel.org/stable/c/996291d06851a26678a0fab488b6e1f0677c0576"
        },
        {
          "url": "https://git.kernel.org/stable/c/2cd05c38a27bee7fb42aa4d43174d68ac55dac0f"
        },
        {
          "url": "https://git.kernel.org/stable/c/b125b08dbee3611f03f53b71471813ed4ccafcdd"
        },
        {
          "url": "https://git.kernel.org/stable/c/6c9041b2f90c0eace73106f22350e1d2c98f5edc"
        },
        {
          "url": "https://git.kernel.org/stable/c/6dffc2035fbaada60ca8db59e0962e34f760370a"
        },
        {
          "url": "https://git.kernel.org/stable/c/cd3a4907ee334b40d7aa880c7ab310b154fd5cd4"
        }
      ],
      "title": "mxser: fix xmit_buf leak in activate when LSR == 0xff",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2022-49191",
    "datePublished": "2025-02-26T01:55:38.124Z",
    "dateReserved": "2025-02-26T01:49:39.286Z",
    "dateUpdated": "2025-05-04T08:31:56.809Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2022-49191\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2025-02-26T07:00:56.183\",\"lastModified\":\"2025-02-26T07:00:56.183\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nmxser: fix xmit_buf leak in activate when LSR == 0xff\\n\\nWhen LSR is 0xff in -\u003eactivate() (rather unlike), we return an error.\\nProvided -\u003eshutdown() is not called when -\u003eactivate() fails, nothing\\nactually frees the buffer in this case.\\n\\nFix this by properly freeing the buffer in a designated label. We jump\\nthere also from the \\\"!info-\u003etype\\\" if now too.\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: mxser: se corrige la fuga de xmit_buf en activate cuando LSR == 0xff Cuando LSR es 0xff en -\u0026gt;activate() (bastante diferente), devolvemos un error. Siempre que no se llame a -\u0026gt;shutdown() cuando -\u0026gt;activate() falla, en realidad nada libera el b\u00fafer en este caso. Corrija esto liberando correctamente el b\u00fafer en una etiqueta designada. Saltamos all\u00ed tambi\u00e9n desde \\\"!info-\u0026gt;type\\\" if now tambi\u00e9n.\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/125b7c929fc9b1e5eaa344bceb6367dfa6fd3f9d\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/2cd05c38a27bee7fb42aa4d43174d68ac55dac0f\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/376922045009f8ea2d20a8fa3475e95b47c41690\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/685b6d16bf89595310b5d61394c9b97cc9505c7c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/6c9041b2f90c0eace73106f22350e1d2c98f5edc\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/6dffc2035fbaada60ca8db59e0962e34f760370a\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/996291d06851a26678a0fab488b6e1f0677c0576\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b125b08dbee3611f03f53b71471813ed4ccafcdd\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/cd3a4907ee334b40d7aa880c7ab310b154fd5cd4\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}"
  }
}


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…