CVE-2026-43112

fs/smb/client: fix out-of-bounds read in cifs_sanitize_prepath

HIGH
8.8
CVSS Score
Published: May 6, 2026 at 07:40 AM UTC
Updated: October 19, 2026 at 08:18 PM UTC
3 products affected across 2 vendorsLinux KernelEnterprise LinuxOpenShift Container Platform

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.8
Exploit prediction
EPSS 0.4%
SSVC
No known exploit

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.16.1 ≤ v < 6.6.1366.13 ≤ v < 6.18.246.19 ≤ v < 6.19.146.7 ≤ v < 6.12.835.15.115.165.16 rc65.16 rc75.16 rc87.07.0 rc17.0 rc27.0 rc37.0 rc47.0 rc57.0 rc6a31080899d5fdafcccf7f39dd214a814a2c82626c63433a09d6ae4c226fcbc66da4c58fc189fd746
Vendor states this is fixed in 2d29214448ec0f4e7e18bb1c14dd4a6c07f1c439 (fixed)
Vendor states this is fixed in 49b1ce6d7cfb6c5a49f68bf5ccfcfb6ba14e63c3 (fixed)
Vendor states this is fixed in 5d4fe469fe7dbff7d874c196bb680a82f2625d95 (fixed)
Vendor states this is fixed in 78ec5bf2f589ec7fd8f169394bfeca541b077317 (fixed)
Vendor states this is fixed in 86f9c23e0814cfdffda9eedf0c591c51ba209010 (fixed)
Vendor states this is fixed in a2ba20c17de8eb028f96b1d85f119d3d25655bd9 (fixed)
Vendor states this is fixed in fbced33599653471b4581dfe1abc7b467031f126 (fixed)
Vendor states this is fixed in 5.15.209 (unaffected)
Vendor states this is fixed in 5.16 (unaffected)
Vendor states this is fixed in 6.1.175 (unaffected)
Vendor states this is fixed in 6.12.83 (unaffected)
Vendor states this is fixed in 6.18.24 (unaffected)
Vendor states this is fixed in 6.19.14 (unaffected)
Vendor states this is fixed in 6.6.136 (unaffected)
Vendor states this is fixed in 7.0 (unaffected)
Vendor states this is fixed in 0:4.18.0-372.206.1.el8_6 (unaffected)
Vendor states this is fixed in 0:4.18.0-477.158.1.el8_8 (unaffected)
Vendor states this is fixed in 0:4.18.0-553.141.1.el8_10 (unaffected)
Vendor states this is fixed in 0:4.18.0-553.141.1.rt7.482.el8_10 (unaffected)
Vendor states this is fixed in 0:5.14.0-284.188.1.el9_2 (unaffected)
Vendor states this is fixed in 0:5.14.0-284.188.1.rt14.473.el9_2 (unaffected)
Vendor states this is fixed in 0:5.14.0-427.145.1.el9_4 (unaffected)
Vendor states this is fixed in 0:5.14.0-570.134.1.el9_6 (unaffected)
Vendor states this is fixed in 0:5.14.0-687.22.1.el9_8 (unaffected)
Vendor states this is fixed in 0:6.12.0-211.30.1.el10_2 (unaffected)
Vendor states this is fixed in 0:6.12.0-55.95.1.el10_0 (unaffected)
Vendor states this is fixed in 10 (unaffected)
Vendor states this is fixed in 6 (unaffected)
Vendor states this is fixed in 7 (unaffected)
Vendor states this is fixed in 4.19.9.6.202608182320-0 (unaffected)
Vendor states this is fixed in 4.20.9.6.202608181658-0 (unaffected)
Vendor states this is fixed in 4.21.9.6.202608180431-0 (unaffected)
Vendor states this is fixed in 4.22.9.8.202607152026-0 (unaffected)
Vendor states this is fixed in 412.86.202608241157-0 (unaffected)
Vendor states this is fixed in 413.92.202609080414-0 (unaffected)
Vendor states this is fixed in 414.92.202609011250-0 (unaffected)
Vendor states this is fixed in 416.94.202609011112-0 (unaffected)
Vendor states this is fixed in 417.94.202608250221-0 (unaffected)
Vendor states this is fixed in 418.94.202609031320-0 (unaffected)

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

8.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-125

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card