CVEvulnerability

CVE-2019-15791

7.8 HIGH Published 2020-04-24 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2020-04-24
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
7.1 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
CVSS 3.1 ([email protected])
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
4.6 MEDIUM — AV:L/AC:L/Au:N/C:P/I:P/A:P
Weaknesses
CWE-191, CWE-672

Description

In shiftfs, a non-upstream patch to the Linux kernel included in the Ubuntu 5.0 and 5.3 kernel series, shiftfs_btrfs_ioctl_fd_replace() installs an fd referencing a file from the lower filesystem without taking an additional reference to that file. After the btrfs ioctl completes this fd is closed, which then puts a reference to that file, leading to a refcount underflow.

Affected configurations

• linux linux kernel 5.0 • linux linux kernel 5.3 • canonical ubuntu linux 18.04 • canonical ubuntu linux 19.04

Related

Weakness · CWE (2)

  • CWE-191 Integer Underflow (Wrap or Wraparound) weakness
  • CWE-672 Operation on a Resource after Expiration or Release weakness

References