Overlayfs in the Linux kernel and shiftfs, a non-upstream patch to the Linux kernel included in the Ubuntu 5.0 and 5.3 kernel series, both replace vma->vm_file in their mmap handlers. On error the original value is not restored, and the reference is put for the file to which vm_file points. On upstream kernels this is not an issue, as no callers dereference vm_file following after call_mmap() returns an error. However, the aufs patchs change mmap_region() to replace the fput() using a local variable with vma_fput(), which will fput() vm_file, leading to a refcount underflow.
CVSS Details
- CVSS 3.1 Base Score: 7.1
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Debian | debian-upgrade-linux | Jul 30, 2024 | Apr 24, 2020 | |
| Redhat_linux | — | no-fix-redhat-rpm-package | Jul 9, 2025 | Apr 24, 2020 |
| Ubuntu | ubuntu-upgrade-linux-image-5-0-0-1008-oracleubuntu-upgrade-linux-image-5-0-0-1022-awsubuntu-upgrade-linux-image-5-0-0-1023-kvmubuntu-upgrade-linux-image-5-0-0-1023-raspi2ubuntu-upgrade-linux-image-5-0-0-1026-gcpubuntu-upgrade-linux-image-5-0-0-1026-gkeubuntu-upgrade-linux-image-5-0-0-1030-oem-osp1ubuntu-upgrade-linux-image-5-0-0-37-genericubuntu-upgrade-linux-image-5-0-0-37-generic-lpaeubuntu-upgrade-linux-image-5-0-0-37-lowlatencyubuntu-upgrade-linux-image-5-3-0-1007-oracleubuntu-upgrade-linux-image-5-3-0-1008-awsubuntu-upgrade-linux-image-5-3-0-1008-kvmubuntu-upgrade-linux-image-5-3-0-1009-gcpubuntu-upgrade-linux-image-5-3-0-24-genericubuntu-upgrade-linux-image-5-3-0-24-generic-lpaeubuntu-upgrade-linux-image-5-3-0-24-lowlatencyubuntu-upgrade-linux-image-5-3-0-24-snapdragonubuntu-upgrade-linux-image-awsubuntu-upgrade-linux-image-aws-edgeubuntu-upgrade-linux-image-gcpubuntu-upgrade-linux-image-gcp-edgeubuntu-upgrade-linux-image-genericubuntu-upgrade-linux-image-generic-hwe-18-04ubuntu-upgrade-linux-image-generic-lpaeubuntu-upgrade-linux-image-generic-lpae-hwe-18-04ubuntu-upgrade-linux-image-gkeubuntu-upgrade-linux-image-gke-5-0ubuntu-upgrade-linux-image-kvmubuntu-upgrade-linux-image-lowlatencyubuntu-upgrade-linux-image-lowlatency-hwe-18-04ubuntu-upgrade-linux-image-oem-osp1ubuntu-upgrade-linux-image-oracleubuntu-upgrade-linux-image-oracle-edgeubuntu-upgrade-linux-image-raspi2ubuntu-upgrade-linux-image-snapdragonubuntu-upgrade-linux-image-snapdragon-hwe-18-04ubuntu-upgrade-linux-image-virtualubuntu-upgrade-linux-image-virtual-hwe-18-04 | Dec 3, 2019 | Dec 2, 2019 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub