PT-2019-4492 · Linux+2 · Linux Kernel+2

Published

2019-04-29

·

Updated

2025-09-29

·

CVE-2019-19813

CVSS v2.0

7.1

High

VectorAV:N/AC:M/Au:N/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions Linux kernel version 5.0.21
Description The issue is related to a use-after-free in the Linux kernel, specifically when mounting a crafted btrfs filesystem image, performing certain operations, and then making a syncfs system call. This is connected to the functions mutex can spin on owner, btrfs qgroup free meta, and btrfs insert delayed items. The exploitation of this issue can lead to a denial of service.
Recommendations For Linux kernel version 5.0.21, consider applying a patch that fixes the use-after-free issue in the mutex lock function, specifically related to the mutex can spin on owner function in kernel/locking/mutex.c, btrfs qgroup free meta in fs/btrfs/qgroup.c, and btrfs insert delayed items in fs/btrfs/delayed-inode.c. As a temporary workaround, consider restricting the use of the syncfs system call on mounted btrfs filesystem images to minimize the risk of exploitation.

Exploit

Fix

Use After Free

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

Weakness Enumeration

Related Identifiers

ALSA-2025_12746
ALSA-2025_12752
ALSA-2025_12753
ALSA-2025_16880
ALT-PU-2019-2120
ALT-PU-2019-2311
BDU:2020-00351
CVE-2019-19813
DLA-2385-1
DLA-2586-1
ELSA-2021-9534
USN-4414-1
USN-4708-1
USN-4709-1

Affected Products

Alt Linux
Linux Kernel
Ubuntu