PT-2024-8923 · Linux+4 · Linux Kernel+4

Lars-Peter Clausen

·

Published

2024-05-22

·

Updated

2025-06-18

·

CVE-2021-47500

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 a use-after-free error in the Linux kernel's mma8452 driver. The driver directly assigns a trigger to the struct iio dev, and the IIO core calls iio trigger put() to drop the reference count by 1 when done using this trigger. Without the matching iio trigger get() in the driver, the reference count can reach 0 too early, causing the trigger to be freed while still in use and resulting in a use-after-free error. This can potentially allow an attacker to elevate privileges in the system.
Recommendations: At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Use After Free

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

Weakness Enumeration

Related Identifiers

BDU:2024-10591
CVE-2021-47500
OESA-2024-1767
OPENSUSE-SU-2024_2185-1
OPENSUSE-SU-2024_2189-1
SUSE-SU-2024:1979-1
SUSE-SU-2024:1983-1
SUSE-SU-2024:2008-1
SUSE-SU-2024:2010-1
SUSE-SU-2024:2011-1
SUSE-SU-2024:2019-1
SUSE-SU-2024:2183-1
SUSE-SU-2024:2184-1
SUSE-SU-2024:2185-1
SUSE-SU-2024:2189-1
SUSE-SU-2024:2190-1
SUSE-SU-2025:01995-1
USN-7506-1
USN-7506-2
USN-7506-3
USN-7506-4

Affected Products

Astra Linux
Linux Kernel
Red Os
Suse
Ubuntu