CVE 9.8 CRITICAL

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

9.8 / 10
CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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.

AI Analysis

Use-after-free vulnerability in ksmbd during durable reconnect

Basic Information

ID CVE-2026-53010
Source Linux
Published Jun 24, 2026 at 16:29
Modified Jun 28, 2026 at 06:38

Affected Product

Vendor Linux
Product Linux
Version c8efcc786146a951091588e5fa7e3c754850cb3c
Affected Versions Linux Linux c8efcc786146a951091588e5fa7e3c754850cb3c
Linux Linux c8efcc786146a951091588e5fa7e3c754850cb3c
Linux Linux c8efcc786146a951091588e5fa7e3c754850cb3c
Linux Linux 8df4bcdb0a4232192b2445256c39b787d58ef14d
Linux Linux 6.6.32
Linux Linux 6.9

AI Assessment

AI Score 9.8 / 10
AI Severity Critical
Vendor Linux
Product ksmbd
Version c8efcc786146a951091588e5fa7e3c754850cb3c, 6.6.32, 6.9

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.