CVE-2019-19377
published 2019-11-29CVE-2019-19377: 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…
PriorityP339high7.8CVSS 3.1
AVLACLPRNUIRSUCHIHAH
EPSS
3.40%
87.5th percentile
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.
Affected
12 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 5.6.7-1 (bookworm) | linux 5.6.7-1 (bookworm) |
| linux | linux_kernel | >= 0 < 5.6.7-1 | 5.6.7-1 |
| linux | linux_kernel | >= 0 < 5.6.7-1 | 5.6.7-1 |
| linux | linux_kernel | >= 0 < 5.6.7-1 | 5.6.7-1 |
| linux | linux_kernel | >= 0 < 5.6.7-1 | 5.6.7-1 |
| linux | linux_kernel | >= 0 < 4.15.0-109.110 | 4.15.0-109.110 |
| linux | linux_kernel | >= 0 < 5.4.0-31.35 | 5.4.0-31.35 |
| linux | linux_kernel | >= 0 < 5.4.0-33.37 | 5.4.0-33.37 |
| linux | linux_kernel | >= 2.6.12 < 4.19.156 | 4.19.156 |
| linux | linux_kernel | >= 4.20 < 5.4.33 | 5.4.33 |
| linux | linux_kernel | >= 5.5.0 < 5.5.18 | 5.5.18 |
| linux | linux_kernel | >= 5.6 < 5.6.5 | 5.6.5 |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv7.8HIGH
vendor_debian7.8HIGH
vendor_redhat7.8HIGH
vendor_ubuntu7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-w83r-756w-m93f: In the Linux kernel 5
ghsa_unreviewed·2022-05-24
CVE-2019-19377 [MEDIUM] CWE-416 GHSA-w83r-756w-m93f: In the Linux kernel 5
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.
OSV
linux, linux-aws, linux-aws-hwe, linux-azure, linux-azure-4.15, linux-gcp, linux-gcp-4.15, linux-gke-4.15, linux-hwe, linux-kvm, linux-oem, linux-oracle, linux-raspi2, linux-snapdragon vulnerabilities
osv·2020-07-06·CVSS 4.1
CVE-2019-16089 [MEDIUM] linux, linux-aws, linux-aws-hwe, linux-azure, linux-azure-4.15, linux-gcp, linux-gcp-4.15, linux-gke-4.15, linux-hwe, linux-kvm, linux-oem, linux-oracle, linux-raspi2, linux-snapdragon vulnerabilities
linux, linux-aws, linux-aws-hwe, linux-azure, linux-azure-4.15, linux-gcp, linux-gcp-4.15, linux-gke-4.15, linux-hwe, linux-kvm, linux-oem, linux-oracle, linux-raspi2, linux-snapdragon vulnerabilities
It was discovered that the network block device (nbd) implementation in the
Linux kernel did not properly check for error conditions in some
situations. An attacker could possibly use this to cause a denial of service
(system crash). (CVE-2019-16089)
It was discovered that the btrfs file system implementation in the Linux
kernel did not properly validate file system metadata in some situations.
An attacker could use this to construct a malicious btrfs image that, when
mounted, could cause a denial of service (system crash). (CVE-2019-19036,
CVE-2019-19318, CVE-2019-19813, CVE-2019-19816)
I
OSV
linux regression
osv·2020-05-28·CVSS 7.8
[HIGH] linux regression
linux regression
USN-4367-1 fixed vulnerabilities in the 5.4 Linux kernel. Unfortunately,
that update introduced a regression in overlayfs. This update corrects
the problem.
We apologize for the inconvenience.
Original advisory details:
It was discovered that the btrfs implementation in the Linux kernel did not
properly detect that a block was marked dirty in some situations. An
attacker could use this to specially craft a file system image that, when
unmounted, could cause a denial of service (system crash). (CVE-2019-19377)
It was discovered that the linux kernel did not properly validate certain
mount options to the tmpfs virtual memory file system. A local attacker
with the ability to specify mount options could use this to cause a denial
of service (system crash). (CVE-2020-11565
OSV
linux, linux-raspi2, linux-raspi2-5.3 regression
osv·2020-05-28·CVSS 7.8
[HIGH] linux, linux-raspi2, linux-raspi2-5.3 regression
linux, linux-raspi2, linux-raspi2-5.3 regression
USN-4369-1 fixed vulnerabilities in the 5.3 Linux kernel. Unfortunately,
that update introduced a regression in overlayfs. This update corrects
the problem.
We apologize for the inconvenience.
Original advisory details:
It was discovered that the btrfs implementation in the Linux kernel did not
properly detect that a block was marked dirty in some situations. An
attacker could use this to specially craft a file system image that, when
unmounted, could cause a denial of service (system crash). (CVE-2019-19377)
Tristan Madani discovered that the file locking implementation in the Linux
kernel contained a race condition. A local attacker could possibly use this
to cause a denial of service or expose sensitive information.
(CVE-2019-19769)
OSV
linux, linux-aws, linux-aws-5.3, linux-azure, linux-azure-5.3, linux-gcp, linux-gcp-5.3, linux-gke-5.3, linux-hwe, linux-kvm, linux-oracle, linux-oracle-5.3, linux-raspi2 vulnerabilities
osv·2020-05-24·CVSS 7.8
CVE-2019-19377 [HIGH] linux, linux-aws, linux-aws-5.3, linux-azure, linux-azure-5.3, linux-gcp, linux-gcp-5.3, linux-gke-5.3, linux-hwe, linux-kvm, linux-oracle, linux-oracle-5.3, linux-raspi2 vulnerabilities
linux, linux-aws, linux-aws-5.3, linux-azure, linux-azure-5.3, linux-gcp, linux-gcp-5.3, linux-gke-5.3, linux-hwe, linux-kvm, linux-oracle, linux-oracle-5.3, linux-raspi2 vulnerabilities
It was discovered that the btrfs implementation in the Linux kernel did not
properly detect that a block was marked dirty in some situations. An
attacker could use this to specially craft a file system image that, when
unmounted, could cause a denial of service (system crash). (CVE-2019-19377)
Tristan Madani discovered that the file locking implementation in the Linux
kernel contained a race condition. A local attacker could possibly use this
to cause a denial of service or expose sensitive information.
(CVE-2019-19769)
It was discovered that the Serial CAN interface driver in the Linux kernel
did not p
OSV
linux, linux-aws, linux-azure, linux-gcp, linux-kvm, linux-oracle, linux-raspi, linux-riscv vulnerabilities
osv·2020-05-24·CVSS 7.8
CVE-2019-19377 [HIGH] linux, linux-aws, linux-azure, linux-gcp, linux-kvm, linux-oracle, linux-raspi, linux-riscv vulnerabilities
linux, linux-aws, linux-azure, linux-gcp, linux-kvm, linux-oracle, linux-raspi, linux-riscv vulnerabilities
It was discovered that the btrfs implementation in the Linux kernel did not
properly detect that a block was marked dirty in some situations. An
attacker could use this to specially craft a file system image that, when
unmounted, could cause a denial of service (system crash). (CVE-2019-19377)
It was discovered that the linux kernel did not properly validate certain
mount options to the tmpfs virtual memory file system. A local attacker
with the ability to specify mount options could use this to cause a denial
of service (system crash). (CVE-2020-11565)
It was discovered that the block layer in the Linux kernel contained a race
condition leading to a use-after-free vulnerability.
Kernel
btrfs: Don't submit any btree write bio if the fs has errors
kernel_security·2020-02-12
CVE-2019-19377 btrfs: Don't submit any btree write bio if the fs has errors
btrfs: Don't submit any btree write bio if the fs has errors
[BUG]
There is a fuzzed image which could cause KASAN report at unmount time.
BUG: KASAN: use-after-free in btrfs_queue_work+0x2c1/0x390
Read of size 8 at addr ffff888067cf6848 by task umount/1922
CPU: 0 PID: 1922 Comm: umount Tainted: G W 5.0.21 #1
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1ubuntu1 04/01/2014
Call Trace:
dump_stack+0x5b/0x8b
print_address_description+0x70/0x280
kasan_report+0x13a/0x19b
btrfs_queue_work+0x2c1/0x390
btrfs_wq_submit_bio+0x1cd/0x240
btree_submit_bio_hook+0x18c/0x2a0
submit_one_bio+0x1be/0x320
flush_write_bio.isra.41+0x2c/0x70
btree_write_cache_pages+0x3bb/0x7f0
do_writepages+0x5c/0x130
__writeback_single_inode+0xa3/0x9a0
writeback_single_inode+0x23d/0x390
write_inode_now+
OSV
CVE-2019-19377: In the Linux kernel 5
osv·2019-11-29·CVSS 7.8
CVE-2019-19377 [HIGH] CVE-2019-19377: In the Linux kernel 5
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.
Ubuntu
Linux kernel vulnerabilities
vendor_ubuntu·2020-07-06·CVSS 4.1
CVE-2019-19318 [MEDIUM] Linux kernel vulnerabilities
Title: Linux kernel vulnerabilities
Summary: Several security issues were fixed in the Linux kernel.
It was discovered that the network block device (nbd) implementation in the
Linux kernel did not properly check for error conditions in some
situations. An attacker could possibly use this to cause a denial of service
(system crash). (CVE-2019-16089)
It was discovered that the btrfs file system implementation in the Linux
kernel did not properly validate file system metadata in some situations.
An attacker could use this to construct a malicious btrfs image that, when
mounted, could cause a denial of service (system crash). (CVE-2019-19036,
CVE-2019-19318, CVE-2019-19813, CVE-2019-19816)
It was discovered that the btrfs implementation in the Linux kernel did not
properly detect that a b
Ubuntu
Linux kernel regression
vendor_ubuntu·2020-05-28·CVSS 7.8
[HIGH] Linux kernel regression
Title: Linux kernel regression
Summary: USN-4369-1 introduced a regression in the Linux kernel.
USN-4369-1 fixed vulnerabilities in the 5.3 Linux kernel. Unfortunately,
that update introduced a regression in overlayfs. This update corrects
the problem.
We apologize for the inconvenience.
Original advisory details:
It was discovered that the btrfs implementation in the Linux kernel did not
properly detect that a block was marked dirty in some situations. An
attacker could use this to specially craft a file system image that, when
unmounted, could cause a denial of service (system crash). (CVE-2019-19377)
Tristan Madani discovered that the file locking implementation in the Linux
kernel contained a race condition. A local attacker could possibly use this
to cause a denial of service or
Ubuntu
Linux kernel regression
vendor_ubuntu·2020-05-28·CVSS 7.8
[HIGH] Linux kernel regression
Title: Linux kernel regression
Summary: USN-4367-1 introduced a regression in the Linux kernel.
USN-4367-1 fixed vulnerabilities in the 5.4 Linux kernel. Unfortunately,
that update introduced a regression in overlayfs. This update corrects
the problem.
We apologize for the inconvenience.
Original advisory details:
It was discovered that the btrfs implementation in the Linux kernel did not
properly detect that a block was marked dirty in some situations. An
attacker could use this to specially craft a file system image that, when
unmounted, could cause a denial of service (system crash). (CVE-2019-19377)
It was discovered that the linux kernel did not properly validate certain
mount options to the tmpfs virtual memory file system. A local attacker
with the ability to specify mount opt
Ubuntu
Linux kernel vulnerabilities
vendor_ubuntu·2020-05-24·CVSS 7.8
CVE-2019-19377 [HIGH] Linux kernel vulnerabilities
Title: Linux kernel vulnerabilities
Summary: Several security issues were fixed in the Linux kernel.
It was discovered that the btrfs implementation in the Linux kernel did not
properly detect that a block was marked dirty in some situations. An
attacker could use this to specially craft a file system image that, when
unmounted, could cause a denial of service (system crash). (CVE-2019-19377)
It was discovered that the linux kernel did not properly validate certain
mount options to the tmpfs virtual memory file system. A local attacker
with the ability to specify mount options could use this to cause a denial
of service (system crash). (CVE-2020-11565)
It was discovered that the block layer in the Linux kernel contained a race
condition leading to a use-after-free vulnerability. A loca
Ubuntu
Linux kernel vulnerabilities
vendor_ubuntu·2020-05-24·CVSS 7.8
CVE-2019-19377 [HIGH] Linux kernel vulnerabilities
Title: Linux kernel vulnerabilities
Summary: Several security issues were fixed in the Linux kernel.
It was discovered that the btrfs implementation in the Linux kernel did not
properly detect that a block was marked dirty in some situations. An
attacker could use this to specially craft a file system image that, when
unmounted, could cause a denial of service (system crash). (CVE-2019-19377)
Tristan Madani discovered that the file locking implementation in the Linux
kernel contained a race condition. A local attacker could possibly use this
to cause a denial of service or expose sensitive information.
(CVE-2019-19769)
It was discovered that the Serial CAN interface driver in the Linux kernel
did not properly initialize data. A local attacker could use this to expose
sensitive informat
Red Hat
kernel: use-after-free in btrfs_queue_work in fs/btrfs/async-thread.c
vendor_redhat·2019-11-28·CVSS 7.8
CVE-2019-19377 [HIGH] CWE-416 kernel: use-after-free in btrfs_queue_work in fs/btrfs/async-thread.c
kernel: use-after-free in btrfs_queue_work in fs/btrfs/async-thread.c
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.
A flaw was found in the Linux kernel's implementation of the BTRFS file system. A local attacker, with the ability to mount a file system, can create a use-after-free memory fault after the file system has been unmounted. This may lead to memory corruption or privilege escalation.
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 et
Debian
CVE-2019-19377: linux - In the Linux kernel 5.0.21, mounting a crafted btrfs filesystem image, performin...
vendor_debian·2019·CVSS 7.8
CVE-2019-19377 [HIGH] CVE-2019-19377: linux - In the Linux kernel 5.0.21, mounting a crafted btrfs filesystem image, performin...
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.
Scope: local
bookworm: resolved (fixed in 5.6.7-1)
bullseye: resolved (fixed in 5.6.7-1)
forky: resolved (fixed in 5.6.7-1)
sid: resolved (fixed in 5.6.7-1)
trixie: resolved (fixed in 5.6.7-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2019-19377 kernel: use-after-free in btrfs_queue_work in fs/btrfs/async-thread.c
bugzilla·2019-12-10·CVSS 7.8
CVE-2019-19377 [HIGH] CVE-2019-19377 kernel: use-after-free in btrfs_queue_work in fs/btrfs/async-thread.c
CVE-2019-19377 kernel: use-after-free in btrfs_queue_work in fs/btrfs/async-thread.c
A flaw was found in the Linux kernels implementation of the BTRFS file system. A local attacker with the ability to mount a file system can create a use-after-free after the file system has been unmounted. This may lead to memory corruption or possibly privilege escalation.
Reference:
https://github.com/bobfuzzer/CVE/tree/master/CVE-2019-19377
Discussion:
Created kernel tracking bugs for this issue:
Affects: fedora-all [bug 1781895]
---
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 rest
Bugzilla
CVE-2019-19377 kernel: use-after-free in btrfs_queue_work in fs/btrfs/async-thread.c [fedora-all]
bugzilla·2019-12-10·CVSS 7.8
CVE-2019-19377 [HIGH] CVE-2019-19377 kernel: use-after-free in btrfs_queue_work in fs/btrfs/async-thread.c [fedora-all]
CVE-2019-19377 kernel: use-after-free in btrfs_queue_work in fs/btrfs/async-thread.c [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multipl
https://github.com/bobfuzzer/CVE/tree/master/CVE-2019-19377https://lists.debian.org/debian-lts-announce/2020/12/msg00015.htmlhttps://security.netapp.com/advisory/ntap-20200103-0001/https://usn.ubuntu.com/4367-1/https://usn.ubuntu.com/4369-1/https://usn.ubuntu.com/4414-1/https://github.com/bobfuzzer/CVE/tree/master/CVE-2019-19377https://lists.debian.org/debian-lts-announce/2020/12/msg00015.htmlhttps://security.netapp.com/advisory/ntap-20200103-0001/https://usn.ubuntu.com/4367-1/https://usn.ubuntu.com/4369-1/https://usn.ubuntu.com/4414-1/
2019-11-29
Published