CVE-2026-23220 json
ksmbd: fix infinite loop caused by next_smb2_rcv_hdr_off reset in error paths
published 2026-02-18 8 mo ago modified 2026-06-17 4 mo ago also EUVD-2026-7681
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.1%
- EPSS 0.1% chance of exploitation in 30 days, percentile 3%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Linux Linux 5.15.203, 6.1.164, 6.6.125, 6.12.72, 6.18.11, 6.19.1, 7.0
- Siemens RUGGEDCOM RST2428P V4.0
- linux Debian 12 6.1.164-1
- linux Debian 13 6.12.73-1
- linux Debian 14 6.18.12-1
debian advisories DEBIAN-CVE-2026-23220
- linux Ubuntu 22.04 LTS 5.15.0-186.196
- linux Ubuntu 24.04 LTS 6.8.0-134.134
- linux-aws Ubuntu 22.04 LTS 5.15.0-1112.119
- linux-aws Ubuntu 24.04 LTS 6.8.0-1060.63
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1112.122
- linux-gcp Ubuntu 24.04 LTS 6.8.0-1063.69
- linux-gke Ubuntu 22.04 LTS 5.15.0-1108.114
- linux-gke Ubuntu 24.04 LTS 6.8.0-1058.64
ubuntu advisories UBUNTU-CVE-2026-23220
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-source openSUSE Tumbleweed 6.19.8-1.1
opensuse advisories openSUSE-SU-2026:10387-1
- git.kernel.org/stable/c/544adb0a6658ea1bff4064723761dbf05f95b1e2 commit
- git.kernel.org/stable/c/fb3b66bd72deb5543addaefa67963b34fb163a7b commit
- git.kernel.org/stable/c/5accdc5b7f28a81bbc5880ac0b8886e60c86e8c8 commit
- git.kernel.org/stable/c/f7b1c2f5642bbd60b1beef1f3298cbac81eb232c commit
- git.kernel.org/stable/c/71b5e7c528315ca360a1825a4ad2f8ae48c5dc16 commit
- git.kernel.org/stable/c/9135e791ec2709bcf0cda0335535c74762489498 commit
- git.kernel.org/stable/c/010eb01ce23b34b50531448b0da391c7f05a72af commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-23220 updated
kernel: ksmbd: fix infinite loop caused by next_smb2_rcv_hdr_off reset in error paths
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-26-188-05 updated cvss 5.5
Siemens SINEC OS
-
Siemens RUGGEDCOM RST2428P (6GK6242-6PA00) < 4.0affected: fixed in V4.0 support.industry.siemens.com
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
Exploit prediction
0.14% chance of exploitation in the next 30 days, higher than 3% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
- Siemens RUGGEDCOM RST2428P
Classification
- Weakness
-
- CWE-835 Loop with Unreachable Exit Condition
- Technology feeds
References
- git.kernel.org /stable/c/544adb0a6658ea1bff4064723761dbf05f95b1e2
-
git.kernel.org
/stable/c/fb3b66bd72deb5543addaefa67963b34fb163a7b
patch
-
git.kernel.org
/stable/c/5accdc5b7f28a81bbc5880ac0b8886e60c86e8c8
patch
-
git.kernel.org
/stable/c/f7b1c2f5642bbd60b1beef1f3298cbac81eb232c
patch
-
git.kernel.org
/stable/c/71b5e7c528315ca360a1825a4ad2f8ae48c5dc16
patch
-
git.kernel.org
/stable/c/9135e791ec2709bcf0cda0335535c74762489498
patch
-
git.kernel.org
/stable/c/010eb01ce23b34b50531448b0da391c7f05a72af
patch
- cert-portal.siemens.com /productcert/html/ssa-253495.html
Sources
- CVE List CVE-2026-23220
- NVD CVE-2026-23220
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.