{"id":"CVE-2026-98451","published":"2026-10-18T15:15:01Z","modified":"2026-10-30T12:38:11Z","title":"smb: client: use finish_no_open() for non-regular inodes","vendor":"Linux","product":"Linux","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00398,"percentile":0.34048,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/bc585d5a381ab49cb611c35dda93a997214ca874","tags":[]},{"url":"https://git.kernel.org/stable/c/26f4bca335e719e291995e28dc434de0145a6a54","tags":[]},{"url":"https://git.kernel.org/stable/c/51c7b0593f6eaba05349fd2a01a9cb4df7d7412f","tags":[]},{"url":"https://git.kernel.org/stable/c/045532f920d86dd76600b635f9756e5fd671ddfc","tags":[]},{"url":"https://git.kernel.org/stable/c/ed03d547598c92a036f20e89156540995cac889a","tags":[]},{"url":"https://git.kernel.org/stable/c/70a7918fda54a06d836acc91eb9a3c7e860fe0a0","tags":[]},{"url":"https://git.kernel.org/stable/c/3c07deb26273155c180aedfd9041ab58015d2521","tags":[]},{"url":"https://git.kernel.org/stable/c/e66cf1625ec4a3fe68346119f371def713fd0a4d","tags":[]}],"priority":{"score":13.0,"factors":[{"name":"EPSS percentile","points":6.81},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= d2c127197dfc0b2bae62a52e1e0d3e3ff493919e, < bc585d5a381ab49cb611c35dda93a997214ca874",">= d2c127197dfc0b2bae62a52e1e0d3e3ff493919e, < 26f4bca335e719e291995e28dc434de0145a6a54",">= d2c127197dfc0b2bae62a52e1e0d3e3ff493919e, < 51c7b0593f6eaba05349fd2a01a9cb4df7d7412f",">= d2c127197dfc0b2bae62a52e1e0d3e3ff493919e, < 045532f920d86dd76600b635f9756e5fd671ddfc",">= d2c127197dfc0b2bae62a52e1e0d3e3ff493919e, < ed03d547598c92a036f20e89156540995cac889a",">= d2c127197dfc0b2bae62a52e1e0d3e3ff493919e, < 70a7918fda54a06d836acc91eb9a3c7e860fe0a0",">= d2c127197dfc0b2bae62a52e1e0d3e3ff493919e, < 3c07deb26273155c180aedfd9041ab58015d2521",">= d2c127197dfc0b2bae62a52e1e0d3e3ff493919e, < e66cf1625ec4a3fe68346119f371def713fd0a4d"]},{"vendor":"Linux","product":"Linux","versions":["3.6"]}],"euvd":{"id":"EUVD-2026-103691","exploited":false,"provenance":"source"}}