smb: client: use finish_no_open() for non-regular inodes
In the Linux kernel, the following vulnerability has been resolved: smb: client: use finish_no_open() for non-regular inodes An O_CREAT open can find an existing symlink or another non-regular inode. cifs_atomic_open() calls finish_open() on it and attaches a cifsFileInfo. Symlink inodes have no CIFS release operation, so the dentry reference held by cifsFileInfo is leaked. FMODE_OPENED also prevents the VFS from following the symlink. Track whether cifs_do_create() returned an open server handle. For non-regular inodes, close the handle if present, remove the pending open, and call finish_no_open() so the VFS can continue the lookup. Do not set FMODE_CREATED unless a regular file was opened. For O_NOFOLLOW with __O_REGULAR, return -ELOOP before the VFS's -EFTYPE check. Defer closing a legacy POSIX handle on a non-regular inode until after inode lookup. This avoids closing it again if lookup fails.
CVE-2026-98451
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-98451
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "d2c127197dfc0b2bae62a52e1e0d3e3ff493919e",
"lessThan": "045532f920d86dd76600b635f9756e5fd671ddfc",
"versionType": "git"
},
{
"status": "affected",
"version": "d2c127197dfc0b2bae62a52e1e0d3e3ff493919e",
"lessThan": "ed03d547598c92a036f20e89156540995cac889a",
"versionType": "git"
},
{
"status": "affected",
"version": "d2c127197dfc0b2bae62a52e1e0d3e3ff493919e",
"lessThan": "70a7918fda54a06d836acc91eb9a3c7e860fe0a0",
"versionType": "git"
},
{
"status": "affected",
"version": "d2c127197dfc0b2bae62a52e1e0d3e3ff493919e",
"lessThan": "3c07deb26273155c180aedfd9041ab58015d2521",
"versionType": "git"
},
{
"status": "affected",
"version": "d2c127197dfc0b2bae62a52e1e0d3e3ff493919e",
"lessThan": "e66cf1625ec4a3fe68346119f371def713fd0a4d",
"versionType": "git"
}
],
"programFiles": [
"fs/smb/client/dir.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "3.6"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "3.6",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.160",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.113",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.56",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.9",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"fs/smb/client/dir.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-98451
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #55674 · Revision 1
- Added to Heist Feed
- Publisher date