Vulnerability in mxser package: xmit_buf leak in activate when LSR == 0xff

Kernel Updated 02 Oct 2025

Summary

24/04/2022
N/A
No i
Unrated
Not published

GSD-2022-1002348: mxser: fix xmit_buf leak in activate when LSR == 0xff. Affects Kernel versions >= 6769140d304731f0a3b177470a2adb4bacd9036b, < 685b6d16bf89595310b5d61394c9b97cc9505c7c. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The mxser package is a part of the Linux Kernel ecosystem. It provides support for the MOXA Smartio/Industio family of multiport serial cards. These cards are commonly used in industrial applications to enable communication with various devices. The mxser package handles the activation and transmission of data through these serial cards.

Vulnerability Detail

The vulnerability in the mxser package occurs when the Line Status Register (LSR) value is set to 0xff during the activation process. This leads to a memory leak in the xmit_buf, which can result in resource exhaustion and potential denial-of-service attacks. An attacker could exploit this vulnerability by repeatedly activating the mxser device with a specially crafted LSR value, causing the system to run out of memory and become unresponsive.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, users can avoid setting the LSR value to 0xff during the activation process. This can be achieved by modifying the code that interacts with the mxser package to validate and sanitize the LSR value before activating the device. Here is an example of how the code can be modified:

if (LSR != 0xff) {
  // Activate the mxser device
  activate(mxser_device);
}

Conclusion

The vulnerability in the mxser package can be mitigated by updating the Linux Kernel to the recommended version. In the meantime, a temporary workaround is available to avoid setting the LSR value to 0xff during activation. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The mxser package is a component of the Linux Kernel that provides support for MOXA Smartio/Industio multiport serial cards used in industrial applications.

This vulnerability can lead to resource exhaustion and potential denial-of-service attacks by causing a memory leak in the xmit_buf.

To fix this vulnerability, update the Linux Kernel to version v4.19.238 or later.

Yes, a temporary workaround is to avoid setting the LSR value to 0xff during the activation process.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback