CVE-2026-53010

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

State
Published
Severity
9.8 Critical
Published
Jun 24, 2026
Updated
Sep 14, 2026
Reserved
Jun 9, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.19.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 8df4bcdb0a4232192b2445256c39b787d58ef14d to before f0ff7f12398e85b3a11745ff7feab6246f3d75c2Affected
  • c8efcc786146a951091588e5fa7e3c754850cb3c to before 4db3dcac84c2f14a45ae201efb38de1fb1bfc009Affected
  • c8efcc786146a951091588e5fa7e3c754850cb3c to before ce2e164c1c51c3f7813b80f8c926836e896bcbb3Affected
  • c8efcc786146a951091588e5fa7e3c754850cb3c to before 97a0cd55283b4e63fd92804da91c8d9896adcad9Affected
  • c8efcc786146a951091588e5fa7e3c754850cb3c to before 1baff47b81f94f9231c91236aa511420d0e266b9Affected
  • 6.6.32 to before 6.6.157Affected
LinuxLinux
  • 6.9Affected
  • before 6.9Not affected
  • 6.6.157 through 6.6.*Not affected
  • 6.12.110 through 6.12.*Not affected
  • 6.18.33 through 6.18.*Not affected
  • 7.0.10 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.