High severity · published May 6, 2026
CVE-2026-43112
fs/smb/client: fix out-of-bounds read in cifs_sanitize_prepath
8.8
CVSS
0.4%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 29% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
KE
Kernel · Linux
5.16.1 before 6.6.136; 6.7 before 6.12.83; 6.13 before 6.18.24; 6.19 before 6.19.14; 5.16; 5.16; +8 more · source: NVD
LI
Linux · Linux
c63433a09d6ae4c226fcbc66da4c58fc189fd746 before a2ba20c17de8eb028f96b1d85f119d3d25655bd9; a31080899d5fdafcccf7f39dd214a814a2c82626 before fbced33599653471b4581dfe1abc7b467031f126; a31080899d5fdafcccf7f39dd214a814a2c82626 before 5d4fe469fe7dbff7d874c196bb680a82f2625d95; a31080899d5fdafcccf7f39dd214a814a2c82626 before 2d29214448ec0f4e7e18bb1c14dd4a6c07f1c439; a31080899d5fdafcccf7f39dd214a814a2c82626 before 86f9c23e0814cfdffda9eedf0c591c51ba209010; a31080899d5fdafcccf7f39dd214a814a2c82626 before 49b1ce6d7cfb6c5a49f68bf5ccfcfb6ba14e63c3; +3 more · source: vendor
RH
Red Hat Enterprise Linux 10 · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat Enterprise Linux 10.0 Extended Update Support · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat Enterprise Linux 8 · Red Hat
All versions, or not specified · source: CISA
RH
Red Hat Enterprise Linux 9 · Red Hat
All versions, or not specified · source: CISA