cve.bz

CVE-2019-19813 Use After Free

5.5 mediumExploit referenceEPSS 2.1%

Medium (5.5). EPSS 2.1% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
2.1% (unchanged from 2.1% a week ago; 2.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 82nd percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-416 Use After Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2019-19813 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-19813?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-19813?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-19813 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernel5.0.21
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04
debian:debian_linux9.0
netapp:active_iq_unified_manager9.5 and later

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9linux4.9.258-1DLA-2586-1
Debian9linux-4.194.19.146-1~deb9u1DLA-2385-1
Debian12, 13, 14linux5.2.6-1DEBIAN-CVE-2019-19813
Ubuntu16.04:LTSlinux4.4.0-201.233UBUNTU-CVE-2019-19813 USN-4708-1
Ubuntu16.04:LTSlinux-aws4.4.0-1121.135UBUNTU-CVE-2019-19813 USN-4709-1
Ubuntu16.04:LTSlinux-aws-hwe4.15.0-1079.83~16.04.1UBUNTU-CVE-2019-19813 USN-4414-1
Ubuntu16.04:LTSlinux-azure4.15.0-1091.101~16.04.1UBUNTU-CVE-2019-19813 USN-4414-1
Ubuntu16.04:LTSlinux-gcp4.15.0-1080.90~16.04.1UBUNTU-CVE-2019-19813 USN-4414-1
Ubuntu16.04:LTSlinux-hwe4.15.0-112.113~16.04.1UBUNTU-CVE-2019-19813 USN-4414-1
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2019-19813
Ubuntu16.04:LTSlinux-kvm4.4.0-1087.96UBUNTU-CVE-2019-19813 USN-4709-1
Ubuntu16.04:LTSlinux-oracle4.15.0-1050.54~16.04.1UBUNTU-CVE-2019-19813 USN-4414-1
Ubuntu16.04:LTSlinux-raspi24.4.0-1145.155UBUNTU-CVE-2019-19813 USN-4709-1
Ubuntu16.04:LTSlinux-snapdragon4.4.0-1149.159UBUNTU-CVE-2019-19813 USN-4709-1
Ubuntu18.04:LTSlinux4.15.0-109.110UBUNTU-CVE-2019-19813 USN-4414-1
25 more for Ubuntu in the JSON and on Ubuntu's page.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5kernelNot affected
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-altNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise MRG 2kernel-rtNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-19813.

References

Check your stackJSON