{"id":"CVE-2019-15794","aliases":["CVE-2019-15794"],"related":[],"kind":"vulnerability","state":"published","title":"Reference counting error in overlayfs/shiftfs error path when used in conjuction with aufs","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Overlayfs en el kernel de Linux y shiftfs, un parche no upstream para el kernel de Linux incluido en las series de kernel Ubuntu versiones 5.0 y 5.3, ambos reemplazan vma-&gt;vm_file en sus manejadores de mmap. En el error el valor original no se restaura, y se pone la referencia para el archivo al que apunta vm_file. En los núcleos ascendentes esto no es un problema, ya que ninguna de las llamadas que siguen a vm_file después de call_mmap() devuelve un error. Sin embargo, los parches de aufs cambian mmap_region() para reemplazar el fput() usando una variable local con vma_fput(), la cual fput() vm_file, lo que lleva a un subflujo de recuento.","source":"nvd"}],"published":"2020-04-23T23:55:25.039Z","modified":"2026-06-17T02:21:05.330Z","severity":{"scorer":"canonical","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"canonical","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","score":7.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","score":6.7,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","score":7.2,"rating":"HIGH"}],"cwes":["CWE-672"],"affected":[{"ranges":[{"type":"custom","introduced":"5.3 kernel","fixed":"5.3.0-24.26","status":"affected"},{"type":"custom","introduced":"5.0 kernel","fixed":"5.0.0-37.40","status":"affected"}],"vendor":"Ubuntu","product":"Linux kernel","source":"cvelist"},{"ranges":[{"status":"affected","version":"5.0"},{"status":"affected","version":"5.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:5.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"18.04"},{"status":"affected","version":"19.10"}],"vendor":"canonical","product":"ubuntu_linux","cpe":"cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*","source":"nvd"}],"references":[{"url":"https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/?id=270d16ae48a4dbf1c7e25e94cc3e38b4bea37635","tags":["mailing-list","patch","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/eoan/commit/?id=ef81780548d20a786cc77ed4203fca146fd81ce3","tags":["mailing-list","patch","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://usn.ubuntu.com/usn/usn-4208-1","tags":["third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://usn.ubuntu.com/usn/usn-4209-1","tags":["third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["Jann Horn of Google Project Zero"],"assigner":"canonical","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2019-15794","url":"https://www.cve.org/CVERecord?id=CVE-2019-15794","licence":"CVE Terms of Use","modified":"2024-09-16T19:52:18.313Z"},{"source":"nvd","name":"NVD","id":"CVE-2019-15794","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-15794","licence":"Public domain","modified":"2026-06-17T02:21:05.330Z"}],"updatedAt":"2026-11-25T22:57:49.834Z","epss":{"score":0.01158,"percentile":0.68002,"date":"2026-12-01T12:00:22.000Z"}}