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

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.44%, higher than 40% of CVEs (2026-12-01)
- Published: 2026-06-24T16:29:21.211Z
- Modified: 2026-09-14T12:17:42.870Z
- Weaknesses: CWE-416
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 8df4bcdb0a4232192b2445256c39b787d58ef14d before f0ff7f12398e85b3a11745ff7feab6246f3d75c2; from c8efcc786146a951091588e5fa7e3c754850cb3c before 4db3dcac84c2f14a45ae201efb38de1fb1bfc009; from c8efcc786146a951091588e5fa7e3c754850cb3c before ce2e164c1c51c3f7813b80f8c926836e896bcbb3; from c8efcc786146a951091588e5fa7e3c754850cb3c before 97a0cd55283b4e63fd92804da91c8d9896adcad9; from c8efcc786146a951091588e5fa7e3c754850cb3c before 1baff47b81f94f9231c91236aa511420d0e266b9; from 6.6.32 before 6.6.157; 6.9 (not affected: before 6.9; from 6.6.157 up to 6.6.*; from 6.12.110 up to 6.12.*; from 6.18.33 up to 6.18.*; from 7.0.10 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 6.6.32 before 6.7; from 6.9 before 6.18.33; from 6.19 before 7.0.10

## References

- <https://git.kernel.org/stable/c/f0ff7f12398e85b3a11745ff7feab6246f3d75c2>
- <https://git.kernel.org/stable/c/4db3dcac84c2f14a45ae201efb38de1fb1bfc009>
- <https://git.kernel.org/stable/c/ce2e164c1c51c3f7813b80f8c926836e896bcbb3> (patch)
- <https://git.kernel.org/stable/c/97a0cd55283b4e63fd92804da91c8d9896adcad9> (patch)
- <https://git.kernel.org/stable/c/1baff47b81f94f9231c91236aa511420d0e266b9> (patch)

## Sources

- CVE List: [CVE-2026-53010](https://www.cve.org/CVERecord?id=CVE-2026-53010), CVE Terms of Use, modified 2026-09-14
- NVD: [CVE-2026-53010](https://nvd.nist.gov/vuln/detail/CVE-2026-53010), Public domain, modified 2026-09-14

---

Page: https://cve.day/CVE-2026-53010 · Whole record: https://cve.day/CVE-2026-53010.json · Rebuilt by cve.day 2026-11-25T22:59:25.654Z
