Bug 2492319 (CVE-2026-53010) - CVE-2026-53010 kernel: ksmbd: fix use-after-free in smb2_open during durable reconnect
Summary: CVE-2026-53010 kernel: ksmbd: fix use-after-free in smb2_open during durable ...
Keywords:
Status: NEW
Alias: CVE-2026-53010
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-06-24 18:05 UTC by OSIDB Bzimport
Modified: 2026-06-25 18:18 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-06-24 18:05:27 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.