CVE-2026-23220ksmbd: fix infinite loop caused by next_smb2_rcv_hdr_off reset in error paths
- 5.5MediumCVSS base score
- 0.14%Exploitation in 30 daysEPSS · top 96% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By Linux
- 36 days later
· 36 days later
Published
- 3 months later
· 3 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.14% · top 96% of all CVEs (17 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected 4b9b7ea1ffb1e34f01fa5726d0c184931b9ba565 – < 544adb0a6658ea1bff4064723761dbf05f95b1e2
- affected 943cebf9ea3415ddefcd670d24d8883e97ba3d60 – < fb3b66bd72deb5543addaefa67963b34fb163a7b
- affected be0f89d4419dc5413a1cf06db3671c9949be0d52 – < 5accdc5b7f28a81bbc5880ac0b8886e60c86e8c8
- affected be0f89d4419dc5413a1cf06db3671c9949be0d52 – < f7b1c2f5642bbd60b1beef1f3298cbac81eb232c
- affected be0f89d4419dc5413a1cf06db3671c9949be0d52 – < 71b5e7c528315ca360a1825a4ad2f8ae48c5dc16
- affected be0f89d4419dc5413a1cf06db3671c9949be0d52 – < 9135e791ec2709bcf0cda0335535c74762489498
- affected be0f89d4419dc5413a1cf06db3671c9949be0d52 – < 010eb01ce23b34b50531448b0da391c7f05a72af
- affected 5.15.145 – < 5.15.203
- affected 6.1.71 – < 6.1.164
- affected 6.6
- unaffected < 6.6
- unaffected 5.15.203 – ≤ 5.15.*
- unaffected 6.1.164 – ≤ 6.1.*
- unaffected 6.6.125 – ≤ 6.6.*
- unaffected 6.12.72 – ≤ 6.12.*
- unaffected 6.18.11 – ≤ 6.18.*
- unaffected 6.19.1 – ≤ 6.19.*
- unaffected 7.0 – ≤ *
References
References8
- https://git.kernel.org/stable/c/544adb0a6658ea1bff4064723761dbf05f95b1e2 (opens in a new tab)
- https://git.kernel.org/stable/c/fb3b66bd72deb5543addaefa67963b34fb163a7b (opens in a new tab)
- https://git.kernel.org/stable/c/5accdc5b7f28a81bbc5880ac0b8886e60c86e8c8 (opens in a new tab)
- https://git.kernel.org/stable/c/f7b1c2f5642bbd60b1beef1f3298cbac81eb232c (opens in a new tab)
- https://git.kernel.org/stable/c/71b5e7c528315ca360a1825a4ad2f8ae48c5dc16 (opens in a new tab)
- https://git.kernel.org/stable/c/9135e791ec2709bcf0cda0335535c74762489498 (opens in a new tab)
- https://git.kernel.org/stable/c/010eb01ce23b34b50531448b0da391c7f05a72af (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-253495.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-7681 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-23220)Record last updated .