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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2023-52442— ksmbd: validate session id and tree id in compound request

Quick assessment

Affected
Linux Linux
Exploitation
High exploitation probability; assess promptly
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel 存在安全漏洞,该漏洞源于 ksmbd 始终返回复合请求中的第一个请求 smb2 标头。

CVSS 9.1 · Critical EPSS 29.64% · P98

Affected Version Matrix 10

VendorProduct Version RangeStatus
Linux Linux 0626e6641f6b467447c81dd7678a69c66f7746cf< 017d85c94f02090a87f4a473dbe0d6ee0da72693 affected
0626e6641f6b467447c81dd7678a69c66f7746cf< becb5191d1d5fdfca0198a2e37457bbbf4fe266f affected
0626e6641f6b467447c81dd7678a69c66f7746cf< 4c2b350b2e269e3fd17bbfa42de1b42775b777ac affected
0626e6641f6b467447c81dd7678a69c66f7746cf< 3df0411e132ee74a87aa13142dfd2b190275332e affected
5.15 affected
< 5.15 unaffected
5.15.145≤ 5.15.* unaffected
6.1.53≤ 6.1.* unaffected
… +2 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2023-52442

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: validate session id and tree id in compound request
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: validate session id and tree id in compound request `smb2_get_msg()` in smb2_get_ksmbd_tcon() and smb2_check_user_session() will always return the first request smb2 header in a compound request. if `SMB2_TREE_CONNECT_HE` is the first command in compound request, will return 0, i.e. The tree id check is skipped. This patch use ksmbd_req_buf_next() to get current command in compound.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel 存在安全漏洞,该漏洞源于 ksmbd 始终返回复合请求中的第一个请求 smb2 标头。
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

Vendor Product Affected Versions CPE Subscribe
Linux Linux 0626e6641f6b467447c81dd7678a69c66f7746cf ~ 017d85c94f02090a87f4a473dbe0d6ee0da72693 -
Linux Linux 5.15 -

II. Public POCs for CVE-2023-52442

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-52442

请登录查看更多情报信息。

Mailing List Discussions for CVE-2023-52442 (1)

Other References for CVE-2023-52442 (4)

Same Patch Batch · Linux · 2024-02-21 · 7 CVEs total

CVE-2024-26585 9.8 CRITICAL tls: fix race between tx work scheduling and socket close
CVE-2024-26583 9.8 CRITICAL tls: fix race between async notify and socket close
CVE-2024-26584 9.8 CRITICAL net: tls: handle backlogging of crypto requests
CVE-2024-26582 9.8 CRITICAL net: tls: fix use-after-free with partial reads and async decrypt
CVE-2023-52440 9.8 CRITICAL ksmbd: fix slub overflow in ksmbd_decode_ntlmssp_auth_blob()
CVE-2023-52441 9.1 CRITICAL ksmbd: fix out of bounds in init_smb2_rsp_hdr()

IV. Related Vulnerabilities

V. Comments for CVE-2023-52442

No comments yet


Leave a comment