CVE-2026-23220: ksmbd: fix infinite loop caused by next_smb2_rcv_hdr_off reset in error paths

Published Feb 18, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

ksmbd: fix infinite loop caused by nextsmb2rcvhdroff reset in error paths

The problem occurs when a signed request fails smb2 signature verification check. In processrequest(), if checksignreq() returns an error, setsmb2rspstatus(work, STATUSACCESSDENIED) is called. setsmb2rspstatus() set work->nextsmb2rcvhdroff as zero. By resetting nextsmb2rcvhdroff to zero, the pointer to the next command in the chain is lost. Consequently, ischainedsmb2message() 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 handleksmbdwork() 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 SERVERHANDLERCONTINUE to SERVERHANDLERABORT. This ensures that the processing loop terminates immediately rather than attempting to continue from an invalidated offset.

Affected Software

11 affected componentsFixes available
linux/kernel
Microsoft azl3 kernel 6.6.121.1-1
Linux Linux kernel>=5.15.145<5.16
Linux Linux kernel>=6.1.71<6.1.164
Linux Linux kernel>=6.6.1<6.6.125
Linux Linux kernel>=6.7<6.12.72
Linux Linux kernel>=6.13<6.18.11
Linux Linux kernel>=6.19<6.19.1
Linux Linux kernel=6.6
Linux Linux kernel=6.6-rc6
Linux Linux kernel=6.6-rc7

Event History

Feb 18, 2026
CVE Published
via MITRE·02:53 PM
Data Sourced
via MITRE·02:53 PM
Description
Data Sourced
via NVD·04:22 PM
RemedyDescriptionSeverityWeaknessAffected Software
Feb 21, 2026
Data Sourced
via Microsoft·12:29 PM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·12:29 PM
DescriptionSeverity
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-23220?

CVE-2026-23220 has been classified as a medium severity vulnerability.

2

How do I fix CVE-2026-23220?

To fix CVE-2026-23220, you should update to the latest stable version of the Linux kernel that includes the security patch.

3

What systems are affected by CVE-2026-23220?

CVE-2026-23220 affects systems running the Linux kernel with ksmbd configurations.

4

What is the impact of CVE-2026-23220?

The impact of CVE-2026-23220 is the potential for an infinite loop when handling failed smb2 signature verifications.

5

When was CVE-2026-23220 reported?

CVE-2026-23220 was reported as a vulnerability in the Linux kernel related to the ksmbd component.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203