Linux KernelOperating system · Linux

CVE-2026-43112

HIGH · 8.8 CVSS v3.1 Published 2026-05-06
Fix available
A fix is available. Upgrade to 6.6.136 / 6.12.83 or later.
See remediation →
95/100
Remediation priority · Urgent
Remotely reachable No privileges Patch available

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 · unedited
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.

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 confidence

The 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.

MitigationApply 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.

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
Linux KernelOperating system
Affected:>= 5.16.1, < 6.6.136>= 6.7, < 6.12.83>= 6.13, < 6.18.24>= 6.19, < 6.19.14= 5.16= 7.0

CVSS 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 checks

Work through these to decide whether this CVE applies to you.

  1. Check kernel version against affected ranges
    Run '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.0
    Affected if The installed kernel version falls within any of the affected ranges listed in the CVE
  2. Verify CIFS kernel module is loaded
    Run 'lsmod | grep cifs' or check 'modinfo cifs' to confirm the CIFS client module is available on the system
    Affected if The CIFS module is loaded or available, making the vulnerable code path reachable
  3. Confirm cifs_sanitize_prepath function exists in kernel
    Check /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
  4. Identify if CIFS mounts with edge-case paths are in use
    Review 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 path
    Affected 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.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

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 · scoped
Upgrade available Upgrade to 6.6.136 / 6.12.83 / 6.18.24 or later
Fixed in 6.6.1366.12.836.18.24
Vendor patch git.kernel.org →
Interim mitigation

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.

Recommended fix High confidence

Upgrade to one of: 6.6.136+, 6.12.83+, 6.18.24+, or 6.19.14+ (whichever corresponds to your current kernel branch)

  1. Identify the currently running Linux kernel version using 'uname -r'
  2. Determine which affected version range your current kernel falls into
  3. For kernels 5.16.1 <= version < 6.6.136: upgrade to kernel 6.6.136 or later
  4. For kernels 6.7 <= version < 6.12.83: upgrade to kernel 6.12.83 or later
  5. For kernels 6.13 <= version < 6.18.24: upgrade to kernel 6.18.24 or later
  6. For kernels 6.19 <= version < 6.19.14: upgrade to kernel 6.19.14 or later
  7. Alternatively, apply the upstream stable commit 2d29214448ec0f4e7e18bb1c14dd4a6c07f1c439 if building a custom kernel
  8. Reboot into the new kernel and verify the fix is present by checking the cifs_sanitize_prepath function behavior
Caveat Kernel upgrades generally safe; however, ensure compatibility with hardware drivers and any kernel-space modules or applications that depend on specific kernel behaviors

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Linux Kernel Scoped from the published advisory
  • Consultation2.0 h
  • Implementation2.0 h
  • Testing4.0 h
  • Review / QA2.0 h
10.0 hours of engineering $1,720
Get the upgrade done

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 locally
dbcve dependency scanner

Check 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

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-43112 in production — separate from our analysis above.

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.

What this is

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.

What belongs here
  • 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