Skip to content
Heist/ feed
Back to feed
UnratedFix available

mxser: fix xmit_buf leak in activate when LSR == 0xff

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
4.14.276, 4.19.238, 4.9.311, 5.10.110, 5.15.33, 5.16.19, 5.17.2, 5.4.189
CVEs
CVE-2022-49191
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 15:22 UTC · Revision 1

Source evidence

mxser: fix xmit_buf leak in activate when LSR == 0xff

core-osv · Original source

Published 26 Feb 2025, 01:55 UTC

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.

osv:CVE-2022-49191

Kernel

Fixed versions: 4.9.311, 4.14.276, 4.19.238, 5.4.189, 5.10.110, 5.15.33, 5.16.19, 5.17.2

Complete source record
{
  "id": "09247d32e0fe7f6ef7186d9bf752226842a801b604de2a601bf3cdead1cb67fc",
  "url": "https://osv.dev/vulnerability/CVE-2022-49191",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "mxser: fix xmit_buf leak in activate when LSR == 0xff",
    "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.",
    "evidence": "osv:CVE-2022-49191",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.9.311",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "4.14.276",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "4.19.238",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.4.189",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.110",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.33",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.16.19",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.17.2",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2022-49191",
      "aliases": [
        "CVE-2022-49191"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "6769140d304731f0a3b177470a2adb4bacd9036b"
                },
                {
                  "fixed": "376922045009f8ea2d20a8fa3475e95b47c41690"
                },
                {
                  "fixed": "125b7c929fc9b1e5eaa344bceb6367dfa6fd3f9d"
                },
                {
                  "fixed": "685b6d16bf89595310b5d61394c9b97cc9505c7c"
                },
                {
                  "fixed": "996291d06851a26678a0fab488b6e1f0677c0576"
                },
                {
                  "fixed": "2cd05c38a27bee7fb42aa4d43174d68ac55dac0f"
                },
                {
                  "fixed": "b125b08dbee3611f03f53b71471813ed4ccafcdd"
                },
                {
                  "fixed": "6c9041b2f90c0eace73106f22350e1d2c98f5edc"
                },
                {
                  "fixed": "6dffc2035fbaada60ca8db59e0962e34f760370a"
                },
                {
                  "fixed": "cd3a4907ee334b40d7aa880c7ab310b154fd5cd4"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49191.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "2.6.33"
                },
                {
                  "fixed": "4.9.311"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.10.0"
                },
                {
                  "fixed": "4.14.276"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.15.0"
                },
                {
                  "fixed": "4.19.238"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.20.0"
                },
                {
                  "fixed": "5.4.189"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.5.0"
                },
                {
                  "fixed": "5.10.110"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.33"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "5.16.19"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.17.0"
                },
                {
                  "fixed": "5.17.2"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49191.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:37.006339568Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/125b7c929fc9b1e5eaa344bceb6367dfa6fd3f9d",
        "https://git.kernel.org/stable/c/2cd05c38a27bee7fb42aa4d43174d68ac55dac0f",
        "https://git.kernel.org/stable/c/376922045009f8ea2d20a8fa3475e95b47c41690",
        "https://git.kernel.org/stable/c/685b6d16bf89595310b5d61394c9b97cc9505c7c",
        "https://git.kernel.org/stable/c/6c9041b2f90c0eace73106f22350e1d2c98f5edc",
        "https://git.kernel.org/stable/c/6dffc2035fbaada60ca8db59e0962e34f760370a",
        "https://git.kernel.org/stable/c/996291d06851a26678a0fab488b6e1f0677c0576",
        "https://git.kernel.org/stable/c/b125b08dbee3611f03f53b71471813ed4ccafcdd",
        "https://git.kernel.org/stable/c/cd3a4907ee334b40d7aa880c7ab310b154fd5cd4",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49191.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-49191",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49191.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-49191",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 504066,
  "published_at": "2025-02-26T01:55:38.124+00:00"
}