CVE-2019-9857
published 2019-03-21CVE-2019-9857: 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…
PriorityP418medium5.5CVSS 3.0
AVLACLPRLUINSUCNINAH
EPSS
0.42%
34.4th percentile
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.
Affected
6 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 4.19.37-1 (bookworm) | linux 4.19.37-1 (bookworm) |
| linux | linux_kernel | <= 5.0.2 | — |
| linux | linux_kernel | >= 0 < 4.19.37-1 | 4.19.37-1 |
| linux | linux_kernel | >= 0 < 4.19.37-1 | 4.19.37-1 |
| linux | linux_kernel | >= 0 < 4.19.37-1 | 4.19.37-1 |
| linux | linux_kernel | >= 0 < 4.19.37-1 | 4.19.37-1 |
CVSS provenance
nvdv3.05.5MEDIUMCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
nvdv2.04.9MEDIUMAV:L/AC:L/Au:N/C:N/I:N/A:C
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-p54v-5qqx-fv5f: In the Linux kernel through 5
ghsa_unreviewed·2022-05-13
CVE-2019-9857 [MEDIUM] CWE-401 GHSA-p54v-5qqx-fv5f: In the Linux kernel through 5
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.
OSV
CVE-2019-9857: In the Linux kernel through 5
osv·2019-03-21·CVSS 5.5
CVE-2019-9857 [MEDIUM] CVE-2019-9857: In the Linux kernel through 5
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.
Red Hat
kernel: memory leak in inotify_update_existing_watch() leads to denial of service
vendor_redhat·2019-03-02·CVSS 5.5
CVE-2019-9857 [MEDIUM] CWE-400 kernel: memory leak in inotify_update_existing_watch() leads to denial of service
kernel: memory leak in inotify_update_existing_watch() leads to denial of service
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.
A flaw in the inotify subsystem can allow a local attacker to create a denial of service (DOS) situation in which the memory use of watches on existing watchpoints were not accounted for correctly.
Package: kernel (Red Hat Enterprise Linux 5) - Not affected
Package: kernel (Red Hat Enterprise Linux 6) - Not affected
Package: kernel (Red Hat Enterprise Linux 7) - Not affected
Package: kernel-alt (Red Hat Enterp
Debian
CVE-2019-9857: linux - In the Linux kernel through 5.0.2, the function inotify_update_existing_watch() ...
vendor_debian·2019·CVSS 5.5
CVE-2019-9857 [MEDIUM] CVE-2019-9857: linux - In the Linux kernel through 5.0.2, the function inotify_update_existing_watch() ...
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.
Scope: local
bookworm: resolved (fixed in 4.19.37-1)
bullseye: resolved (fixed in 4.19.37-1)
forky: resolved (fixed in 4.19.37-1)
sid: resolved (fixed in 4.19.37-1)
trixie: resolved (fixed in 4.19.37-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2019-9857 kernel: memory leak in inotify_update_existing_watch() leads to denial of service
bugzilla·2019-04-01·CVSS 5.5
CVE-2019-9857 [MEDIUM] CVE-2019-9857 kernel: memory leak in inotify_update_existing_watch() leads to denial of service
CVE-2019-9857 kernel: memory leak in inotify_update_existing_watch() leads to denial of service
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.
Upstream patch:
https://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git/commit/?h=fsnotify&id=62c9d2674b31d4c8a674bee86b7edc6da2803aea
References:
https://patchwork.kernel.org/patch/10836283/
Discussion:
Created kernel tracking bugs for this issue:
Affects: fedora-all [bug 1694759]
---
kernel-5.0.6-100.fc28, kernel-headers-5.0.6-100.fc28, kernel-tools-5.0.6-100.fc28 has been pushed to
Bugzilla
CVE-2019-9857 kernel: memory leak in inotify_update_existing_watch() leads to denial of service [fedora-all]
bugzilla·2019-04-01·CVSS 5.5
CVE-2019-9857 [MEDIUM] CVE-2019-9857 kernel: memory leak in inotify_update_existing_watch() leads to denial of service [fedora-all]
CVE-2019-9857 kernel: memory leak in inotify_update_existing_watch() leads to denial of service [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of fedora-all.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affe
http://www.securityfocus.com/bid/107527https://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git/commit/?h=fsnotify&id=62c9d2674b31d4c8a674bee86b7edc6da2803aeahttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NXLZ2V2ES37A3J7DMK4MZYIWV2LEZFLM/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PPH3B7FJOMWD5JWUPZKB6T44KNT4PX2L/https://patchwork.kernel.org/patch/10836283/https://security.netapp.com/advisory/ntap-20190404-0002/http://www.securityfocus.com/bid/107527https://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git/commit/?h=fsnotify&id=62c9d2674b31d4c8a674bee86b7edc6da2803aeahttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NXLZ2V2ES37A3J7DMK4MZYIWV2LEZFLM/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PPH3B7FJOMWD5JWUPZKB6T44KNT4PX2L/https://patchwork.kernel.org/patch/10836283/https://security.netapp.com/advisory/ntap-20190404-0002/
2019-03-21
Published