CVE-2026-31614
smb: client: fix off-by-8 bounds check in check_wsl_eas()
Reported by linux · Published April 24, 2026
In the Linux kernel, the following vulnerability has been resolved: smb: client: fix off-by-8 bounds check in check_wsl_eas() The bounds check uses (u8 *)ea + nlen + 1 + vlen as the end of the EA name and value, but ea_data sits at offset sizeof(struct smb2_file_full_ea_info) = 8 from ea, not at offset 0. The strncmp() later reads ea->ea_data[0..nlen-1] and the value bytes follow at ea_data[nlen+1..nlen+vlen], so the actual end is ea->ea_data + 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->ea_data 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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.12-modules-extra-common | Amazon Linux | 1:6.12.83-113.160.amzn2023 |
| bpftool6.18 | Amazon Linux | 1:6.18.25-55.108.amzn2023 |
| bpftool6.12 | Amazon Linux | 1:6.12.83-113.160.amzn2023 |
| kernel-livepatch-6.12.83-113.160 | Amazon Linux | 1:1.0-0.amzn2023 |
| kernel6.12-modules-extra | Amazon Linux | 1:6.12.83-113.160.amzn2023 |
| kernel6.18-headers | Amazon Linux | 1:6.18.25-55.108.amzn2023 |
| linux-qemu-6.12 | Chainguard | 6.12.85-r0 |
| linux-gcp-6.18 | Chainguard | 6.18.31-r0 |
| Linux | Linux | 6.9 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 7449d736bbbd160c76b01b8fcdf72f58a8757d4b, ea41367b2a602f602ea6594fc4a310520dcc64f4, ea41367b2a602f602ea6594fc4a310520dcc64f4 |
| Linux | Linux | 6.9, 0, 6.6.136 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel-livepatch-6.12.83-113.160 | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| chainguard | linux-qemu-6.12 | 0 |
| chainguard | linux-gcp-6.18 | 0 |
| Linux | Linux | 7.1, 7449d736bbbd160c76b01b8fcdf72f58a8757d4b, * |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| chainguard | linux-aws-6.18 | 0 |
| linux | linux_kernel | 6.9, 6.9, 6.9 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel-livepatch-6.18.25-55.108 | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
…and 13 more
Timeline
- Apr 24, 2026 CVE Published
- Apr 24, 2026 Security Advisory (102 in total, the first dated here)
- May 18, 2026 EPSS Score (25 in total, the first dated here)
- Jul 18, 2026 Coalition ESS Score
- Aug 11, 2026 Distribution Patch (97 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-31614
vulnetix vdb fixes CVE-2026-31614
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-31614/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart