cve.bz

CVE-2023-38431 Out-of-bounds Read

9.1 criticalEPSS 1.2%Fix available

Critical (9.1). EPSS 1.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.1 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
EPSS
1.2% (unchanged from 1.2% a week ago; 1.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 68th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-125 Out-of-bounds Read
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-38431 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-38431?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-38431?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-38431 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelfrom 5.15 before 5.15.145
linux:linux_kernelfrom 5.16 before 6.1.34
linux:linux_kernelfrom 6.2 before 6.3.8

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12linux6.1.37-1DEBIAN-CVE-2023-38431
Debian13, 14linux6.3.11-1DEBIAN-CVE-2023-38431
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2023-38431
Ubuntu18.04:LTSlinux-gcp, linux-hwe, linux-oem and 11 moreno fix listedUBUNTU-CVE-2023-38431
Ubuntu20.04:LTSlinux-aws-5.155.15.0-1057.63~20.04.1UBUNTU-CVE-2023-38431 USN-6725-2
Ubuntu20.04:LTSlinux-azure-5.155.15.0-1060.69~20.04.1UBUNTU-CVE-2023-38431 USN-6725-1
Ubuntu20.04:LTSlinux-azure-fde-5.155.15.0-1060.69~20.04.1.1USN-6725-1
Ubuntu20.04:LTSlinux-gcp-5.155.15.0-1055.63~20.04.1UBUNTU-CVE-2023-38431 USN-6725-1
Ubuntu20.04:LTSlinux-gkeop-5.155.15.0-1040.46~20.04.1UBUNTU-CVE-2023-38431 USN-6725-1
Ubuntu20.04:LTSlinux-hwe-5.15, linux-lowlatency-hwe-5.155.15.0-102.112~20.04.1UBUNTU-CVE-2023-38431 USN-6725-1
Ubuntu20.04:LTSlinux-ibm-5.155.15.0-1050.53~20.04.1UBUNTU-CVE-2023-38431 USN-6725-1
Ubuntu20.04:LTSlinux-intel-iotg-5.155.15.0-1052.58~20.04.1UBUNTU-CVE-2023-38431 USN-6725-1
Ubuntu20.04:LTSlinux-nvidia-tegra-5.155.15.0-1025.25~20.04.1UBUNTU-CVE-2023-38431
Ubuntu20.04:LTSlinux-oracle-5.155.15.0-1055.61~20.04.1UBUNTU-CVE-2023-38431 USN-6725-1
33 more for Ubuntu in the JSON and on Ubuntu's page.
Azure Linux2kernel5.15.122.1-2AZL-27539

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON