CVE-2025-40237
kernel: fs/notify: call exportfs_encode_fid with s_umount
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · December 4, 2025
Updated · October 8, 2026
Description
A flaw was found in the Linux kernel’s filesystem notification (fs/notify) code where calling inotify_show_fdinfo() on a file descriptor watching an overlayfs inode during an unmount operation could lead to a NULL pointer dereference.
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
Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
CVSS / CWE
CVSS 3.1 · 5.8CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:H
CWE-476 · NULL Pointer Dereference