CVE-2026-101316

high

Description

When automatically removing a watch, inotify_log_one() checked only that a watch with the same watch descriptor was still registered, not that it was the same watch. Watch descriptors are allocated from a 32-bit counter, so by forcing the counter to wrap around, a user could cause a new watch to reuse the descriptor of one being removed concurrently. The kernel could then free a watch which was still in use, resulting in a use-after-free. An unprivileged local user may be able to exploit the bug to escalate privileges, potentially gaining full control of the affected system.

Details

Source: Mitre, NVD

Published: 2026-11-18

Risk Information

CVSS v2

Base Score: 4.6

Vector: CVSS2#AV:L/AC:L/Au:N/C:P/I:P/A:P

Severity: Medium

CVSS v3

Base Score: 7.8

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Severity: High