CVE-2022-49191

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

MEDIUM
5.5
CVSS Score
Published: February 26, 2025 at 01:55 AM UTC
Updated: June 17, 2026 at 05:17 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.3%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.6.33 ≤ v < 4.14.2762.6.33 ≤ v < 4.19.2382.6.33 ≤ v < 4.9.3112.6.33 ≤ v < 5.10.1102.6.33 ≤ v < 5.15.332.6.33 ≤ v < 5.16.192.6.33 ≤ v < 5.17.22.6.33 ≤ v < 5.182.6.33 ≤ v < 5.4.1894.10 ≤ v < 4.14.2764.15 ≤ v < 4.19.2384.20 ≤ v < 5.4.1895.11 ≤ v < 5.15.335.16 ≤ v < 5.16.195.17 ≤ v < 5.17.25.5 ≤ v < 5.10.1102.6.336769140d304731f0a3b177470a2adb4bacd9036b
Vendor states this is fixed in 125b7c929fc9b1e5eaa344bceb6367dfa6fd3f9d (fixed)
Vendor states this is fixed in 2cd05c38a27bee7fb42aa4d43174d68ac55dac0f (fixed)
Vendor states this is fixed in 376922045009f8ea2d20a8fa3475e95b47c41690 (fixed)
Vendor states this is fixed in 685b6d16bf89595310b5d61394c9b97cc9505c7c (fixed)
Vendor states this is fixed in 6c9041b2f90c0eace73106f22350e1d2c98f5edc (fixed)
Vendor states this is fixed in 6dffc2035fbaada60ca8db59e0962e34f760370a (fixed)
Vendor states this is fixed in 996291d06851a26678a0fab488b6e1f0677c0576 (fixed)
Vendor states this is fixed in b125b08dbee3611f03f53b71471813ed4ccafcdd (fixed)
Vendor states this is fixed in cd3a4907ee334b40d7aa880c7ab310b154fd5cd4 (fixed)
Vendor states this is fixed in 2.6.33 (unaffected)
Vendor states this is fixed in 4.14.276 (unaffected)
Vendor states this is fixed in 4.19.238 (unaffected)
Vendor states this is fixed in 4.9.311 (unaffected)
Vendor states this is fixed in 5.10.110 (unaffected)
Vendor states this is fixed in 5.15.33 (unaffected)
Vendor states this is fixed in 5.16.19 (unaffected)
Vendor states this is fixed in 5.17.2 (unaffected)
Vendor states this is fixed in 5.18 (unaffected)
Vendor states this is fixed in 5.4.189 (unaffected)

References (9)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/125b7c929fc9b1e5eaa344bceb6367dfa6fd3f9d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2cd05c38a27bee7fb42aa4d43174d68ac55dac0f
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/376922045009f8ea2d20a8fa3475e95b47c41690
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/685b6d16bf89595310b5d61394c9b97cc9505c7c
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6c9041b2f90c0eace73106f22350e1d2c98f5edc
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6dffc2035fbaada60ca8db59e0962e34f760370a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/996291d06851a26678a0fab488b6e1f0677c0576
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b125b08dbee3611f03f53b71471813ed4ccafcdd

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-401

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card