CVE-2026-43112: fs/smb/client: fix out-of-bounds read in cifs_sanitize_prepath
In the Linux kernel, the following vulnerability has been resolved:
fs/smb/client: fix out-of-bounds read in cifs_sanitize_prepath
When cifs_sanitize_prepath is called with an empty string or a string
containing only delimiters (e.g., "/"), the current logic attempts to
check *(cursor2 - 1) before cursor2 has advanced. This results in an
out-of-bounds read.
This patch adds an early exit check after stripping prepended
delimiters. If no path content remains, the function returns NULL.
The bug was identified via manual audit and verified using a
standalone test case compiled with AddressSanitizer, which
triggered a SEGV on affected inputs.
Security readout for executives and security teams
Plain-English summary
CVE-2026-43112 is a Linux kernel SMB/CIFS client flaw. A malformed or empty path can make the kernel read memory outside the intended buffer. The CVE rates it high severity, but the supplied sources do not show active exploitation.
Executive priority
Treat this as a high-priority kernel maintenance issue for Linux environments that use SMB/CIFS. Prioritize patch validation over emergency response unless new evidence shows exploitation or broader vendor impact.
Technical view
The flaw is in fs/smb/client cifs_sanitize_prepath. After stripping leading delimiters, empty or delimiter-only input can cause a check of cursor2 - 1 before cursor2 advances, triggering an out-of-bounds read. The fix adds an early return when no path content remains.
Likely exposure
Exposure is most relevant to Linux systems running affected kernels with SMB/CIFS client functionality. The source lists Linux kernel versions and multiple stable commits, but distribution impact should be confirmed against vendor advisories and package status.
Exploitation context
The source says the bug was found by manual audit and verified with an AddressSanitizer standalone test causing a SEGV. KEV is false, and no cited source in the bundle states active exploitation.
Researcher notes
The evidence supports CWE-125 out-of-bounds read in cifs_sanitize_prepath. The affected-version list in the bundle is unusual, with commit hashes and version values mixed, so validate exposure using upstream commits and vendor advisories.
Mitigation direction
Apply kernel updates that include the referenced stable fixes.
For Red Hat systems, follow the listed RHSA advisories and VEX status.
Prioritize systems using SMB/CIFS client mounts or workflows.
If patching is delayed, check vendor guidance for supported temporary controls.
Validation and detection
Inventory Linux kernel versions across servers, workstations, and appliances.
Identify hosts using SMB/CIFS client functionality.
Confirm installed kernels include the relevant stable fix or vendor erratum.
Review Red Hat CVE, Bugzilla, CSAF VEX, and RHSA entries for product status.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-125: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
2CVSS vectors
5Timeline events
1ADP providers
15Source links
CVSS vector scores
2 official scores
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-125 · source CWE mapping
Out-of-bounds Read
Out-of-bounds Read represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.