CVE-2022-49191 json
mxser: fix xmit_buf leak in activate when LSR == 0xff
published 2025-02-26 20 mo ago modified 2026-06-17 4 mo ago also EUVD-2022-55035
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 20%
- public exploits
- 0
- none known
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.
Patch / fix
- Linux Linux 4.9.311, 4.14.276, 4.19.238, 5.4.189, 5.10.110, 5.15.33, 5.16.19, 5.17.2, 5.18
- linux Debian 14, Debian 13, Debian 12 5.17.3-1
debian advisories DEBIAN-CVE-2022-49191
- linux Ubuntu 18.04 LTS 4.15.0-189.200
- linux Ubuntu 20.04 LTS 5.4.0-117.132
- linux Ubuntu 22.04 LTS 5.15.0-37.39
- linux-aws Ubuntu 18.04 LTS 4.15.0-1137.148
- linux-aws Ubuntu 20.04 LTS 5.4.0-1078.84
- linux-aws Ubuntu 22.04 LTS 5.15.0-1011.14
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1078.84
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1008.12
ubuntu advisories UBUNTU-CVE-2022-49191
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-syms SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS 4.12.14-122.255.1
- kernel-source SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS 4.12.14-122.255.1
- kernel-default SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS, SLE Live Patching 12 SP5 4.12.14-122.255.1
- kgraft-patch-SLE12-SP5_Update_67 SLE Live Patching 12 SP5 1-8.5.1
suse advisories SUSE-SU-2025:1293-1
- git.kernel.org/stable/c/376922045009f8ea2d20a8fa3475e95b47c41690 commit
- git.kernel.org/stable/c/125b7c929fc9b1e5eaa344bceb6367dfa6fd3f9d commit
- git.kernel.org/stable/c/685b6d16bf89595310b5d61394c9b97cc9505c7c commit
- git.kernel.org/stable/c/996291d06851a26678a0fab488b6e1f0677c0576 commit
- git.kernel.org/stable/c/2cd05c38a27bee7fb42aa4d43174d68ac55dac0f commit
- git.kernel.org/stable/c/b125b08dbee3611f03f53b71471813ed4ccafcdd commit
- git.kernel.org/stable/c/6c9041b2f90c0eace73106f22350e1d2c98f5edc commit
- git.kernel.org/stable/c/6dffc2035fbaada60ca8db59e0962e34f760370a commit
- git.kernel.org/stable/c/cd3a4907ee334b40d7aa880c7ab310b154fd5cd4 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-49191 updated
kernel: mxser: fix xmit_buf leak in activate when LSR == 0xff
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.28% chance of exploitation in the next 30 days, higher than 20% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-401 Missing Release of Memory after Effective Lifetime
- Technology feeds
References
-
git.kernel.org
/stable/c/376922045009f8ea2d20a8fa3475e95b47c41690
patch
-
git.kernel.org
/stable/c/125b7c929fc9b1e5eaa344bceb6367dfa6fd3f9d
patch
-
git.kernel.org
/stable/c/685b6d16bf89595310b5d61394c9b97cc9505c7c
patch
-
git.kernel.org
/stable/c/996291d06851a26678a0fab488b6e1f0677c0576
patch
-
git.kernel.org
/stable/c/2cd05c38a27bee7fb42aa4d43174d68ac55dac0f
patch
-
git.kernel.org
/stable/c/b125b08dbee3611f03f53b71471813ed4ccafcdd
patch
-
git.kernel.org
/stable/c/6c9041b2f90c0eace73106f22350e1d2c98f5edc
patch
-
git.kernel.org
/stable/c/6dffc2035fbaada60ca8db59e0962e34f760370a
patch
-
git.kernel.org
/stable/c/cd3a4907ee334b40d7aa880c7ab310b154fd5cd4
patch
Sources
- CVE List CVE-2022-49191
- NVD CVE-2022-49191
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.