{"id":"CVE-2026-89687","aliases":["CVE-2026-89687"],"related":[],"kind":"vulnerability","state":"published","title":"nfsd: ensure nfsd_file_do_acquire() does not use a non-opened file","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfsd: ensure nfsd_file_do_acquire() does not use a non-opened file\n\n->atomic_open is permitted to return success without actually opening\nthe file.  It indicates this by calling finish_no_open().\nThis means dentry_create() can return a file which hasn't been opened.\nThis is extremely unlikely as ->atomic_open handlers typically\nuse finish_no_open() only for already existing files, and dentry_create()\nisn't called in that case, and the parent being locked should prevent\nraces.\n\nHowever out of an abundance of caution it seems wise to teach nfsd to\nonly use the file returned by dentry_create() if FMODE_OPENED is set,\nindicating that it has in fact been opened.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfsd: ensure nfsd_file_do_acquire() does not use a non-opened file\n\n->atomic_open is permitted to return success without actually opening\nthe file.  It indicates this by calling finish_no_open().\nThis means dentry_create() can return a file which hasn't been opened.\nThis is extremely unlikely as ->atomic_open handlers typically\nuse finish_no_open() only for already existing files, and dentry_create()\nisn't called in that case, and the parent being locked should prevent\nraces.\n\nHowever out of an abundance of caution it seems wise to teach nfsd to\nonly use the file returned by dentry_create() if FMODE_OPENED is set,\nindicating that it has in fact been opened.","source":"cvelist"}],"published":"2026-09-11T19:46:08.630Z","modified":"2026-10-19T09:18:07.157Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"64a989dbd144e0622371396461b11335459692d2","fixed":"a95a1cffacd0203100297001719160160f443dd6","status":"affected"},{"type":"git","introduced":"64a989dbd144e0622371396461b11335459692d2","fixed":"5859cc01fee06a2cd7458905a9593082fbab06e1","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.0","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/a95a1cffacd0203100297001719160160f443dd6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5859cc01fee06a2cd7458905a9593082fbab06e1","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89687","url":"https://www.cve.org/CVERecord?id=CVE-2026-89687","licence":"CVE Terms of Use","modified":"2026-10-19T08:51:00.577Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89687","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89687","licence":"Public domain","modified":"2026-10-19T09:18:07.157Z"}],"updatedAt":"2026-11-25T22:59:38.113Z","epss":{"score":0.00468,"percentile":0.42138,"date":"2026-12-01T12:00:22.000Z"}}