CVE-2026-23220 Details
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix infinite loop caused by next_smb2_rcv_hdr_off reset in error paths The problem occurs when a signed request fails smb2 signature verification check. In __process_request(), if check_sign_req() returns an error, set_smb2_rsp_status(work, STATUS_ACCESS_DENIED) is called. set_smb2_rsp_status() set work->next_smb2_rcv_hdr_off as zero. By resetting next_smb2_rcv_hdr_off to zero, the pointer to the next command in the chain is lost. Consequently, is_chained_smb2_message() continues to point to the same request header instead of advancing. If the header's NextCommand field is non-zero, the function returns true, causing __handle_ksmbd_work() to repeatedly process the same failed request in an infinite loop. This results in the kernel log being flooded with "bad smb2 signature" messages and high CPU usage. This patch fixes the issue by changing the return value from SERVER_HANDLER_CONTINUE to SERVER_HANDLER_ABORT. This ensures that the processing loop terminates immediately rather than attempting to continue from an invalidated offset.
An infinite loop vulnerability has been identified in the Linux kernel's ksmbd component, specifically in versions of the kernel prior to the patch included in this advisory. The issue arises when a signed SMB2 request fails signature verification. The error handling process resets the offset for the next command in the chain, causing the server to repeatedly process the same failed request. This flaw leads to excessive CPU usage and floods the kernel log with 'bad smb2 signature' messages.
Users are advised to update to version 4.0 or later. For specific update instructions, consult the Siemens support page.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-835 | Loop with Unreachable Exit Condition ('Infinite Loop') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 5.15.145, < 5.16 >= 6.1.71, < 6.1.164 >= 6.6.1, < 6.6.125 >= 6.7, < 6.12.72 >= 6.13, < 6.18.11 >= 6.19, < 6.19.1 6.6 - 6.6 rc6 6.6 rc7 |
CPE
Remediation
| |
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | siemens-SADP |
| Jun 2, 2026 | CVE Modified | siemens-SADP |
| Apr 18, 2026 | CVE Modified | kernel.org |
| Mar 18, 2026 | Initial Analysis | [email protected] |
| Feb 23, 2026 | CVE Modified | kernel.org |
| Feb 19, 2026 | CVE Modified | kernel.org |
| Feb 18, 2026 | New CVE Received | kernel.org |