CVE-2026-43112
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
44cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*+ 11 more
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*range: >=5.16.1,<6.6.136
- cpe:2.3:o:linux:linux_kernel:5.16:-:*:*:*:*:*:*
- cpe:2.3:o:linux:linux_kernel:5.16:rc6:*:*:*:*:*:*
- cpe:2.3:o:linux:linux_kernel:5.16:rc7:*:*:*:*:*:*
- cpe:2.3:o:linux:linux_kernel:5.16:rc8:*:*:*:*:*:*
- cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:*
- cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:*
- cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:*
- cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:*
- cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:*
- cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:*
- (no CPE)
- osv-coords32 versionspkg:apk/chainguard/linux-aws-6.18pkg:apk/chainguard/linux-azure-6.18pkg:apk/chainguard/linux-gcp-6.18pkg:apk/chainguard/linux-qemu-6.18pkg:apk/chainguard/linux-qemu-6.18-bootc-boot-installedpkg:apk/chainguard/linux-vmware-6.18pkg:rpm/suse/kernel-64kb&distro=SUSE%20Linux%20Enterprise%20Server%2016.0pkg:rpm/suse/kernel-64kb&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20applications%2016.0pkg:rpm/suse/kernel-64kb&distro=SUSE%20Linux%20Micro%206.2pkg:rpm/suse/kernel-azure&distro=SUSE%20Linux%20Enterprise%20Server%2016.0pkg:rpm/suse/kernel-azure&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20applications%2016.0pkg:rpm/suse/kernel-default-base&distro=SUSE%20Linux%20Enterprise%20Server%2016.0pkg:rpm/suse/kernel-default-base&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20applications%2016.0pkg:rpm/suse/kernel-default-base&distro=SUSE%20Linux%20Micro%206.2pkg:rpm/suse/kernel-default&distro=SUSE%20Linux%20Enterprise%20High%20Availability%20Extension%2016.0pkg:rpm/suse/kernel-default&distro=SUSE%20Linux%20Enterprise%20Server%2016.0pkg:rpm/suse/kernel-default&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20applications%2016.0pkg:rpm/suse/kernel-default&distro=SUSE%20Linux%20Micro%206.2pkg:rpm/suse/kernel-docs&distro=SUSE%20Linux%20Enterprise%20Server%2016.0pkg:rpm/suse/kernel-docs&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20applications%2016.0pkg:rpm/suse/kernel-kvmsmall&distro=SUSE%20Linux%20Enterprise%20Server%2016.0pkg:rpm/suse/kernel-kvmsmall&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20applications%2016.0pkg:rpm/suse/kernel-obs-qa&distro=SUSE%20Linux%20Enterprise%20Server%2016.0pkg:rpm/suse/kernel-obs-qa&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20applications%2016.0pkg:rpm/suse/kernel-rt&distro=SUSE%20Linux%20Micro%206.2pkg:rpm/suse/kernel-source&distro=SUSE%20Linux%20Enterprise%20Server%2016.0pkg:rpm/suse/kernel-source&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20applications%2016.0pkg:rpm/suse/kernel-source&distro=SUSE%20Linux%20Micro%206.2pkg:rpm/suse/kernel-syms&distro=SUSE%20Linux%20Enterprise%20Server%2016.0pkg:rpm/suse/kernel-syms&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20applications%2016.0pkg:rpm/suse/kernel-zfcpdump&distro=SUSE%20Linux%20Enterprise%20Server%2016.0pkg:rpm/suse/kernel-zfcpdump&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20applications%2016.0
< 6.18.31-r0+ 31 more
- (no CPE)range: < 6.18.31-r0
- (no CPE)range: < 6.18.24-r1
- (no CPE)range: < 6.18.31-r0
- (no CPE)range: < 6.18.31-r0
- (no CPE)range: < 6.18.31-r0
- (no CPE)range: < 6.18.31-r0
- (no CPE)range: < 6.12.0-160000.34.1
- (no CPE)range: < 6.12.0-160000.34.1
- (no CPE)range: < 6.12.0-160000.34.1
- (no CPE)range: < 6.12.0-160000.34.1
- (no CPE)range: < 6.12.0-160000.34.1
- (no CPE)range: < 6.12.0-160000.34.1.160000.2.15
- (no CPE)range: < 6.12.0-160000.34.1.160000.2.15
- (no CPE)range: < 6.12.0-160000.34.1.160000.2.15
- (no CPE)range: < 6.12.0-160000.34.1
- (no CPE)range: < 6.12.0-160000.34.1
- (no CPE)range: < 6.12.0-160000.34.1
- (no CPE)range: < 6.12.0-160000.34.1
- (no CPE)range: < 6.12.0-160000.34.1
- (no CPE)range: < 6.12.0-160000.34.1
- (no CPE)range: < 6.12.0-160000.34.1
- (no CPE)range: < 6.12.0-160000.34.1
- (no CPE)range: < 6.12.0-160000.34.1
- (no CPE)range: < 6.12.0-160000.34.1
- (no CPE)range: < 6.12.0-160000.34.1
- (no CPE)range: < 6.12.0-160000.34.1
- (no CPE)range: < 6.12.0-160000.34.1
- (no CPE)range: < 6.12.0-160000.34.1
- (no CPE)range: < 6.12.0-160000.34.1
- (no CPE)range: < 6.12.0-160000.34.1
- (no CPE)range: < 6.12.0-160000.34.1
- (no CPE)range: < 6.12.0-160000.34.1
Patches
Vulnerability mechanics
References
7- git.kernel.org/stable/c/2d29214448ec0f4e7e18bb1c14dd4a6c07f1c439nvdPatch
- git.kernel.org/stable/c/49b1ce6d7cfb6c5a49f68bf5ccfcfb6ba14e63c3nvdPatch
- git.kernel.org/stable/c/5d4fe469fe7dbff7d874c196bb680a82f2625d95nvdPatch
- git.kernel.org/stable/c/78ec5bf2f589ec7fd8f169394bfeca541b077317nvdPatch
- git.kernel.org/stable/c/86f9c23e0814cfdffda9eedf0c591c51ba209010nvdPatch
- git.kernel.org/stable/c/a2ba20c17de8eb028f96b1d85f119d3d25655bd9nvd
- git.kernel.org/stable/c/fbced33599653471b4581dfe1abc7b467031f126nvd
News mentions
0No linked articles in our index yet.