8.8
High
CVE-2026-43112 In the Linux kernel, the following vulnerability has been resolved: fs/smb/client: fix out-of-bounds read in…
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 products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Linux 7.0 | earliest → < 7.0 | 7.0 |
| Linux 6.19 | earliest → < 6.19.14 | 6.19.14 |
| Linux 6.18 | earliest → < 6.18.24 | 6.18.24 |
| Linux 6.12 | earliest → < 6.12.83 | 6.12.83 |
| Linux 6.6 | earliest → < 6.6.136 | 6.6.136 |
| Linux 6.1 | earliest → < 6.1.175 | 6.1.175 |
| Linux | 5.16 | No fix stated |
| Linux 5.15 | earliest → < 5.15.209 | 5.15.209 |
| Red Hat Enterprise Linux 10 | Versions not published |
Show the 38 other branches Hide the 38 other branches
References
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
Timeline
- Published
- Last modified
Other CVEs of Linux
The 18283 CVEs of Linux →
CVE-2026-99270
In the Linux kernel, the following vulnerability has been resolved:
tcp: Fix potential UAF in reqsk_timer_handler()
8.1
High
CVE-2026-99269
In the Linux kernel, the following vulnerability has been resolved: sched_ext: Wait for SCX_OPSS_DISPATCHING before…
7.8
High
CVE-2026-99261
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: correct reservation fence slots for…
Not rated
CVE-2026-99260
In the Linux kernel, the following vulnerability has been resolved: ntfs: fix resident conversion in ntfs_new_attr_flags…
Not rated