{"id":"CVE-2026-89711","aliases":["CVE-2026-89711"],"related":[],"kind":"vulnerability","state":"published","title":"NFSD: remove flawed WARN_ON_ONCE from nfsd_mode_check","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nNFSD: remove flawed WARN_ON_ONCE from nfsd_mode_check\n\nThe header for commit e75b23f9e323 (\"nfsd: check d_can_lookup in\nfh_verify of directories\") details the assumption that justified\nadding the WARN_ON_ONCE to nfsd_mode_check(), that assumption is\ninvalid (in the case of NFS reexport).\n\nWhen NFSD exports an NFS filesystem it is very possible for\nnfsd_mode_check() to encounter a @dentry that doesn't have\ni_op->lookup (see nfs_fhget()'s NFS_ATTR_FATTR_MOUNTPOINT and\nNFS_ATTR_FATTR_V4_REFERRAL handling, and d_flags_for_inode()).\n\nSo remove nfsd_mode_check()'s WARN_ON_ONCE(). The nfserr_notdir\nreturn on that branch must stay. It guards the subsequent\nlookup_one_unlocked() -> __lookup_slow() path, which calls\ninode->i_op->lookup() with no NULL check, so returning nfserr_notdir\nis what keeps a client LOOKUP into such a @dentry from dereferencing\na NULL method pointer.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nNFSD: remove flawed WARN_ON_ONCE from nfsd_mode_check\n\nThe header for commit e75b23f9e323 (\"nfsd: check d_can_lookup in\nfh_verify of directories\") details the assumption that justified\nadding the WARN_ON_ONCE to nfsd_mode_check(), that assumption is\ninvalid (in the case of NFS reexport).\n\nWhen NFSD exports an NFS filesystem it is very possible for\nnfsd_mode_check() to encounter a @dentry that doesn't have\ni_op->lookup (see nfs_fhget()'s NFS_ATTR_FATTR_MOUNTPOINT and\nNFS_ATTR_FATTR_V4_REFERRAL handling, and d_flags_for_inode()).\n\nSo remove nfsd_mode_check()'s WARN_ON_ONCE(). The nfserr_notdir\nreturn on that branch must stay. It guards the subsequent\nlookup_one_unlocked() -> __lookup_slow() path, which calls\ninode->i_op->lookup() with no NULL check, so returning nfserr_notdir\nis what keeps a client LOOKUP into such a @dentry from dereferencing\na NULL method pointer.","source":"cvelist"}],"published":"2026-09-11T19:46:26.269Z","modified":"2026-10-19T09:18:09.960Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","score":8.2,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"e75b23f9e323b1e0759619c39d5a9f7a3a5d9d2c","fixed":"ae251937c6f0237e5b555a5e4ba4595b8206e865","status":"affected"},{"type":"git","introduced":"e75b23f9e323b1e0759619c39d5a9f7a3a5d9d2c","fixed":"e145e8d67a5d41c72d322e7f87ab474d39d9dfb7","status":"affected"},{"type":"git","introduced":"e75b23f9e323b1e0759619c39d5a9f7a3a5d9d2c","fixed":"9f4434893a2783f7384d993cea883aff3fb7a52d","status":"affected"},{"type":"git","introduced":"e75b23f9e323b1e0759619c39d5a9f7a3a5d9d2c","fixed":"2ef131323999539038e306773c8256403834361b","status":"affected"},{"type":"git","introduced":"e75b23f9e323b1e0759619c39d5a9f7a3a5d9d2c","fixed":"b55b4d880bb080fa10eb08ba21a5d8679b8102fe","status":"affected"},{"type":"git","introduced":"e75b23f9e323b1e0759619c39d5a9f7a3a5d9d2c","fixed":"7ef182a8fe9c12b0d936880b1e504840639aa009","status":"affected"},{"type":"git","introduced":"e75b23f9e323b1e0759619c39d5a9f7a3a5d9d2c","fixed":"a275de3bac5635514ca830f2e46b5ff0e66b5c4c","status":"affected"},{"type":"git","introduced":"e75b23f9e323b1e0759619c39d5a9f7a3a5d9d2c","fixed":"aa0cf48a448c5a9fe1a1e880899ecd589ce39e6e","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.8","status":"unaffected"},{"type":"semver","introduced":"5.10.270","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.221","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.188","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.109","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.50","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.4","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/ae251937c6f0237e5b555a5e4ba4595b8206e865","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e145e8d67a5d41c72d322e7f87ab474d39d9dfb7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9f4434893a2783f7384d993cea883aff3fb7a52d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2ef131323999539038e306773c8256403834361b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b55b4d880bb080fa10eb08ba21a5d8679b8102fe","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7ef182a8fe9c12b0d936880b1e504840639aa009","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a275de3bac5635514ca830f2e46b5ff0e66b5c4c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/aa0cf48a448c5a9fe1a1e880899ecd589ce39e6e","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-10-16T19:26:26.232Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89711","url":"https://www.cve.org/CVERecord?id=CVE-2026-89711","licence":"CVE Terms of Use","modified":"2026-10-19T08:51:24.221Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89711","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89711","licence":"Public domain","modified":"2026-10-19T09:18:09.960Z"}],"updatedAt":"2026-11-25T22:59:38.122Z","epss":{"score":0.00443,"percentile":0.40281,"date":"2026-12-01T12:00:22.000Z"}}