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

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 21% of CVEs (2026-12-02)
- Published: 2025-02-26T01:55:38.124Z
- Modified: 2026-06-17T05:17:20.523Z
- Weaknesses: CWE-401
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 6769140d304731f0a3b177470a2adb4bacd9036b before 376922045009f8ea2d20a8fa3475e95b47c41690; from 6769140d304731f0a3b177470a2adb4bacd9036b before 125b7c929fc9b1e5eaa344bceb6367dfa6fd3f9d; from 6769140d304731f0a3b177470a2adb4bacd9036b before 685b6d16bf89595310b5d61394c9b97cc9505c7c; from 6769140d304731f0a3b177470a2adb4bacd9036b before 996291d06851a26678a0fab488b6e1f0677c0576; from 6769140d304731f0a3b177470a2adb4bacd9036b before 2cd05c38a27bee7fb42aa4d43174d68ac55dac0f; from 6769140d304731f0a3b177470a2adb4bacd9036b before b125b08dbee3611f03f53b71471813ed4ccafcdd; from 6769140d304731f0a3b177470a2adb4bacd9036b before 6c9041b2f90c0eace73106f22350e1d2c98f5edc; from 6769140d304731f0a3b177470a2adb4bacd9036b before 6dffc2035fbaada60ca8db59e0962e34f760370a; from 6769140d304731f0a3b177470a2adb4bacd9036b before cd3a4907ee334b40d7aa880c7ab310b154fd5cd4; 2.6.33 (not affected: before 2.6.33; from 4.9.311 up to 4.9.*; from 4.14.276 up to 4.14.*; from 4.19.238 up to 4.19.*; from 5.4.189 up to 5.4.*; from 5.10.110 up to 5.10.*; from 5.15.33 up to 5.15.*; from 5.16.19 up to 5.16.*; from 5.17.2 up to 5.17.*; from 5.18 up to *)
- linux linux_kernel: from 2.6.33 before 4.9.311; from 4.10 before 4.14.276; from 4.15 before 4.19.238; from 4.20 before 5.4.189; from 5.5 before 5.10.110; from 5.11 before 5.15.33; from 5.16 before 5.16.19; from 5.17 before 5.17.2

## References

- <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> (patch)

## Sources

- CVE List: [CVE-2022-49191](https://www.cve.org/CVERecord?id=CVE-2022-49191), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-49191](https://nvd.nist.gov/vuln/detail/CVE-2022-49191), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-49191 · Whole record: https://cve.day/CVE-2022-49191.json · Rebuilt by cve.day 2026-11-25T22:58:20.266Z
