CVE Database›Document archive›CVE-2023-54119

CVE-2023-54119

kernel: inotify: Avoid reporting event with invalid wd

Loading…

Severity

Low

Red Hat Product Security

3.3

CVSS 3.1

Review impact separately from score.

Published · December 24, 2025

Updated · June 30, 2026

Description

A race condition was found in the Linux kernel's inotify subsystem. When inotify_freeing_mark() races with inotify_handle_inode_event(), the event handler may read i_mark->wd after it has been reset to -1. This causes an invalid watch descriptor value of -1 to be reported to userspace applications, potentially confusing inotify listeners.

Statement

This flaw results in incorrect data being delivered to userspace applications via the inotify interface. While applications may become confused by receiving an invalid watch descriptor, this does not cause a kernel crash or memory corruption. The impact is limited to potential misbehavior in userspace file monitoring applications.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 3.3
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

CWE-367 · Time-of-check Time-of-use (TOCTOU) Race Condition