Skip to main content
Network Thinking Solutions Logo

CVE-2023-52442

Linux kernel: ksmbd: validate session id and tree id in compound request

All CVEs
CVE-2023-52442Published 2/21/2024

Linux kernel: ksmbd: validate session id and tree id in compound request

Vendor advisory
CVSS9.1Critical

Overview

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.

Published
2/21/2024
Last modified
8/4/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 5.15, < 5.15.145

Verify advisory

The supplementary CVE source changed after these NVD rules; verify the current advisory before confirming applicability.

Source
linux kernel
linux
≥ 5.16, < 6.1.53

Verify advisory

The supplementary CVE source changed after these NVD rules; verify the current advisory before confirming applicability.

Source
linux kernel
linux
≥ 6.2, < 6.4.16

Verify advisory

The supplementary CVE source changed after these NVD rules; verify the current advisory before confirming applicability.

Source
linux kernel
linux
6.5

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
Linux
Linux
≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 017d85c94f02090a87f4a473dbe0d6ee0da72693

Verify advisory

The supplementary CVE source changed after these NVD rules; verify the current advisory before confirming applicability.

Source
Linux
Linux
≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < becb5191d1d5fdfca0198a2e37457bbbf4fe266f

Verify advisory

The supplementary CVE source changed after these NVD rules; verify the current advisory before confirming applicability.

Source
Linux
Linux
≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 4c2b350b2e269e3fd17bbfa42de1b42775b777ac

Verify advisory

The supplementary CVE source changed after these NVD rules; verify the current advisory before confirming applicability.

Source
Linux
Linux
≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 3df0411e132ee74a87aa13142dfd2b190275332e

Verify advisory

The supplementary CVE source changed after these NVD rules; verify the current advisory before confirming applicability.

Source
Linux
Linux
5.15

Verify advisory

The supplementary CVE source changed after these NVD rules; verify the current advisory before confirming applicability.

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 9.1. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.