published 23 Apr 2020 · updated 17 Sep 2024
Reference count underflow in shiftfs
8.1HighCVSS 7.1EPSS 1%1 public exploits
A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 5.0.0-35.38 and 5.3 kernel*.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Ubuntu | >=5.0 kernel <5.0.0-35.38, >=5.3.0-11.12 <5.3 kernel* | 5.0.0-35.38, 5.3 kernel* |
Exploit evidence
1 public sources
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket