SB20260502136 - Use-after-free in Linux kernel smb server
Published: May 2, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 vulnerability.
1) Use-after-free (CVE-ID: CVE-2026-31718)
CWE-ID: CWE-416 - Use After Free
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
The vulnerability allows a remote user to cause a denial of service.
The vulnerability exists due to a use-after-free in __ksmbd_close_fd() when processing durable file handles that survive session disconnect and are later timed out by the durable scavenger. A remote user can trigger session disconnect without SMB2_LOGOFF and cause lock cleanup to access a freed connection object to cause a denial of service.
The issue occurs when a durable file handle is preserved for later reconnection and byte-range locks remain associated with the old connection.
Remediation
Install update from vendor's website.