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

Published May 6, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

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

When cifssanitizeprepath 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 Software

15 affected components
Linux Linux kernel
Linux Linux kernel>=5.16.1<6.6.136
Linux Linux kernel>=6.7<6.12.83
Linux Linux kernel>=6.13<6.18.24
Linux Linux kernel>=6.19<6.19.14
Linux Linux kernel=5.16
Linux Linux kernel=5.16-rc6
Linux Linux kernel=5.16-rc7
Linux Linux kernel=5.16-rc8
Linux Linux kernel=7.0-rc1
Linux Linux kernel=7.0-rc2
Linux Linux kernel=7.0-rc3
Linux Linux kernel=7.0-rc4
Linux Linux kernel=7.0-rc5
Linux Linux kernel=7.0-rc6

Event History

May 6, 2026
CVE Published
via MITRE·07:40 AM
Data Sourced
via MITRE·07:40 AM
DescriptionSeverity
Data Sourced
via Red Hat·10:03 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·10:16 AM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-43112?

CVE-2026-43112 is classified as a moderate severity vulnerability due to its potential for causing an out-of-bounds read.

2

How do I fix CVE-2026-43112?

To address CVE-2026-43112, update your Linux kernel to a version that contains the patch for this vulnerability.

3

What versions of the Linux kernel are affected by CVE-2026-43112?

CVE-2026-43112 affects various versions of the Linux kernel ranging from 5.16 to 6.19.

4

What is the impact of CVE-2026-43112?

The impact of CVE-2026-43112 could lead to sensitive information disclosure through an out-of-bounds read.

5

When was CVE-2026-43112 disclosed?

CVE-2026-43112 was disclosed in conjunction with updates to the Linux kernel addressing this security issue.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203