CVE-2019-19813 json
In the Linux kernel 5.0.21, mounting a crafted btrfs filesystem image, performing some operations, and then making a syncfs system call can…
published 6y ago modified 4mo ago also EUVD-2019-9411
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.1%
- EPSS 2.1% chance of exploitation in 30 days, percentile 82%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- linux Debian 14, Debian 13, Debian 12 5.2.6-1
debian advisories DEBIAN-CVE-2019-19813
- linux Ubuntu 16.04 LTS 4.4.0-201.233
- linux Ubuntu 18.04 LTS 4.15.0-109.110
- linux-aws Ubuntu 16.04 LTS 4.4.0-1121.135
- linux-aws Ubuntu 18.04 LTS 4.15.0-1077.81
- linux-gcp Ubuntu 16.04 LTS 4.15.0-1080.90~16.04.1
- linux-hwe Ubuntu 16.04 LTS 4.15.0-112.113~16.04.1
- linux-hwe Ubuntu 18.04 LTS 5.3.0-26.28~18.04.1
- linux-kvm Ubuntu 16.04 LTS 4.4.0-1087.96
ubuntu advisories UBUNTU-CVE-2019-19813
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Is CVE-2019-19813 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2019-19813 updated cvss 5.5
kernel: use-after-free in __mutex_lock in kernel/locking/mutex.c
-
Red Hat Enterprise Linux 5 kernel Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, kernel-alt, python-perf, +9 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise MRG 2 kernel-rt, mrg-rt-release, kernel-rt-trace, kernel-rt-vanilla, kernel-rt-firmwarenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
2.13% chance of exploitation in the next 30 days, higher than 82% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/bobfuzzer/CVE/tree/master/CVE-2019-19813 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 7.1 | AV:N/AC:M/Au:N/C:N/I:N/A:C |
Classification
- Weakness
-
- CWE-416 Use After Free
- Technology feeds
References
-
github.com
/bobfuzzer/CVE/tree/master/CVE-2019-19813
exploit, third-party-advisory
-
usn.ubuntu.com
/4414-1/
vendor-advisory, third-party-advisory
-
security.netapp.com
/advisory/ntap-20200103-0001/
third-party-advisory
-
lists.debian.org
/debian-lts-announce/2020/09/msg00025.html
mailing-list, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2021/03/msg00010.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2019-19813
- NVD CVE-2019-19813
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.