{"schema_version":"1.9.0","id":"CVE-2022-50385","published":"2025-09-18T13:33:06.484Z","modified":"2026-08-12T03:51:16.617102831Z","related":["SUSE-SU-2025:03613-1","SUSE-SU-2025:03614-1","SUSE-SU-2025:03615-1","SUSE-SU-2025:03626-1","SUSE-SU-2025:03628-1","SUSE-SU-2025:3716-1","SUSE-SU-2025:3761-1"],"summary":"NFS: Fix an Oops in nfs_d_automount()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nNFS: Fix an Oops in nfs_d_automount()\n\nWhen mounting from a NFSv4 referral, path->dentry can end up being a\nnegative dentry, so derive the struct nfs_server from the dentry\nitself instead.","affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"2b0143b5c986be1ce8408b3aadc4709e0a94429d"},{"fixed":"5458bc0f9df639d83471ca384152cc62dbee0aeb"},{"fixed":"f12377abac15fb4e8698225ac386894f8ae63598"},{"fixed":"b6fd25d64b0de27991d6bd677f0adf69ad6ff07a"},{"fixed":"6f3d56783fbed861e483736a7001bdafd0dddd53"},{"fixed":"35e3b6ae84935d0d7ff76cbdaa83411b0ad5e471"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50385.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.1.0"},{"fixed":"5.10.163"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.86"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.0.16"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.1.0"},{"fixed":"6.1.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50385.json"}}],"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/35e3b6ae84935d0d7ff76cbdaa83411b0ad5e471"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5458bc0f9df639d83471ca384152cc62dbee0aeb"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6f3d56783fbed861e483736a7001bdafd0dddd53"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b6fd25d64b0de27991d6bd677f0adf69ad6ff07a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f12377abac15fb4e8698225ac386894f8ae63598"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50385.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50385"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50385.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}