CVE-2026-23220: ksmbd: fix infinite loop caused by next_smb2_rcv_hdr_off reset in error paths
Vulnerability summary
CVE-2026-23220 is a medium (CVSS 5.5) Loop with Unreachable Exit Condition vulnerability in linux. EPSS estimates a 0.14% chance of exploitation in the next 30 days, higher than 3.7% of scored vulnerabilities.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 31 · Related 26Timeline
- 18-02-2026PublishedVulnerability first disclosed.
- 02-06-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.14%
Chance of exploitation in the next 30 days
Percentile
4%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.14% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu158 products
- linuxAll versions (No fix recorded) | < 5.15.0-186.196 | < 6.8.0-134.134
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 5.15.0-1112.119 | < 6.8.0-1060.63
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 4b9b7ea1ffb1e34f01fa5726d0c184931b9ba565, < 544adb0a6658ea1bff4064723761dbf05f95b1e2 | ≥ 943cebf9ea3415ddefcd670d24d8883e97ba3d60, < fb3b66bd72deb5543addaefa67963b34fb163a7b | ≥ be0f89d4419dc5413a1cf06db3671c9949be0d52, < 5accdc5b7f28a81bbc5880ac0b8886e60c86e8c8 | ≥ be0f89d4419dc5413a1cf06db3671c9949be0d52, < f7b1c2f5642bbd60b1beef1f3298cbac81eb232c | ≥ be0f89d4419dc5413a1cf06db3671c9949be0d52, < 71b5e7c528315ca360a1825a4ad2f8ae48c5dc16 | ≥ be0f89d4419dc5413a1cf06db3671c9949be0d52, < 9135e791ec2709bcf0cda0335535c74762489498 | ≥ be0f89d4419dc5413a1cf06db3671c9949be0d52, < 010eb01ce23b34b50531448b0da391c7f05a72af | ≥ 5.15.145, < 5.15.203 | ≥ 6.1.71, < 6.1.164 | 6.6
- 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
Debian1 product
- linux< 6.1.164-1 | < 6.12.73-1 | < 6.18.12-1
3 vendors · 161 products