CVE-2026-53010: ksmbd: fix use-after-free in smb2_open during durable reconnect

Published Jun 24, 2026
·
Updated

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

ksmbd: fix use-after-free in smb2open during durable reconnect

In smb2open, the call to ksmbdputdurablefd(fp) drops the reference to the durable file descriptor early during the durable reconnect process. If an error occurs subsequently (eg, ksmbdiovpinrsp fails) or a scavenger accesses the file, it leads to a use-after-free when accessing fp properties (eg fp->createtime).

Move the single put to the end of the function below errout2 so fp stays valid until smb2open returns.

Affected Software

4 affected components
Linux Linux kernel
Linux Linux kernel>=6.6.32<6.7
Linux Linux kernel>=6.9<6.18.33
Linux Linux kernel>=6.19<7.0.10

Event History

Jun 24, 2026
CVE Published
via MITRE·04:29 PM
Data Sourced
via MITRE·04:29 PM
DescriptionSeverity
Data Sourced
via NVD·05:17 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

Which systems are exposed to this issue?

Systems running the Linux kernel with ksmbd in use are relevant. The flaw is in the SMB2 durable reconnect path in ksmbd.

2

What conditions are needed to trigger the use-after-free?

The issue occurs during a durable reconnect in smb2_open when the durable file descriptor is released early and a later error occurs, such as ksmbd_iov_pin_rsp failing, or when a scavenger accesses the file.

3

What should teams do to remediate it?

Apply an available patch for the Linux kernel. The fix keeps the durable file descriptor valid until smb2_open returns by moving its reference release to the end of the function.

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