Vulnerabilities / CVE-2023-38431

critical

CVE-2023-38431

An issue was discovered in the Linux kernel before 6.3.8. fs/smb/serve ...

Published Modified CWE 125
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, CBL-Mariner, Photon OS. Rated lower by Ubuntu (high).

Description

An issue was discovered in the Linux kernel before 6.3.8. fs/smb/server/connection.c in ksmbd does not validate the relationship between the NetBIOS header's length field and the SMB header sizes, via pdu_size in ksmbd_conn_handler_loop, leading to an out-of-bounds read.

Affected packages and fixed versions

SourcePackageFixed in
CBL-Mariner 1.0kernel0:5.10.188.1-1.cm1
CBL-Mariner 2.0kernel0:5.15.122.1-2.cm2
Photon OS 5.0bpftool, linux, linux-devel and 5 more6.1.37-1.ph5
debian 12linux6.1.37-1
debian 13linux6.3.11-1
debian 14linux6.3.11-1
echolinux6.1.37-1
root.io debian 12rootio-linux6.1.37-1
root.io debian 13rootio-linux6.3.11-1
root.io ubuntu 22.04rootio-linux5.15.0-102.112
ubuntu 20.04linux-aws-5.15, linux-azure-5.15, linux-gcp-5.15 and 8 more5.15.0-1057.63~20.04.1 and 9 more
ubuntu 20.04-ESMlinux-aws-5.15, linux-azure-5.15, linux-gcp-5.15 and 8 more5.15.0-1057.63~20.04.1 and 9 more
Show all 75 entries from 14 sources
SourcePackageFixed in
CBL-Mariner 1.0kernel0:5.10.188.1-1.cm1
CBL-Mariner 2.0kernel0:5.15.122.1-2.cm2
Photon OS 5.0bpftool6.1.37-1.ph5
Photon OS 5.0linux6.1.37-1.ph5
Photon OS 5.0linux-devel6.1.37-1.ph5
Photon OS 5.0linux-docs6.1.37-1.ph5
Photon OS 5.0linux-drivers-gpu6.1.37-1.ph5
Photon OS 5.0linux-drivers-sound6.1.37-1.ph5
Photon OS 5.0linux-python3-perf6.1.37-1.ph5
Photon OS 5.0linux-tools6.1.37-1.ph5
debian 12linux6.1.37-1
debian 13linux6.3.11-1
debian 14linux6.3.11-1
echolinux6.1.37-1
root.io debian 12rootio-linux6.1.37-1
root.io debian 13rootio-linux6.3.11-1
root.io ubuntu 22.04rootio-linux5.15.0-102.112
ubuntu 20.04linux-aws-5.155.15.0-1057.63~20.04.1
ubuntu 20.04linux-azure-5.155.15.0-1060.69~20.04.1
ubuntu 20.04linux-gcp-5.155.15.0-1055.63~20.04.1
ubuntu 20.04linux-gkeop-5.155.15.0-1040.46~20.04.1
ubuntu 20.04linux-hwe-5.155.15.0-102.112~20.04.1
ubuntu 20.04linux-ibm-5.155.15.0-1050.53~20.04.1
ubuntu 20.04linux-intel-iotg-5.155.15.0-1052.58~20.04.1
ubuntu 20.04linux-lowlatency-hwe-5.155.15.0-102.112~20.04.1
ubuntu 20.04linux-nvidia-tegra-5.155.15.0-1025.25~20.04.1
ubuntu 20.04linux-oracle-5.155.15.0-1055.61~20.04.1
ubuntu 20.04linux-riscv-5.155.15.0-1053.57~20.04.1
ubuntu 20.04-ESMlinux-aws-5.155.15.0-1057.63~20.04.1
ubuntu 20.04-ESMlinux-azure-5.155.15.0-1060.69~20.04.1
ubuntu 20.04-ESMlinux-gcp-5.155.15.0-1055.63~20.04.1
ubuntu 20.04-ESMlinux-gkeop-5.155.15.0-1040.46~20.04.1
ubuntu 20.04-ESMlinux-hwe-5.155.15.0-102.112~20.04.1
ubuntu 20.04-ESMlinux-ibm-5.155.15.0-1050.53~20.04.1
ubuntu 20.04-ESMlinux-intel-iotg-5.155.15.0-1052.58~20.04.1
ubuntu 20.04-ESMlinux-lowlatency-hwe-5.155.15.0-102.112~20.04.1
ubuntu 20.04-ESMlinux-nvidia-tegra-5.155.15.0-1025.25~20.04.1
ubuntu 20.04-ESMlinux-oracle-5.155.15.0-1055.61~20.04.1
ubuntu 20.04-ESMlinux-riscv-5.155.15.0-1053.57~20.04.1
ubuntu 22.04linux5.15.0-102.112
ubuntu 22.04linux-aws5.15.0-1057.63
ubuntu 22.04linux-aws-6.26.2.0-1013.13~22.04.1
ubuntu 22.04linux-azure5.15.0-1060.69
ubuntu 22.04linux-azure-6.26.2.0-1014.14~22.04.1
ubuntu 22.04linux-azure-fde5.15.0-1060.69.1
ubuntu 22.04linux-azure-fde-6.26.2.0-1014.14~22.04.1
ubuntu 22.04linux-gcp5.15.0-1055.63
ubuntu 22.04linux-gcp-6.26.2.0-1016.18~22.04.1
ubuntu 22.04linux-gke5.15.0-1054.59
ubuntu 22.04linux-gkeop5.15.0-1040.46
ubuntu 22.04linux-hwe-6.26.2.0-34.34~22.04.1
ubuntu 22.04linux-ibm5.15.0-1050.53
ubuntu 22.04linux-intel-iot-realtime5.15.0-1050.52
ubuntu 22.04linux-intel-iotg5.15.0-1052.58
ubuntu 22.04linux-kvm5.15.0-1054.59
ubuntu 22.04linux-lowlatency5.15.0-102.112
ubuntu 22.04linux-lowlatency-hwe-6.26.2.0-1014.14~22.04.1
ubuntu 22.04linux-nvidia5.15.0-1048.48
ubuntu 22.04linux-nvidia-6.26.2.0-1011.11
ubuntu 22.04linux-nvidia-tegra5.15.0-1025.25
ubuntu 22.04linux-nvidia-tegra-igx5.15.0-1012.12
ubuntu 22.04linux-oem-6.16.1.0-1016.16
ubuntu 22.04linux-oracle5.15.0-1055.61
ubuntu 22.04linux-raspi5.15.0-1050.53
ubuntu 22.04linux-xilinx-zynqmp5.15.0-1030.34
ubuntu 23.04linux6.2.0-34.34
ubuntu 23.04linux-aws6.2.0-1013.13
ubuntu 23.04linux-azure6.2.0-1014.14
ubuntu 23.04linux-gcp6.2.0-1016.18
ubuntu 23.04linux-kvm6.2.0-1014.14
ubuntu 23.04linux-lowlatency6.2.0-1014.14
ubuntu 23.04linux-oracle6.2.0-1013.13
ubuntu 23.04linux-raspi6.2.0-1014.16
ubuntu 23.04linux-riscv6.2.0-34.34.1
ubuntu 23.04linux-starfive6.2.0-1006.7

References

All 10 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.