Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-23220

MEDIUM 5.5EPSS 6%

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

Mitigation

  • Upgrade Linux to 6.1.164 or later.

Who should check

  • Anyone running 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
  • Anyone running Linux 6.6

Vulnerability facts

Affected
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; Linux 6.6
Fixed in
Linux 544adb0a6658ea1bff4064723761dbf05f95b1e2, Linux 5accdc5b7f28a81bbc5880ac0b8886e60c86e8c8, Linux 71b5e7c528315ca360a1825a4ad2f8ae48c5dc16, Linux 9135e791ec2709bcf0cda0335535c74762489498, Linux 010eb01ce23b34b50531448b0da391c7f05a72af, Linux 5.15.203, Linux 6.1.164
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.20% chance of exploitation in 30 days (percentile 6, 2026-11-26)
CWE
CWE-835
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
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—cvelist
Linux6.6—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-23220. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-23220.md
Affected: Linux >= 4b9b7ea1ffb1e34f01fa5726d0c184931b9ba565, < 544adb0a6658ea1bff4064723761dbf05f95b1e2; >= 943cebf9ea3415ddefcd670d24d8883e97ba3d60, < fb3b66bd72deb5543addaefa67963b34fb163a7b; >= be0f89d4419dc5413a1cf06db3671c9949be0d52, < 5accdc5b7f28a81bbc5880ac0b8886e60c86e8c8; >= be0f89d4419dc5413a1cf06…
Fixed in: Linux 544adb0a6658ea1bff4064723761dbf05f95b1e2, Linux 5accdc5b7f28a81bbc5880ac0b8886e60c86e8c8, Linux 71b5e7c528315ca360a1825a4ad2f8ae48c5dc16, Linux 9135e791ec2709bcf0cda0335535c74762489498, Linux 010eb01ce23b34b50531448b0da391c7f05a72af, Linux 5.15.203, Linux 6.1.164

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-23220 being exploited?

There is no confirmed exploitation: CVE-2026-23220 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-23220?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2026-23220?

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; Linux 6.6.

Is there a fix for CVE-2026-23220?

Yes. Fixed in Linux 544adb0a6658ea1bff4064723761dbf05f95b1e2, Linux 5accdc5b7f28a81bbc5880ac0b8886e60c86e8c8, Linux 71b5e7c528315ca360a1825a4ad2f8ae48c5dc16, Linux 9135e791ec2709bcf0cda0335535c74762489498, Linux 010eb01ce23b34b50531448b0da391c7f05a72af, Linux 5.15.203, Linux 6.1.164. Upgrade Linux to 6.1.164 or later.

How do I check if I'm affected by CVE-2026-23220?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors