PT-2024-11333 · Linux+2 · Linux Kernel+2

Lv Yunlong

·

Published

2021-05-14

·

Updated

2024-12-26

·

CVE-2021-47334

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description The issue is related to two use-after-free bugs in the ibmasm init one function. In this function, ibmasm init remote input dev() is called, which allocates mouse dev and keybd dev using input allocate device() and assigns them to sp->remote.mouse dev and sp->remote.keybd dev, respectively. When an error occurs, mouse dev and keybd dev are freed by input free device(), but then the execution proceeds to the error send message error branch, where ibmasm free remote input dev(sp) is called to unregister the already freed devices. A patch has been added to handle the error of ibmasm init remote input dev() by introducing an "error init remote" label to avoid these use-after-free bugs.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Use After Free

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2025-07328
CVE-2021-47334
OESA-2024-1736
OPENSUSE-SU-2024_2185-1
SUSE-SU-2024:1979-1
SUSE-SU-2024:1983-1
SUSE-SU-2024:2010-1
SUSE-SU-2024:2183-1
SUSE-SU-2024:2184-1
SUSE-SU-2024:2185-1

Affected Products

Astra Linux
Linux Kernel
Suse