# CVE-2022-50385: NFS: Fix an Oops in nfs_d_automount()

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2025-09-18T13:33:06.484Z
- Modified: 2026-06-17T05:23:24.090Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 2b0143b5c986be1ce8408b3aadc4709e0a94429d before 5458bc0f9df639d83471ca384152cc62dbee0aeb; from 2b0143b5c986be1ce8408b3aadc4709e0a94429d before f12377abac15fb4e8698225ac386894f8ae63598; from 2b0143b5c986be1ce8408b3aadc4709e0a94429d before b6fd25d64b0de27991d6bd677f0adf69ad6ff07a; from 2b0143b5c986be1ce8408b3aadc4709e0a94429d before 6f3d56783fbed861e483736a7001bdafd0dddd53; from 2b0143b5c986be1ce8408b3aadc4709e0a94429d before 35e3b6ae84935d0d7ff76cbdaa83411b0ad5e471; 4.1 (not affected: before 4.1; from 5.10.163 up to 5.10.*; from 5.15.86 up to 5.15.*; from 6.0.16 up to 6.0.*; from 6.1.2 up to 6.1.*; from 6.2 up to *)
- linux linux_kernel: from 4.1 before 5.10.163; from 5.11 before 5.15.86; from 5.16 before 6.0.16; from 6.1 before 6.1.2

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/5458bc0f9df639d83471ca384152cc62dbee0aeb> (patch)
- <https://git.kernel.org/stable/c/f12377abac15fb4e8698225ac386894f8ae63598> (patch)
- <https://git.kernel.org/stable/c/b6fd25d64b0de27991d6bd677f0adf69ad6ff07a> (patch)
- <https://git.kernel.org/stable/c/6f3d56783fbed861e483736a7001bdafd0dddd53> (patch)
- <https://git.kernel.org/stable/c/35e3b6ae84935d0d7ff76cbdaa83411b0ad5e471> (patch)

## Sources

- CVE List: [CVE-2022-50385](https://www.cve.org/CVERecord?id=CVE-2022-50385), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-50385](https://nvd.nist.gov/vuln/detail/CVE-2022-50385), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-50385 · Whole record: https://cve.day/CVE-2022-50385.json · Rebuilt by cve.day 2026-11-25T22:58:21.191Z
