Use After Free Affecting linux-4.19 package, versions <4.19.146-1~deb9u1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.13% (50th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN9-LINUX419-1013381
  • published17 Dec 2019
  • disclosed17 Dec 2019

Introduced: 17 Dec 2019

CVE-2019-19813  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade Debian:9 linux-4.19 to version 4.19.146-1~deb9u1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream linux-4.19 package and not the linux-4.19 package as distributed by Debian. See How to fix? for Debian:9 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1