Skip to main content
← All vulnerabilities
CVE-2026-53010

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.6.157
None on Exploit-DB, Metasploit or GitHub

Summary

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free in smb2_open during durable reconnect In smb2_open, the call to ksmbd_put_durable_fd(fp) drops the reference to the durable file descriptor early during the durable reconnect process. If an error occurs subsequently (eg, ksmbd_iov_pin_rsp fails) or a scavenger accesses the file, it leads to a use-after-free when accessing fp properties (eg fp->create_time). Move the single put to the end of the function below err_out2 so fp stays valid until smb2_open returns.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 6.6.32 · fixed in 6.6.157

  • Linux Linux

    6.9

References 5

git.kernel.org