cve.bz

CVE-2019-19448 Use After Free

7.8 highExploit referenceEPSS 2.1%

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

On this page
In the Linux kernel 5.0.21 and 5.3.11, mounting a crafted btrfs filesystem image, performing some operations, and then making a syncfs system call can lead to a use-after-free in try_merge_free_space in fs/btrfs/free-space-cache.c because the pointer to a left data structure can be the same as the pointer to a right data structure.

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
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-22. 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-19448 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-19448?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-19448?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-19448 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.31 before 4.4.233
linux:linux_kernelfrom 4.5.0 before 4.9.233
linux:linux_kernelfrom 4.10 before 4.14.194
linux:linux_kernelfrom 4.15 before 4.19.141
linux:linux_kernelfrom 4.20 before 5.4.60
linux:linux_kernelfrom 5.5.0 before 5.7.17
linux:linux_kernelfrom 5.8 before 5.8.3
debian:debian_linux9.0
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux18.04

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9linux4.9.240-1DLA-2420-1
Debian9linux-4.194.19.146-1~deb9u1DLA-2385-1
Debian12, 13, 14linux5.7.17-1DEBIAN-CVE-2019-19448
Ubuntu16.04:LTSlinux4.4.0-190.220UBUNTU-CVE-2019-19448
Ubuntu16.04:LTSlinux-aws4.4.0-1114.127UBUNTU-CVE-2019-19448
Ubuntu16.04:LTSlinux-aws-hwe4.15.0-1085.90~16.04.1UBUNTU-CVE-2019-19448 USN-4578-1
Ubuntu16.04:LTSlinux-azure4.15.0-1098.109~16.04.1UBUNTU-CVE-2019-19448 USN-4578-1
Ubuntu16.04:LTSlinux-gcp4.15.0-1086.98~16.04.1UBUNTU-CVE-2019-19448 USN-4578-1
Ubuntu16.04:LTSlinux-hwe4.15.0-120.122~16.04.1UBUNTU-CVE-2019-19448 USN-4578-1
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2019-19448
Ubuntu16.04:LTSlinux-kvm4.4.0-1080.87UBUNTU-CVE-2019-19448
Ubuntu16.04:LTSlinux-oracle4.15.0-1056.61~16.04.1UBUNTU-CVE-2019-19448 USN-4578-1
Ubuntu16.04:LTSlinux-raspi24.4.0-1139.148UBUNTU-CVE-2019-19448
Ubuntu16.04:LTSlinux-snapdragon4.4.0-1143.152UBUNTU-CVE-2019-19448
Ubuntu18.04:LTSlinux4.15.0-121.123UBUNTU-CVE-2019-19448 USN-4578-1
37 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.

Red Hat's mitigation

If the system requires this filesystem to work correctly, this mitigation may not be suitable.

As the BTRFS module will be auto-loaded when required, autoloading can be prevented by disabling the module, see KCS article https://access.redhat.com/solutions/41278 or contact Red Hat Global Support Services.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5kernelNot affected
Red Hat Enterprise Linux 6kernelOut of support scope
Red Hat Enterprise Linux 7kernel-altWill not fix
Red Hat Enterprise Linux 7kernelNot 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-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-19448.

References

Check your stackJSON