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… (CVE-2026-98451)
Description
A vulnerability in the Linux kernel's SMB client handling was resolved involving improper handling of non-regular inodes during O_CREAT open operations. The issue caused resource leaks and incorrect inode handling when encountering symlinks or other non-regular inodes, potentially leading to reference leaks and lookup errors. The fix ensures proper tracking and closing of server handles for non-regular inodes and corrects flags to prevent improper VFS behavior.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel SMB client arises when an O_CREAT open operation encounters an existing symlink or non-regular inode. The function cifs_atomic_open() incorrectly calls finish_open() and attaches a cifsFileInfo, which leaks dentry references because symlink inodes lack a CIFS release operation. Additionally, FMODE_OPENED prevents the VFS from following the symlink. The fix involves tracking whether cifs_do_create() returned an open server handle and, for non-regular inodes, closing the handle if present, removing the pending open, and calling finish_no_open() to allow the VFS to continue lookup properly. FMODE_CREATED is only set if a regular file is opened, and O_NOFOLLOW with __O_REGULAR returns -ELOOP before the VFS's -EFTYPE check. Legacy POSIX handle closing is deferred until after inode lookup to avoid double closing if lookup fails.
Potential Impact
The vulnerability causes resource leaks (dentry references) and improper handling of non-regular inodes such as symlinks during SMB client file open operations in the Linux kernel. This can lead to incorrect filesystem behavior and potential denial of service due to leaked references and failed lookups. There is no indication of remote code execution or privilege escalation from the provided data.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to address this issue by properly handling non-regular inodes during SMB client open operations. Users should apply the official kernel updates that include this patch once available. Patch status is not explicitly confirmed in the provided data; therefore, check the vendor or Linux kernel advisory for the current remediation status and apply updates accordingly.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-8vx8-gc8p-9x99
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98451"]
Threat ID: 6ad520b12cdf04f6569944f2
Added to database: 10/18/2026, 19:40:33 UTC
Last enriched: 10/18/2026, 19:48:35 UTC
Last updated: 10/18/2026, 22:02:57 UTC
Views: 9
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.