CVE Database›CVE-2025-68185

CVE-2025-68185

kernel: nfs4_setup_readdir(): insufficient locking for ->d_parent->d_inode dereferencing

Loading…

Severity

Moderate

Red Hat Product Security

5.5

CVSS 3.1

Review impact separately from score.

Published · December 16, 2025

Updated · June 30, 2026

Description

A race condition exists in the NFS4 client's nfs4_setup_readdir() function in the Linux kernel. The code dereferences ->d_parent->d_inode without holding d_lock, creating a theoretical race where the parent could be changed during the operation, leading to a null pointer dereference.

Statement

As noted by the patch author, this race is extremely difficult to trigger on real hardware. The fix adds proper locking as a precaution. Practical exploitation is considered unlikely.

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 · 5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

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