Memory Leak Vulnerability in Linux Kernel's inotify_update_existing_watch() Function

Memory Leak Vulnerability in Linux Kernel's inotify_update_existing_watch() Function

CVE-2019-9857 · MEDIUM Severity

AV:L/AC:L/AU:N/C:N/I:N/A:C

In the Linux kernel through 5.0.2, the function inotify_update_existing_watch() in fs/notify/inotify/inotify_user.c neglects to call fsnotify_put_mark() with IN_MASK_CREATE after fsnotify_find_mark(), which will cause a memory leak (aka refcount leak). Finally, this will cause a denial of service.

Learn more about our Cis Benchmark Audit For Distribution Independent Linux.