CVE Database›Document archive›CVE-2022-50385

CVE-2022-50385

kernel: NFS: Fix an Oops in nfs_d_automount()

Loading…

Severity

Moderate

Red Hat Product Security

5.1

CVSS 3.1

Review impact separately from score.

Published · September 18, 2025

Updated · June 30, 2026

Description

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

NFS: Fix an Oops in nfs_d_automount()

When mounting from a NFSv4 referral, path->dentry can end up being a negative dentry, so derive the struct nfs_server from the dentry itself instead.

Statement

The bug in nfs_d_automount() causes a NULL-pointer dereference when handling NFSv4 referrals if the path dentry is negative. A malicious or misconfigured NFS server could trigger a client-side oops during automount, leading to a denial of service (no confidentiality/integrity impact).

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

CWE-476 · NULL Pointer Dereference