CVE-2026-43112
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedIn 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThe CIFS SMB client in the Linux kernel has an out-of-bounds read vulnerability in the cifs_sanitize_prepath function. When this function receives an empty string or a string containing only path delimiters (e.g., '/'), it attempts to access memory at *(cursor2 - 1) before cursor2 has been properly advanced, causing an out-of-bounds read that was verified to trigger a SEGV (segmentation fault). The fix adds an early exit check after stripping prepended delimiters to return NULL if no path content remains.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 5.16.1, < 6.6.136>= 6.7, < 6.12.83>= 6.13, < 6.18.24>= 6.19, < 6.19.14= 5.16= 7.0CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Check kernel version against affected rangesRun 'uname -r' or 'cat /proc/version' to get the running kernel version. Compare against: >= 5.16.1, < 6.6.136; >= 6.7, < 6.12.83; >= 6.13, < 6.18.24; >= 6.19, < 6.19.14; = 5.16; = 7.0Affected if The installed kernel version falls within any of the affected ranges listed in the CVE
-
Verify CIFS kernel module is loadedRun 'lsmod | grep cifs' or check 'modinfo cifs' to confirm the CIFS client module is available on the systemAffected if The CIFS module is loaded or available, making the vulnerable code path reachable
-
Confirm cifs_sanitize_prepath function exists in kernelCheck /proc/kallsyms for the function symbol: 'grep cifs_sanitize_prepath /proc/kallsyms' or check if the CIFS module contains it: 'nm /lib/modules/$(uname -r)/kernel/fs/cifs/cifs.ko 2>/dev/null | grep cifs_sanitize_prepath'Affected if The function symbol is present, indicating the vulnerable code is included in the build
-
Identify if CIFS mounts with edge-case paths are in useReview current mount points for CIFS: 'mount -t cifs' or 'cat /proc/mounts | grep cifs'. Look for mounts using empty paths, root-only paths '/', or paths that would trigger the vulnerable code pathAffected if CIFS mounts exist that could pass an empty or delimiter-only string to cifs_sanitize_prepath
A system is affected if it runs a kernel version within the affected ranges AND has the CIFS client enabled, particularly when mounting CIFS shares with edge-case path inputs.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped6.6.1366.12.836.18.24
Apply the kernel patch that adds the early exit check in cifs_sanitize_prepath to prevent the out-of-bounds read on empty or delimiter-only inputs. Until the patch is applied, avoid passing empty paths or paths consisting only of '/' delimiters to CIFS mount operations.
Upgrade to one of: 6.6.136+, 6.12.83+, 6.18.24+, or 6.19.14+ (whichever corresponds to your current kernel branch)
- Identify the currently running Linux kernel version using 'uname -r'
- Determine which affected version range your current kernel falls into
- For kernels 5.16.1 <= version < 6.6.136: upgrade to kernel 6.6.136 or later
- For kernels 6.7 <= version < 6.12.83: upgrade to kernel 6.12.83 or later
- For kernels 6.13 <= version < 6.18.24: upgrade to kernel 6.18.24 or later
- For kernels 6.19 <= version < 6.19.14: upgrade to kernel 6.19.14 or later
- Alternatively, apply the upstream stable commit 2d29214448ec0f4e7e18bb1c14dd4a6c07f1c439 if building a custom kernel
- Reboot into the new kernel and verify the fix is present by checking the cifs_sanitize_prepath function behavior
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation2.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,752.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-43112 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sources- git.kernel.org
- git.kernel.org
- git.kernel.org
- git.kernel.org
- git.kernel.org
- git.kernel.org
- git.kernel.org
- git.kernel.org
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- bugzilla.redhat.com
- cert-portal.siemens.com
- security.access.redhat.com
- nvd.nist.gov
Practitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-43112 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data