Vulnerability · Published Aug 16, 2025 · Assigned by Linux
CVE-2023-3865ksmbd: fix out-of-bound read in smb2_write
High 8.1
In plain English
A high-severity security flaw in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 51% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)8.1High
Exploit odds (30 days)0.6%top 48.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | linux | 6.1.37-1 | DEBIAN-CVE-2023-3865 |
| Debian:13 | linux | 6.3.11-1 | DEBIAN-CVE-2023-3865 |
| Debian:14 | linux | 6.3.11-1 | DEBIAN-CVE-2023-3865 |
| Ubuntu:22.04:LTS | linux | 5.15.0-86.96 | USN-6416-1 |
| Ubuntu:22.04:LTS | linux | 5.15.0-86.96 | UBUNTU-CVE-2023-3865 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2023-3865 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1047.52 | UBUNTU-CVE-2023-3865 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1047.52 | USN-6416-1 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2023-3865 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | 6.2.0-1015.15~22.04.1 | UBUNTU-CVE-2023-3865 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | 6.2.0-1015.15~22.04.1 | USN-6464-1 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1049.56 | UBUNTU-CVE-2023-3865 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1049.56 | USN-6416-1 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2023-3865 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | 6.2.0-1016.16~22.04.1 | UBUNTU-CVE-2023-3865 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | 6.2.0-1016.16~22.04.1 | USN-6464-1 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1049.56.1 | USN-6416-1 |
| Ubuntu:22.04:LTS | linux-azure-fde | 5.15.0-1049.56.1 | UBUNTU-CVE-2023-3865 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2023-3865 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | 6.2.0-1016.16~22.04.1.1 | USN-6464-1 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | 6.2.0-1016.16~22.04.1.1 | UBUNTU-CVE-2023-3865 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1044.52 | USN-6416-1 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1044.52 | UBUNTU-CVE-2023-3865 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2023-3865 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | 6.2.0-1018.20~22.04.1 | USN-6464-1 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | 6.2.0-1018.20~22.04.1 | UBUNTU-CVE-2023-3865 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1044.49 | USN-6416-1 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1044.49 | UBUNTU-CVE-2023-3865 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1030.35 | UBUNTU-CVE-2023-3865 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1030.35 | USN-6416-1 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2023-3865 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | 6.2.0-36.37~22.04.1 | USN-6464-1 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | 6.2.0-36.37~22.04.1 | UBUNTU-CVE-2023-3865 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1040.43 | UBUNTU-CVE-2023-3865 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1040.43 | USN-6416-1 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1043.49 | UBUNTU-CVE-2023-3865 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1043.49 | USN-6445-1 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1044.49 | UBUNTU-CVE-2023-3865 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1044.49 | USN-6416-1 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-86.95 | UBUNTU-CVE-2023-3865 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-86.95 | USN-6416-1 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2023-3865 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | 6.2.0-1016.16~22.04.1 | UBUNTU-CVE-2023-3865 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | 6.2.0-1016.16~22.04.1 | USN-6464-1 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1037.37 | UBUNTU-CVE-2023-3865 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1037.37 | USN-6416-1 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | 6.2.0-1011.11 | UBUNTU-CVE-2023-3865 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | 6.2.0-1011.11 | USN-6466-1 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra | 5.15.0-1018.18 | UBUNTU-CVE-2023-3865 |
| Ubuntu:22.04:LTS | linux-nvidia-tegra-igx | 5.15.0-1005.5 | UBUNTU-CVE-2023-3865 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2023-3865 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2023-3865 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | 6.1.0-1019.19 | UBUNTU-CVE-2023-3865 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1045.51 | USN-6416-1 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1045.51 | UBUNTU-CVE-2023-3865 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1040.43 | UBUNTU-CVE-2023-3865 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1040.43 | USN-6416-3 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2023-3865 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2023-3865 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2023-3865 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2023-3865 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2023-3865 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | 6.2.0-1009.10~22.04.1 | UBUNTU-CVE-2023-3865 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | 6.2.0-1009.10~22.04.1 | USN-6520-1 |
| Ubuntu:22.04:LTS | linux-xilinx-zynqmp | 5.15.0-1025.29 | UBUNTU-CVE-2023-3865 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 – before 3813eee5154d6a4c5875cb4444cb2b63bac8947fe2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 – before c86211159bc3178b891e0d60e586a32c7b6a231be2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 – before 58a9c41064df27632e780c5a3ae3e0e4284957d1e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 – before 5fe7f7b78290638806211046a99f031ff26164e1 |
| Linux | Linux | 5.15 |