# CVE-2022-49191: mxser: fix xmit\_buf leak in activate when LSR == 0xff

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2025-02-26T01:55:38.124Z
- **Modified:** 2026-06-17T05:17:20.523Z

## Who should check

- Anyone running Linux \>= 6769140d304731f0a3b177470a2adb4bacd9036b, \< 376922045009f8ea2d20a8fa3475e95b47c41690; \>= 6769140d304731f0a3b177470a2adb4bacd9036b, \< 125b7c929fc9b1e5eaa344bceb6367dfa6fd3f9d; \>= 6769140d304731f0a3b177470a2adb4bacd9036b, \< 685b6d16bf89595310b5d61394c9b97cc9505c7c; \>= 6769140d304731f0a3b177470a2adb4bacd9036b, \< 996291d06851a26678a0fab488b6e1f0677c0576; \>= 6769140d304731f0a3b177470a2adb4bacd9036b, \< 2cd05c38a27bee7fb42aa4d43174d68ac55dac0f; \>= 6769140d304731f0a3b177470a2adb4bacd9036b, \< b125b08dbee3611f03f53b71471813ed4ccafcdd; \>= 6769140d304731f0a3b177470a2adb4bacd9036b, \< 6c9041b2f90c0eace73106f22350e1d2c98f5edc; \>= 6769140d304731f0a3b177470a2adb4bacd9036b, \< 6dffc2035fbaada60ca8db59e0962e34f760370a; \>= 6769140d304731f0a3b177470a2adb4bacd9036b, \< cd3a4907ee334b40d7aa880c7ab310b154fd5cd4
- Anyone running Linux 2.6.33

## Description

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.

## Affected and fixed versions

- Linux: \>= 6769140d304731f0a3b177470a2adb4bacd9036b, \< 376922045009f8ea2d20a8fa3475e95b47c41690; \>= 6769140d304731f0a3b177470a2adb4bacd9036b, \< 125b7c929fc9b1e5eaa344bceb6367dfa6fd3f9d; \>= 6769140d304731f0a3b177470a2adb4bacd9036b, \< 685b6d16bf89595310b5d61394c9b97cc9505c7c; \>= 6769140d304731f0a3b177470a2adb4bacd9036b, \< 996291d06851a26678a0fab488b6e1f0677c0576; \>= 6769140d304731f0a3b177470a2adb4bacd9036b, \< 2cd05c38a27bee7fb42aa4d43174d68ac55dac0f; \>= 6769140d304731f0a3b177470a2adb4bacd9036b, \< b125b08dbee3611f03f53b71471813ed4ccafcdd; \>= 6769140d304731f0a3b177470a2adb4bacd9036b, \< 6c9041b2f90c0eace73106f22350e1d2c98f5edc; \>= 6769140d304731f0a3b177470a2adb4bacd9036b, \< 6dffc2035fbaada60ca8db59e0962e34f760370a; \>= 6769140d304731f0a3b177470a2adb4bacd9036b, \< cd3a4907ee334b40d7aa880c7ab310b154fd5cd4 (cvelist)
- Linux: 2.6.33 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-49191. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-49191.md
Affected: Linux >= 6769140d304731f0a3b177470a2adb4bacd9036b, < 376922045009f8ea2d20a8fa3475e95b47c41690; >= 6769140d304731f0a3b177470a2adb4bacd9036b, < 125b7c929fc9b1e5eaa344bceb6367dfa6fd3f9d; >= 6769140d304731f0a3b177470a2adb4bacd9036b, < 685b6d16bf89595310b5d61394c9b97cc9505c7c; >= 6769140d304731f0a3b1774…
Fixed in: Linux 376922045009f8ea2d20a8fa3475e95b47c41690, Linux 125b7c929fc9b1e5eaa344bceb6367dfa6fd3f9d, Linux 685b6d16bf89595310b5d61394c9b97cc9505c7c, Linux 996291d06851a26678a0fab488b6e1f0677c0576, Linux 2cd05c38a27bee7fb42aa4d43174d68ac55dac0f, Linux 6c9041b2f90c0eace73106f22350e1d2c98f5edc, Linux 6dffc…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-49191 being exploited?

There is no confirmed exploitation: CVE-2022-49191 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-49191?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-49191?

Linux \>= 6769140d304731f0a3b177470a2adb4bacd9036b, \< 376922045009f8ea2d20a8fa3475e95b47c41690; \>= 6769140d304731f0a3b177470a2adb4bacd9036b, \< 125b7c929fc9b1e5eaa344bceb6367dfa6fd3f9d; \>= 6769140d304731f0a3b177470a2adb4bacd9036b, \< 685b6d16bf89595310b5d61394c9b97cc9505c7c; \>= 6769140d304731f0a3b177470a2adb4bacd9036b, \< 996291d06851a26678a0fab488b6e1f0677c0576; \>= 6769140d304731f0a3b177470a2adb4bacd9036b, \< 2cd05c38a27bee7fb42aa4d43174d68ac55dac0f; \>= 6769140d304731f0a3b177470a2adb4bacd9036b, \< b125b08dbee3611f03f53b71471813ed4ccafcdd; \>= 6769140d304731f0a3b177470a2adb4bacd9036b, \< 6c9041b2f90c0eace73106f22350e1d2c98f5edc; \>= 6769140d304731f0a3b177470a2adb4bacd9036b, \< 6dffc2035fbaada60ca8db59e0962e34f760370a; \>= 6769140d304731f0a3b177470a2adb4bacd9036b, \< cd3a4907ee334b40d7aa880c7ab310b154fd5cd4; Linux 2.6.33.

### Is there a fix for CVE-2022-49191?

Yes. Fixed in Linux 376922045009f8ea2d20a8fa3475e95b47c41690, Linux 125b7c929fc9b1e5eaa344bceb6367dfa6fd3f9d, Linux 685b6d16bf89595310b5d61394c9b97cc9505c7c, Linux 996291d06851a26678a0fab488b6e1f0677c0576, Linux 2cd05c38a27bee7fb42aa4d43174d68ac55dac0f, Linux 6c9041b2f90c0eace73106f22350e1d2c98f5edc, Linux 6dffc2035fbaada60ca8db59e0962e34f760370a. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2022-49191?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/376922045009f8ea2d20a8fa3475e95b47c41690>
- patch: <https://git.kernel.org/stable/c/125b7c929fc9b1e5eaa344bceb6367dfa6fd3f9d>
- patch: <https://git.kernel.org/stable/c/685b6d16bf89595310b5d61394c9b97cc9505c7c>
- patch: <https://git.kernel.org/stable/c/996291d06851a26678a0fab488b6e1f0677c0576>
- patch: <https://git.kernel.org/stable/c/2cd05c38a27bee7fb42aa4d43174d68ac55dac0f>
- patch: <https://git.kernel.org/stable/c/b125b08dbee3611f03f53b71471813ed4ccafcdd>
- patch: <https://git.kernel.org/stable/c/6c9041b2f90c0eace73106f22350e1d2c98f5edc>
- patch: <https://git.kernel.org/stable/c/6dffc2035fbaada60ca8db59e0962e34f760370a>
- patch: <https://git.kernel.org/stable/c/cd3a4907ee334b40d7aa880c7ab310b154fd5cd4>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-49191>

HTML: <https://flawdb.com/CVE-2022-49191> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-49191>
