{"id":"CVE-2026-98451","aliases":["CVE-2026-98451"],"related":[],"kind":"vulnerability","state":"published","title":"smb: client: use finish_no_open() for non-regular inodes","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: use finish_no_open() for non-regular inodes\n\nAn O_CREAT open can find an existing symlink or another non-regular\ninode. cifs_atomic_open() calls finish_open() on it and attaches a\ncifsFileInfo. Symlink inodes have no CIFS release operation, so the\ndentry reference held by cifsFileInfo is leaked. FMODE_OPENED also\nprevents the VFS from following the symlink.\n\nTrack whether cifs_do_create() returned an open server handle. For\nnon-regular inodes, close the handle if present, remove the pending\nopen, and call finish_no_open() so the VFS can continue the lookup.\nDo not set FMODE_CREATED unless a regular file was opened. For\nO_NOFOLLOW with __O_REGULAR, return -ELOOP before the VFS's\n-EFTYPE check.\n\nDefer closing a legacy POSIX handle on a non-regular inode until\nafter inode lookup. This avoids closing it again if lookup fails.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: use finish_no_open() for non-regular inodes\n\nAn O_CREAT open can find an existing symlink or another non-regular\ninode. cifs_atomic_open() calls finish_open() on it and attaches a\ncifsFileInfo. Symlink inodes have no CIFS release operation, so the\ndentry reference held by cifsFileInfo is leaked. FMODE_OPENED also\nprevents the VFS from following the symlink.\n\nTrack whether cifs_do_create() returned an open server handle. For\nnon-regular inodes, close the handle if present, remove the pending\nopen, and call finish_no_open() so the VFS can continue the lookup.\nDo not set FMODE_CREATED unless a regular file was opened. For\nO_NOFOLLOW with __O_REGULAR, return -ELOOP before the VFS's\n-EFTYPE check.\n\nDefer closing a legacy POSIX handle on a non-regular inode until\nafter inode lookup. This avoids closing it again if lookup fails.","source":"cvelist"}],"published":"2026-10-18T15:15:01.473Z","modified":"2026-10-30T13:21:14.093Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"d2c127197dfc0b2bae62a52e1e0d3e3ff493919e","fixed":"bc585d5a381ab49cb611c35dda93a997214ca874","status":"affected"},{"type":"git","introduced":"d2c127197dfc0b2bae62a52e1e0d3e3ff493919e","fixed":"26f4bca335e719e291995e28dc434de0145a6a54","status":"affected"},{"type":"git","introduced":"d2c127197dfc0b2bae62a52e1e0d3e3ff493919e","fixed":"51c7b0593f6eaba05349fd2a01a9cb4df7d7412f","status":"affected"},{"type":"git","introduced":"d2c127197dfc0b2bae62a52e1e0d3e3ff493919e","fixed":"045532f920d86dd76600b635f9756e5fd671ddfc","status":"affected"},{"type":"git","introduced":"d2c127197dfc0b2bae62a52e1e0d3e3ff493919e","fixed":"ed03d547598c92a036f20e89156540995cac889a","status":"affected"},{"type":"git","introduced":"d2c127197dfc0b2bae62a52e1e0d3e3ff493919e","fixed":"70a7918fda54a06d836acc91eb9a3c7e860fe0a0","status":"affected"},{"type":"git","introduced":"d2c127197dfc0b2bae62a52e1e0d3e3ff493919e","fixed":"3c07deb26273155c180aedfd9041ab58015d2521","status":"affected"},{"type":"git","introduced":"d2c127197dfc0b2bae62a52e1e0d3e3ff493919e","fixed":"e66cf1625ec4a3fe68346119f371def713fd0a4d","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.6","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.6","status":"unaffected"},{"type":"semver","introduced":"5.10.273","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.224","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.113","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.56","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.9","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/bc585d5a381ab49cb611c35dda93a997214ca874","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/26f4bca335e719e291995e28dc434de0145a6a54","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/51c7b0593f6eaba05349fd2a01a9cb4df7d7412f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/045532f920d86dd76600b635f9756e5fd671ddfc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ed03d547598c92a036f20e89156540995cac889a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/70a7918fda54a06d836acc91eb9a3c7e860fe0a0","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3c07deb26273155c180aedfd9041ab58015d2521","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e66cf1625ec4a3fe68346119f371def713fd0a4d","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98451","url":"https://www.cve.org/CVERecord?id=CVE-2026-98451","licence":"CVE Terms of Use","modified":"2026-10-30T12:38:11.067Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98451","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98451","licence":"Public domain","modified":"2026-10-30T13:21:14.093Z"}],"updatedAt":"2026-11-25T22:59:45.186Z","epss":{"score":0.00398,"percentile":0.36123,"date":"2026-12-02T12:00:21.000Z"}}