cve.bz

CVE-2019-19377 Use After Free

7.8 highExploit referenceEPSS 3.4%

High (7.8). EPSS 3.4% 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 unmounting can lead to a use-after-free in btrfs_queue_work in fs/btrfs/async-thread.c.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
3.4% (unchanged from 3.4% a week ago; 3.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 90th percentile. Scored 2026-11-25. 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-19377 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-19377?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-19377?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-19377 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_kernelfrom 2.6.12 before 4.19.156
linux:linux_kernelfrom 4.20 before 5.4.33
linux:linux_kernelfrom 5.5.0 before 5.5.18
linux:linux_kernelfrom 5.6 before 5.6.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9linux-4.194.19.160-2~deb9u1DLA-2483-1
Debian12, 13, 14linux5.6.7-1DEBIAN-CVE-2019-19377
Ubuntu16.04:LTSlinux-aws-hwe4.15.0-1079.83~16.04.1UBUNTU-CVE-2019-19377 USN-4414-1
Ubuntu16.04:LTSlinux-azure4.15.0-1091.101~16.04.1UBUNTU-CVE-2019-19377 USN-4414-1
Ubuntu16.04:LTSlinux-gcp4.15.0-1080.90~16.04.1UBUNTU-CVE-2019-19377 USN-4414-1
Ubuntu16.04:LTSlinux-hwe4.15.0-112.113~16.04.1UBUNTU-CVE-2019-19377 USN-4414-1
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2019-19377
Ubuntu16.04:LTSlinux-oracle4.15.0-1050.54~16.04.1UBUNTU-CVE-2019-19377 USN-4414-1
Ubuntu18.04:LTSlinux4.15.0-109.110UBUNTU-CVE-2019-19377 USN-4414-1
Ubuntu18.04:LTSlinux-aws4.15.0-1077.81UBUNTU-CVE-2019-19377 USN-4414-1
Ubuntu18.04:LTSlinux-aws-5.35.3.0-1019.21~18.04.1UBUNTU-CVE-2019-19377 USN-4369-1
Ubuntu18.04:LTSlinux-azure-5.35.3.0-1022.23~18.04.1UBUNTU-CVE-2019-19377 USN-4369-1
Ubuntu18.04:LTSlinux-gcp, linux-azure, linux-aws-5.0 and 4 moreno fix listedUBUNTU-CVE-2019-19377
Ubuntu18.04:LTSlinux-gcp-4.154.15.0-1080.90UBUNTU-CVE-2019-19377 USN-4414-1
27 more for Ubuntu in the JSON and on Ubuntu's page.
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 2 morekernel-docs, kernel-syms, kernel-source and 2 more4.12.14-150100.197.114.2SUSE-SU-2022:2111-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 6 morekernel-default-base5.3.18-150200.24.115.1.150200.9.54.1SUSE-SU-2022:2104-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 3 morekernel-docs, kernel-syms, kernel-source and 3 more5.3.18-150200.24.115.1SUSE-SU-2022:2104-1
SUSEHPE Helion OpenStack 8, Linux Enterprise High Availability Extension 12 SP3, Linux Enterprise Server 12 SP3-BCL and 4 morekernel-default4.4.180-94.164.3SUSE-SU-2022:2082-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP3-BCL, Linux Enterprise Server 12 SP3-LTSS and 3 morekernel-syms, kernel-source4.4.180-94.164.2SUSE-SU-2022:2082-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP3-LTSS, Linux Enterprise Server for SAP Applications 12 SP3 and 2 morekgraft-patch-SLE12-SP3_Update_451-4.3.2SUSE-SU-2022:2082-1
SUSELinux Enterprise High Availability Extension 12 SP4, Linux Enterprise Live Patching 12 SP4kernel-default4.12.14-95.102.1SUSE-SU-2022:2393-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Live Patching 12 SP5, Linux Enterprise Server 12 SP5 and 2 morekernel-default4.12.14-122.124.3SUSE-SU-2022:2116-1
SUSELinux Enterprise High Availability Extension 15, Linux Enterprise Live Patching 15kernel-default4.12.14-150000.150.92.2SUSE-SU-2022:2103-1
SUSELinux Enterprise High Availability Extension 15 SP1, Linux Enterprise Live Patching 15 SP1kernel-default4.12.14-150100.197.114.2SUSE-SU-2022:2111-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Live Patching 15 SP2kernel-default5.3.18-150200.24.115.1SUSE-SU-2022:2104-1
SUSELinux Enterprise High Availability Extension 15 SP3, Linux Enterprise Live Patching 15 SP3, Linux Enterprise Micro 5.1 and 2 morekernel-default5.3.18-150300.59.71.2SUSE-SU-2022:2078-1
26 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.3dtb-aarch64, kernel-syms, kernel-obs-qa5.3.18-150300.59.71.1SUSE-SU-2022:2078-1
openSUSELeap 15.3kernel-64kb, kernel-docs, kernel-debug and 6 more5.3.18-150300.59.71.2SUSE-SU-2022:2078-1
openSUSELeap 15.3kernel-azure, kernel-syms-azure, kernel-source-azure5.3.18-150300.38.59.1SUSE-SU-2022:2079-1
openSUSELeap 15.3kernel-default-base5.3.18-150300.59.71.2.150300.18.43.2SUSE-SU-2022:2078-1
openSUSELeap 15.3, Leap 15.4kernel-debug, kernel-default, kernel-vanilla and 2 more4.12.14-150100.197.114.2SUSE-SU-2022:2111-1
openSUSELeap 15.4dtb-aarch645.3.18-150300.59.71.1SUSE-SU-2022:2078-1
openSUSELeap 15.4kernel-preempt5.3.18-150300.59.71.2SUSE-SU-2022:2078-1
openSUSELeap Micro 5.2kernel-rt5.3.18-150300.93.1openSUSE-SU-2022:2177-1

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

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This flaw is rated as moderate, the attacker would need to have physical access or permission to mount/write to a filesystem to abuse this. If they can write to a block device they can already do other evil things, like make a setuid binary etc.

Red Hat's mitigation

As the btrfs module will be auto-loaded when required, its use can be disabled by preventing the module from loading with the following instructions:

# echo "install btrfs /bin/true" >> /etc/modprobe.d/disable-btrfs.conf

The system will need to be restarted if the BTRFS modules are loaded. In most circumstances, the CIFS kernel modules will be unable to be unloaded while any network interfaces are active and the protocol is in use.

If the system requires this module to work correctly (as a filesytem required to run), this mitigation may not be suitable.

If you need further assistance, see KCS article https://access.redhat.com/solutions/41278 or contact Red Hat Global Support Services.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5kernelOut of support scope
Red Hat Enterprise Linux 6kernelOut of support scope
Red Hat Enterprise Linux 7kernel-altWill not fix
Red Hat Enterprise Linux 7kernelWill not fix
Red Hat Enterprise Linux 7kernel-rtWill not fix
Red Hat Enterprise Linux 8kernelNot affected
Red Hat Enterprise Linux 8kernel-rtAffected
Red Hat Enterprise MRG 2kernel-rtWill not fix

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-19377.

References

Check your stackJSON