CVE-2026-143041: smb: client: hold the inode across cifs_oplock_break()

Published Dec 3, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

smb: client: hold the inode across cifsoplockbreak()

cifsoplockbreak() drops the handle reference in the middle of the handler and keeps using cinode afterwards, to send the break acknowledgment and again in cifsdoneoplockbreak(). The reference cifsqueueoplockbreak() takes is the only pin: the handle holds the dentry and the dentry is what keeps the inode alive.

When that put is the last reference, the dput() in cifsFileInfoputfinal() kills an unhashed dentry, drops the last icount and evicts the inode, so the rest of the handler runs on an object whose free is only RCU-deferred. An unhashed dentry that a handle still references is an ordinary state: unlinking an open file leaves the dentry that way, and so does the dcache teardown at unmount.

Take a reference on the inode for the lifetime of the handler and drop it once the break has been reported. This also covers the cifsgettlink() failure path, where the put is followed directly by the out label.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In the Linux kernel SMB client, hold an inode reference for the lifetime of cifs_oplock_break() and drop it once the break has been reported.

Event History

Dec 3, 2026
CVE Published
via MITRE·09:18 AM
Data Sourced
via MITRE·09:18 AM
Description

Frequently Asked Questions

1

When can this lifetime issue be triggered?

It can occur during SMB client oplock-break handling when the associated handle is the last reference keeping an inode alive. This includes an open file that has been unlinked, which leaves its dentry unhashed, and dcache teardown during unmount.

2

What happens if the last handle reference is released during the handler?

Releasing that reference can cause the dentry to be dropped and the inode to be evicted while oplock-break processing continues to use the inode. The subsequent acknowledgment and completion handling can therefore operate on an object whose freeing is deferred only by RCU.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203