Linux Kernel ksmbd fs/ksmbd/smb2misc.c ksmbd_smb2_check_message out-of-bounds

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.9$0-$5k0.00

Summaryinfo

A vulnerability was found in Linux Kernel. It has been classified as problematic. The impacted element is the function ksmbd_smb2_check_message of the file fs/ksmbd/smb2misc.c of the component ksmbd. Performing a manipulation results in out-of-bounds. This vulnerability is reported as CVE-2023-3865. The attack is possible to be carried out remotely. No exploit exists. It is suggested to install a patch to address this issue.

Detailsinfo

A vulnerability classified as problematic has been found in Linux Kernel (Operating System) (unknown version). This affects the function ksmbd_smb2_check_message of the file fs/ksmbd/smb2misc.c of the component ksmbd. The manipulation with an unknown input leads to a out-of-bounds vulnerability. CWE is classifying the issue as CWE-125. The product reads data past the end, or before the beginning, of the intended buffer. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix out-of-bound read in smb2_write ksmbd_smb2_check_message doesn't validate hdr->NextCommand. If ->NextCommand is bigger than Offset + Length of smb2 write, It will allow oversized smb2 write length. It will cause OOB read in smb2_write.

The weakness was disclosed 07/29/2023. The advisory is shared at lore.kernel.org. This vulnerability is uniquely identified as CVE-2023-3865 since 07/24/2023. Technical details are known, but no exploit is available.

Applying a patch is able to eliminate this problem. The bugfix is ready for download at lore.kernel.org.

The vulnerability is also documented in the vulnerability database at CERT Bund (WID-SEC-2025-1858). Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Affected

  • Debian Linux
  • Amazon Linux 2
  • Red Hat Enterprise Linux
  • Ubuntu Linux
  • SUSE Linux
  • Oracle Linux
  • SUSE openSUSE
  • RESF Rocky Linux
  • Dell Avamar
  • Open Source Linux Kernel
  • Dell NetWorker
  • Dell Secure Connect Gateway
  • IBM QRadar SIEM
  • IBM Security Verify Access

Productinfo

Type

Vendor

Name

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.0
VulDB Meta Temp Score: 5.9

VulDB Base Score: 5.0
VulDB Temp Score: 4.8
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 7.1
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Out-of-bounds
CWE: CWE-125 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔍

Patch: lore.kernel.org

Timelineinfo

07/24/2023 🔍
07/29/2023 +5 days 🔍
07/29/2023 +0 days 🔍
01/30/2026 +916 days 🔍

Sourcesinfo

Vendor: kernel.org

Advisory: lore.kernel.org
Status: Confirmed

CVE: CVE-2023-3865 (🔍)
GCVE (CVE): GCVE-0-2023-3865
GCVE (VulDB): GCVE-100-235737
CERT Bund: WID-SEC-2025-1858 - Linux Kernel: Mehrere Schwachstellen

Entryinfo

Created: 07/29/2023 06:49
Updated: 01/30/2026 15:34
Changes: 07/29/2023 06:49 (41), 08/16/2025 16:54 (16), 08/18/2025 12:40 (7), 09/28/2025 06:40 (1), 10/02/2025 17:51 (1), 10/12/2025 16:28 (1), 11/01/2025 18:43 (1), 11/18/2025 10:37 (1), 11/19/2025 02:42 (12), 01/30/2026 15:34 (1)
Complete: 🔍
Cache ID: 216::103

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to know what is going to be exploited?

We predict KEV entries!