CVE-2023-54119

Source
https://cve.org/CVERecord?id=CVE-2023-54119
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54119.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-54119
Downstream
Related
Published
2025-12-24T13:06:39.692Z
Modified
2026-03-20T12:33:27.267343Z
Summary
inotify: Avoid reporting event with invalid wd
Details

In the Linux kernel, the following vulnerability has been resolved:

inotify: Avoid reporting event with invalid wd

When inotifyfreeingmark() races with inotifyhandleinodeevent() it can happen that inotifyhandleinodeevent() sees that i_mark->wd got already reset to -1 and reports this value to userspace which can confuse the inotify listener. Avoid the problem by validating that wd is sensible (and pretend the mark got removed before the event got generated otherwise).

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54119.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7e790dd5fc937bc8d2400c30a05e32a9e9eef276
Fixed
8fb33166aed888769ea63d6af49515893f8a1f14
Fixed
2d65c97777e5b4a845637800d5d7b648f5772106
Fixed
17ad86d8c12220de97e80d88b5b4c934a40e1812
Fixed
145f54ea336b06cf4f92eeee996f2ffca939ea43
Fixed
fb3294998489d39835006240e9c6e6b2ac62022e
Fixed
a48bacee05860c6089c3482bcdc80720b0ee5732
Fixed
c915d8f5918bea7c3962b09b8884ca128bfd9b0c

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54119.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.31
Fixed
5.4.243
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.180
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.112
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.29
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.2.16
Type
ECOSYSTEM
Events
Introduced
6.3.0
Fixed
6.3.3

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54119.json"