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
| Vector | AV: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 👾
Related Identifiers
Affected Products
Astra Linux
Linux Kernel
Suse