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

Syzbot

·

Published

2021-06-08

·

Updated

2024-12-24

·

CVE-2021-47280

CVSS v3.1

7.0

High

VectorAV:L/AC:H/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 There is a time-of-check-to-time-of-use error in drm getunique() due to retrieving file priv->master prior to locking the device's master mutex. This error can cause a use-after-free read. An example can be seen in a crash report found by Syzbot, where the master pointer was used after being freed because another process had acquired the device's master mutex in drm setmaster ioctl(), then overwrote fpriv->master in drm new set master(). The old value of fpriv->master was subsequently freed before the mutex was unlocked. To fix this, the device's master mutex is locked before retrieving the pointer from fpriv->master.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Use After Free

Time Of Check To Time Of Use

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

Weakness Enumeration

Related Identifiers

BDU:2025-04681
CVE-2021-47280
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