{"id":"CVE-2023-54119","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2025-12-24T13:16:13.837","lastModified":"2026-06-17T06:46:50.163","vulnStatus":"Deferred","cveTags":[],"descriptions":[{"lang":"en","value":"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)."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["fs/notify/inotify/inotify_fsnotify.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"7e790dd5fc937bc8d2400c30a05e32a9e9eef276","lessThan":"8fb33166aed888769ea63d6af49515893f8a1f14","versionType":"git","status":"affected"},{"version":"7e790dd5fc937bc8d2400c30a05e32a9e9eef276","lessThan":"2d65c97777e5b4a845637800d5d7b648f5772106","versionType":"git","status":"affected"},{"version":"7e790dd5fc937bc8d2400c30a05e32a9e9eef276","lessThan":"17ad86d8c12220de97e80d88b5b4c934a40e1812","versionType":"git","status":"affected"},{"version":"7e790dd5fc937bc8d2400c30a05e32a9e9eef276","lessThan":"145f54ea336b06cf4f92eeee996f2ffca939ea43","versionType":"git","status":"affected"},{"version":"7e790dd5fc937bc8d2400c30a05e32a9e9eef276","lessThan":"fb3294998489d39835006240e9c6e6b2ac62022e","versionType":"git","status":"affected"},{"version":"7e790dd5fc937bc8d2400c30a05e32a9e9eef276","lessThan":"a48bacee05860c6089c3482bcdc80720b0ee5732","versionType":"git","status":"affected"},{"version":"7e790dd5fc937bc8d2400c30a05e32a9e9eef276","lessThan":"c915d8f5918bea7c3962b09b8884ca128bfd9b0c","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["fs/notify/inotify/inotify_fsnotify.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"2.6.31","status":"affected"},{"version":"0","lessThan":"2.6.31","versionType":"semver","status":"unaffected"},{"version":"5.4.243","lessThanOrEqual":"5.4.*","versionType":"semver","status":"unaffected"},{"version":"5.10.180","lessThanOrEqual":"5.10.*","versionType":"semver","status":"unaffected"},{"version":"5.15.112","lessThanOrEqual":"5.15.*","versionType":"semver","status":"unaffected"},{"version":"6.1.29","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.2.16","lessThanOrEqual":"6.2.*","versionType":"semver","status":"unaffected"},{"version":"6.3.3","lessThanOrEqual":"6.3.*","versionType":"semver","status":"unaffected"},{"version":"6.4","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/145f54ea336b06cf4f92eeee996f2ffca939ea43","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/17ad86d8c12220de97e80d88b5b4c934a40e1812","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/2d65c97777e5b4a845637800d5d7b648f5772106","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/8fb33166aed888769ea63d6af49515893f8a1f14","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/a48bacee05860c6089c3482bcdc80720b0ee5732","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/c915d8f5918bea7c3962b09b8884ca128bfd9b0c","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/fb3294998489d39835006240e9c6e6b2ac62022e","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}