CVE-2022-49191

MEDIUM

Linux Kernel - Use-After-Free in mxser activate

Title source: llm
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0025
EPSS Percentile 16.3%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-401
Status published
Products (29)
linux/Kernel 2.6.33 - 4.9.311linux
linux/Kernel 4.10.0 - 4.14.276linux
linux/Kernel 4.15.0 - 4.19.238linux
linux/Kernel 4.20.0 - 5.4.189linux
linux/Kernel 5.11.0 - 5.15.33linux
linux/Kernel 5.16.0 - 5.16.19linux
linux/Kernel 5.17.0 - 5.17.2linux
linux/Kernel 5.5.0 - 5.10.110linux
Linux/Linux < 2.6.33
Linux/Linux 2.6.33
... and 19 more
Published Feb 26, 2025
Tracked Since Feb 18, 2026