CVE-2019-19813

NameCVE-2019-19813
DescriptionIn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-2385-1, DLA-2586-1, ELA-378-1
NVD severityhigh

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
linux (PTS)jessie, jessie (lts)3.16.84-1vulnerable
stretch4.9.228-1vulnerable
stretch (security)4.9.290-1fixed
buster4.19.208-1fixed
buster (security)4.19.194-3fixed
bullseye5.10.84-1fixed
bullseye (security)5.10.92-1fixed
sid, bookworm5.15.15-1fixed
linux-4.19 (PTS)stretch (security)4.19.208-1~deb9u1fixed
linux-4.9 (PTS)jessie, jessie (lts)4.9.290-1~deb8u1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
linuxsourcewheezy(unfixed)end-of-life
linuxsourcejessie(unfixed)end-of-life
linuxsourcestretch4.9.258-1DLA-2586-1
linuxsourcebuster4.19.146-1
linuxsource(unstable)5.2.6-1
linux-4.19sourcestretch4.19.146-1~deb9u1DLA-2385-1
linux-4.9sourcejessie4.9.258-1~deb8u1ELA-378-1

Notes

https://git.kernel.org/linus/6bf9e4bd6a277840d3fe8c5d5d530a1fbd3db592

Search for package or bug name: Reporting problems