VDB

CVE-2026-31614

CVE-2026-31614 PUBLISHED

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.

PackageEcosystemFixed in
kernel6.12-modules-extra-commonAmazon Linux1:6.12.83-113.160.amzn2023
bpftool6.18Amazon Linux1:6.18.25-55.108.amzn2023
bpftool6.12Amazon Linux1:6.12.83-113.160.amzn2023
kernel-livepatch-6.12.83-113.160Amazon Linux1:1.0-0.amzn2023
kernel6.12-modules-extraAmazon Linux1:6.12.83-113.160.amzn2023
kernel6.18-headersAmazon Linux1:6.18.25-55.108.amzn2023
linux-qemu-6.12Chainguard6.12.85-r0
linux-gcp-6.18Chainguard6.18.31-r0
LinuxLinux6.9

Affected products

VendorProductVersions
LinuxLinux7449d736bbbd160c76b01b8fcdf72f58a8757d4b, ea41367b2a602f602ea6594fc4a310520dcc64f4, ea41367b2a602f602ea6594fc4a310520dcc64f4
LinuxLinux6.9, 0, 6.6.136
amazon:2023kernel6.12-modules-extra-common0
amazon:2023bpftool6.180
amazon:2023bpftool6.120
amazon:2023kernel-livepatch-6.12.83-113.1600
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.18-headers0
chainguardlinux-qemu-6.120
chainguardlinux-gcp-6.180
LinuxLinux7.1, 7449d736bbbd160c76b01b8fcdf72f58a8757d4b, *
amazon:2023python3-perf6.180
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel6.12-tools0
chainguardlinux-aws-6.180
linuxlinux_kernel6.9, 6.9, 6.9
amazon:2023kernel6.18-tools0
amazon:2023kernel-livepatch-6.18.25-55.1080
amazon:2023kernel6.12-devel0
amazon:2023kernel6.18-modules-extra-common0

…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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›