Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

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

EPSS 0.03% · P7
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-23220

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
ksmbd: fix infinite loop caused by next_smb2_rcv_hdr_off reset in error paths
Source: NVD (National Vulnerability Database)
Vulnerability 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.
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于错误路径中重置next_smb2_rcv_hdr_off,可能导致无限循环。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
LinuxLinux 4b9b7ea1ffb1e34f01fa5726d0c184931b9ba565 ~ 544adb0a6658ea1bff4064723761dbf05f95b1e2 -
LinuxLinux 6.6 -

II. Public POCs for CVE-2026-23220

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-23220

登录查看更多情报信息。

Same Patch Batch · Linux · 2026-02-18 · 31 CVEs total

CVE-2026-232308.8 HIGHsmb: client: split cached_fid bitfields to avoid shared-byte RMW races
CVE-2026-232268.8 HIGHksmbd: add chann_lock to protect ksmbd_chann_list xarray
CVE-2026-232277.8 HIGHdrm/exynos: vidi: use ctx->lock to protect struct vidi_context member variables related to
CVE-2026-232257.8 HIGHsched/mmcid: Don't assume CID is CPU owned on mode switch
CVE-2026-232247.8 HIGHerofs: fix UAF issue for file-backed mounts w/ directio option
CVE-2026-232227.8 HIGHcrypto: omap - Allocate OMAP_CRYPTO_FORCE_COPY scatterlists correctly
CVE-2025-71233PCI: endpoint: Avoid creating sub-groups asynchronously
CVE-2026-23229crypto: virtio - Add spinlock protection with virtqueue notification
CVE-2026-23228smb: server: fix leak of active_num_conn in ksmbd_tcp_new_connection()
CVE-2026-23223xfs: fix UAF in xchk_btree_check_block_owner
CVE-2026-23221bus: fsl-mc: fix use-after-free in driver_override_show()
CVE-2025-71237nilfs2: Fix potential block overflow that cause system hang
CVE-2025-71236scsi: qla2xxx: Validate sp before freeing associated memory
CVE-2025-71235scsi: qla2xxx: Delay module unload while fabric scan in progress
CVE-2025-71234wifi: rtl8xxxu: fix slab-out-of-bounds in rtl8xxxu_sta_add
CVE-2026-23211mm, swap: restore swap_space attr aviod kernel panic
CVE-2025-71232scsi: qla2xxx: Free sp in error path to fix system crash
CVE-2025-71231crypto: iaa - Fix out-of-bounds index in find_empty_iaa_compression_mode
CVE-2025-71230hfs: ensure sb->s_fs_info is always cleaned up
CVE-2025-71229wifi: rtw88: Fix alignment fault in rtw_core_enable_beacon()

Showing top 20 of 31 CVEs. View all on vendor page → →

IV. Related Vulnerabilities

V. Comments for CVE-2026-23220

No comments yet


Leave a comment