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.
Metrics
CVSS 3.1 7.8/10
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu | Shiftfs in the Linux kernel | >= 5.3.0-11.12, < 5.3 kernel*; >= 5.0 kernel, < 5.0.0-35.38 |
References
- https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/?id=601a64857b3d7040ca15c39c929e6b9db3373ec1Mailing List, Patch, Third Party Advisory
- https://usn.ubuntu.com/usn/usn-4183-1Third Party Advisory
- https://usn.ubuntu.com/usn/usn-4184-1Third Party Advisory
- https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/?id=601a64857b3d7040ca15c39c929e6b9db3373ec1Mailing List, Patch, Third Party Advisory
- https://usn.ubuntu.com/usn/usn-4183-1Third Party Advisory
- https://usn.ubuntu.com/usn/usn-4184-1Third Party Advisory
Timeline
- Published
- Apr 24, 2020
- Last modified
- Jun 17, 2026
- NVD status
- Modified