Description
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.
Published: 2026-10-18
Score: n/a
EPSS: n/a
KEV: No
Impact: Resource Leak leading to possible Denial of Service
Action: Apply Patch
AI Analysis

Impact

The Linux kernel SMB client contains a flaw where file creation operations (O_CREAT) on non‑regular inodes such as symlinks do not properly close the server handle and fail to call the function that releases the dentry reference. This results in a reference leak that can accumulate over time and consume kernel memory, degrading performance or ultimately causing a denial of service. The weakness is a resource management failure. If leveraged repeatedly, an attacker could trigger the leak through SMB share operations to exhaust system resources. The vulnerability is a CWE‑404 Resource Leak.

Affected Systems

The issue affects the Linux kernel; the specific version(s) vulnerable are not enumerated in the data but are identified by the kernel commit URLs provided. The flaw exists before the commits that introduce the fix and applies to all Linux kernel users who rely on the SMB client (cifs) to communicate with SMB/CIFS file servers.

Risk and Exploitability

No CVSS score is supplied, and EPSS information is not available, so the quantified risk is indeterminate. The flaw is not listed in the CISA KEV catalog, suggesting no known widespread exploitation. Nonetheless, the attack vector is likely remote via SMB/CIFS traffic, requiring the client to perform O_CREAT operations on non‑regular inodes. The potential impact is limited to resource exhaustion, not direct code execution or privilege escalation. Given the lack of exploitation data, the immediate risk appears moderate, but the possibility of a DoS makes patching or mitigation advisable.

Generated by OpenCVE AI on October 18, 2026 at 16:52 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest kernel patch or upgrade to a release that includes the commits referenced in the advisory. The patch removes the improper reference handling by calling finish_no_open() for non‑regular inodes and preventing the creation of dangling dentry references.
  • If an upgrade is not possible, configure the SMB/CIFS server to restrict or disable the creation of files on symlinks or other non‑regular inodes from client operations; for example, set server-side policies that reject O_CREAT or remove symlink support for the affected shares.
  • Monitor the system for abnormal memory or dentry consumption and restart the SMB client services if usage rapidly increases; consider adding kernel limits or alerts for high dentry counts.

Generated by OpenCVE AI on October 18, 2026 at 16:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 18 Oct 2026 17:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-404

Sun, 18 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Description 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.
Title smb: client: use finish_no_open() for non-regular inodes
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-18T15:15:01.473Z

Reserved: 2026-09-25T10:25:14.350Z

Link: CVE-2026-98451

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-18T16:16:55.437

Modified: 2026-10-18T16:16:55.437

Link: CVE-2026-98451

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-18T17:00:09Z

Weaknesses
  • CWE-404

    Improper Resource Shutdown or Release