{"id":"CVE-2026-98451","revision":"d3facf5963c242dfb5840a5f9023e9bf","records":[{"revision":"d3facf5963c242dfb5840a5f9023e9bf","observedAt":"2026-10-24T16:17:04.479+00:00","statement":{"source":"cve-program","id":"CVE-2026-98451","aliases":[],"title":"smb: client: use finish_no_open() for non-regular inodes","description":"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.","state":0,"publishedAt":"2026-10-18T15:15:01.473+00:00","modifiedAt":"2026-10-24T14:08:53.021+00:00","affected":[{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"fs/smb/client/dir.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"d2c127197dfc0b2bae62a52e1e0d3e3ff493919e\",\n                            \"lessThan\": \"045532f920d86dd76600b635f9756e5fd671ddfc\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"d2c127197dfc0b2bae62a52e1e0d3e3ff493919e\",\n                            \"lessThan\": \"ed03d547598c92a036f20e89156540995cac889a\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"d2c127197dfc0b2bae62a52e1e0d3e3ff493919e\",\n                            \"lessThan\": \"70a7918fda54a06d836acc91eb9a3c7e860fe0a0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"d2c127197dfc0b2bae62a52e1e0d3e3ff493919e\",\n                            \"lessThan\": \"3c07deb26273155c180aedfd9041ab58015d2521\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        },\n                        {\n                            \"version\": \"d2c127197dfc0b2bae62a52e1e0d3e3ff493919e\",\n                            \"lessThan\": \"e66cf1625ec4a3fe68346119f371def713fd0a4d\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"git\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Linux","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"Linux\",\n                    \"vendor\": \"Linux\",\n                    \"defaultStatus\": \"affected\",\n                    \"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\n                    \"programFiles\": [\n                        \"fs/smb/client/dir.c\"\n                    ],\n                    \"versions\": [\n                        {\n                            \"version\": \"3.6\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"3.6\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.6.160\",\n                            \"lessThanOrEqual\": \"6.6.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.12.113\",\n                            \"lessThanOrEqual\": \"6.12.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"6.18.56\",\n                            \"lessThanOrEqual\": \"6.18.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.2.9\",\n                            \"lessThanOrEqual\": \"7.2.*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"7.3\",\n                            \"lessThanOrEqual\": \"*\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"original_commit_for_fix\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"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,"severity":"HIGH"}],"references":["https://git.kernel.org/stable/c/045532f920d86dd76600b635f9756e5fd671ddfc","https://git.kernel.org/stable/c/ed03d547598c92a036f20e89156540995cac889a","https://git.kernel.org/stable/c/70a7918fda54a06d836acc91eb9a3c7e860fe0a0","https://git.kernel.org/stable/c/3c07deb26273155c180aedfd9041ab58015d2521","https://git.kernel.org/stable/c/e66cf1625ec4a3fe68346119f371def713fd0a4d"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-98451","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-98451","identifiers":["CVE-2026-98451"]},"retained":false,"historicalAffected":[]}],"coverage":[]}