CVE-2019-19813

MEDIUMCVSS 5.5/10EPSS 2.22%

Last modified

CVE-2019-19813 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel 5.0.21, mounting a crafted btrfs filesystem image, performing some operations, and then making a syncfs system call can lead to a use-after-free in __mutex_lock in kernel/locking/mutex.c. This is related to mutex_can_spin_on_owner 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.. EPSS estimates a 2.22% chance of exploitation in the next 30 days.

Description

In the Linux kernel 5.0.21, mounting a crafted btrfs filesystem image, performing some operations, and then making a syncfs system call can lead to a use-after-free in __mutex_lock in kernel/locking/mutex.c. This is related to mutex_can_spin_on_owner 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.

Metrics

CVSS 3.1
5.5/10

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

EPSS Probability
2.22%

80.4th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
LinuxLinux Kernel5.0.21
CanonicalUbuntu Linux14.04
CanonicalUbuntu Linux16.04
CanonicalUbuntu Linux18.04
DebianDebian Linux9.0
NetappActive Iq Unified Manager>= 9.5
NetappData Availability ServicesAll versions
NetappHci Management NodeAll versions
NetappSolidfireAll versions
NetappSteelstore Cloud Integrated StorageAll versions
NetappAff A700s FirmwareAll versions
NetappFas8300 FirmwareAll versions
NetappFas8700 FirmwareAll versions
NetappAff A400 FirmwareAll versions
NetappH610s FirmwareAll versions

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2019-19813?
In the Linux kernel 5.0.21, mounting a crafted btrfs filesystem image, performing some operations, and then making a syncfs system call can lead to a use-after-free in __mutex_lock in kernel/locking/mutex.c. This is related to mutex_can_spin_on_owner 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.
How severe is CVE-2019-19813?
CVE-2019-19813 has a CVSS score of 5.5/10 (MEDIUM severity). The EPSS model estimates a 2.22% probability of exploitation in the next 30 days.
How do I fix CVE-2019-19813?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2019-19813?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST