CVE-2026-31614: smb: client: fix off-by-8 bounds check in check_wsl_eas()

Published Apr 24, 2026
·
Updated

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

smb: client: fix off-by-8 bounds check in checkwsleas()

The bounds check uses (u8 )ea + nlen + 1 + vlen as the end of the EA name and value, but eadata sits at offset sizeof(struct smb2filefulleainfo) = 8 from ea, not at offset 0. The strncmp() later reads ea->eadata[0..nlen-1] and the value bytes follow at eadata[nlen+1..nlen+vlen], so the actual end is ea->eadata + nlen + 1 + vlen. Isn't pointer math fun?

The earlier check (u8 )ea > end - sizeof(ea) only guarantees the 8-byte header is in bounds, but since the last EA is placed within 8 bytes of the end of the response, the name and value bytes are read past the end of iov.

Fix this mess all up by using ea->eadata as the base for the bounds check.

An "untrusted" server can use this to leak up to 8 bytes of kernel heap into the EA name comparison and influence which WSL xattr the data is interpreted as.

Affected Software

6 affected components
Linux Linux kernel
Linux Linux kernel>=6.6.32<6.6.136
Linux Linux kernel>=6.9<6.12.83
Linux Linux kernel>=6.13<6.18.24
Linux Linux kernel>=6.19<6.19.14
Linux Linux kernel>=7.0<7.0.1

Event History

Apr 24, 2026
CVE Published
via MITRE·02:42 PM
Data Sourced
via MITRE·02:42 PM
Description
Data Sourced
via NVD·03:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-31614?

The severity of CVE-2026-31614 is assessed as high due to the potential for exploitation in the Linux kernel.

2

How do I fix CVE-2026-31614?

To fix CVE-2026-31614, it is recommended to update your Linux kernel to the latest patched version.

3

What are the affected versions for CVE-2026-31614?

CVE-2026-31614 affects various versions of the Linux kernel, specifically between 6.6.32 to 6.6.136, 6.9 to 6.12.83, 6.13 to 6.18.24, 6.19 to 6.19.14, and 7.0 to 7.0.1.

4

What causes CVE-2026-31614?

CVE-2026-31614 is caused by an off-by-8 bounds check error in the 'check_wsl_eas()' function within the Linux kernel.

5

Is CVE-2026-31614 remotely exploitable?

CVE-2026-31614 may be exploitable remotely depending on the environment and configuration of the affected Linux systems.

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