CVE-2026-43112fs/smb/client: fix out-of-bounds read in cifs_sanitize_prepath
Updated under an hour ago ()
Does this affect you?
It affects Linux and 10 other products. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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
- 8.8 HIGH (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Weakness (CWE)
- CWE-125
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- Linux
- NVD analysis
- Modified
- Record last updated
- Oct 16, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
Linux Linux linux:linux (from the name) | from c63433a09d6ae4c226fcbc66da4c58fc189fd746 before a2ba20c17de8eb028f96b1d85f119d3d25655bd9; from a31080899d5fdafcccf7f39dd214a814a2c82626 before fbced33599653471b4581dfe1abc7b467031f126; from a31080899d5fdafcccf7f39dd214a814a2c82626 before 5d4fe469fe7dbff7d874c196bb680a82f2625d95; from a31080899d5fdafcccf7f39dd214a814a2c82626 before 2d29214448ec0f4e7e18bb1c14dd4a6c07f1c439; from a31080899d5fdafcccf7f39dd214a814a2c82626 before 86f9c23e0814cfdffda9eedf0c591c51ba209010; from a31080899d5fdafcccf7f39dd214a814a2c82626 before 49b1ce6d7cfb6c5a49f68bf5ccfcfb6ba14e63c3; from a31080899d5fdafcccf7f39dd214a814a2c82626 before 78ec5bf2f589ec7fd8f169394bfeca541b077317; from 5.15.11 before 5.15.209 | CNA record |
Red Hat Red Hat Enterprise Linux 10 redhat:enterprise_linux | from 0:6.12.0-211.30.1.el10_2 not affected | CISA ADP |
Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support redhat:enterprise_linux_eus | from 0:6.12.0-55.95.1.el10_0 not affected | CISA ADP |
from 0:4.18.0-372.206.1.el8_6 not affected | CISA ADP | |
Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On redhat:rhel_eus_long_life | from 0:4.18.0-372.206.1.el8_6 not affected | CISA ADP |
from 0:4.18.0-477.158.1.el8_8 not affected | CISA ADP | |
from 0:4.18.0-477.158.1.el8_8 not affected | CISA ADP | |
Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support redhat:rhel_eus | from 0:5.14.0-570.134.1.el9_6 not affected | CISA ADP |
Red Hat Red Hat OpenShift Container Platform 4.12 redhat:openshift | from 412.86.202608241157-0 not affected | CISA ADP |
Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem siemens:simatic_s7_1500_tm_mfp_gnu_linux_subsystem (from the name) | all versions | CISA ADP |
linux linux_kernel linux:linux_kernel | from 5.16.1 before 6.6.136; from 6.7 before 6.12.83; from 6.13 before 6.18.24; from 6.19 before 6.19.14; 5.16; 5.16; 5.16; 5.16; and 6 more ranges | NVD |
References
- https://git.kernel.org/stable/c/a2ba20c17de8eb028f96b1d85f119d3d25655bd9
- https://git.kernel.org/stable/c/fbced33599653471b4581dfe1abc7b467031f126
- https://git.kernel.org/stable/c/5d4fe469fe7dbff7d874c196bb680a82f2625d95patch
- https://git.kernel.org/stable/c/2d29214448ec0f4e7e18bb1c14dd4a6c07f1c439patch
- https://git.kernel.org/stable/c/86f9c23e0814cfdffda9eedf0c591c51ba209010patch
- https://git.kernel.org/stable/c/49b1ce6d7cfb6c5a49f68bf5ccfcfb6ba14e63c3patch
- https://git.kernel.org/stable/c/78ec5bf2f589ec7fd8f169394bfeca541b077317patch
- https://access.redhat.com/errata/RHSA-2026:34911
- https://access.redhat.com/errata/RHSA-2026:36018
- https://access.redhat.com/errata/RHSA-2026:36365
- https://access.redhat.com/errata/RHSA-2026:36366
- https://access.redhat.com/errata/RHSA-2026:40764
- https://access.redhat.com/errata/RHSA-2026:52649
- https://access.redhat.com/errata/RHSA-2026:52764
- https://access.redhat.com/errata/RHSA-2026:53989
- https://access.redhat.com/errata/RHSA-2026:53990
- https://access.redhat.com/errata/RHSA-2026:56573
- https://access.redhat.com/errata/RHSA-2026:57402
- https://access.redhat.com/errata/RHSA-2026:57457
- https://access.redhat.com/errata/RHSA-2026:57543
- https://access.redhat.com/errata/RHSA-2026:59662
- https://access.redhat.com/errata/RHSA-2026:59663
- https://access.redhat.com/errata/RHSA-2026:59831
- https://access.redhat.com/errata/RHSA-2026:60019
- https://access.redhat.com/errata/RHSA-2026:62409
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.