{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-54119","id":"CVE-2023-54119","title":"inotify: Avoid reporting event with invalid wd","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ninotify: Avoid reporting event with invalid wd\n\nWhen inotify_freeing_mark() races with inotify_handle_inode_event() it\ncan happen that inotify_handle_inode_event() sees that i_mark->wd got\nalready reset to -1 and reports this value to userspace which can\nconfuse the inotify listener. Avoid the problem by validating that wd is\nsen","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\ninotify: Avoid reporting event with invalid wd\n\nWhen inotify_freeing_mark() races with inotify_handle_inode_event() it\ncan happen that inotify_handle_inode_event() sees that i_mark->wd got\nalready reset to -1 and reports this value to userspace which can\nconfuse the inotify listener. Avoid the problem by validating that wd is\nsensible (and pretend the mark got removed before the event got\ngenerated otherwise).","published":"2025-12-24T13:06:39.692Z","updated":"2026-10-28T02:30:53.557866631Z","reserved":"2025-12-24T13:02:52.520Z","status":"Deferred","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"7e790dd5fc937bc8d2400c30a05e32a9e9eef276","lessThan":"8fb33166aed888769ea63d6af49515893f8a1f14","status":"affected","versionType":"git"},{"version":"7e790dd5fc937bc8d2400c30a05e32a9e9eef276","lessThan":"2d65c97777e5b4a845637800d5d7b648f5772106","status":"affected","versionType":"git"},{"version":"7e790dd5fc937bc8d2400c30a05e32a9e9eef276","lessThan":"17ad86d8c12220de97e80d88b5b4c934a40e1812","status":"affected","versionType":"git"},{"version":"7e790dd5fc937bc8d2400c30a05e32a9e9eef276","lessThan":"145f54ea336b06cf4f92eeee996f2ffca939ea43","status":"affected","versionType":"git"},{"version":"7e790dd5fc937bc8d2400c30a05e32a9e9eef276","lessThan":"fb3294998489d39835006240e9c6e6b2ac62022e","status":"affected","versionType":"git"},{"version":"7e790dd5fc937bc8d2400c30a05e32a9e9eef276","lessThan":"a48bacee05860c6089c3482bcdc80720b0ee5732","status":"affected","versionType":"git"},{"version":"7e790dd5fc937bc8d2400c30a05e32a9e9eef276","lessThan":"c915d8f5918bea7c3962b09b8884ca128bfd9b0c","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.31","status":"affected"},{"version":"0","lessThan":"2.6.31","status":"unaffected","versionType":"semver"},{"version":"5.4.243","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.180","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.112","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.29","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.2.16","lessThanOrEqual":"6.2.*","status":"unaffected","versionType":"semver"},{"version":"6.3.3","lessThanOrEqual":"6.3.*","status":"unaffected","versionType":"semver"},{"version":"6.4","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/8fb33166aed888769ea63d6af49515893f8a1f14","tags":["web"]},{"url":"https://git.kernel.org/stable/c/2d65c97777e5b4a845637800d5d7b648f5772106","tags":["web"]},{"url":"https://git.kernel.org/stable/c/17ad86d8c12220de97e80d88b5b4c934a40e1812","tags":["web"]},{"url":"https://git.kernel.org/stable/c/145f54ea336b06cf4f92eeee996f2ffca939ea43","tags":["web"]},{"url":"https://git.kernel.org/stable/c/fb3294998489d39835006240e9c6e6b2ac62022e","tags":["web"]},{"url":"https://git.kernel.org/stable/c/a48bacee05860c6089c3482bcdc80720b0ee5732","tags":["web"]},{"url":"https://git.kernel.org/stable/c/c915d8f5918bea7c3962b09b8884ca128bfd9b0c","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54119.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54119","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00214,"epssPercentile":0.11893,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-54119","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-54119","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-54119","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-54119","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}