VDB

CVE-2026-98171

CVE-2026-98171 PUBLISHED CVSS 8.8 HIGH

smb: client: fix next_buffer UAF and NextCommand bounds in compound PDUs

Reported by linux · Published October 6, 2026

In the Linux kernel, the following vulnerability has been resolved: smb: client: fix next_buffer UAF and NextCommand bounds in compound PDUs Fix several related bounds checking and pointer lifecycle issues in receive_encrypted_standard()'s handling of compound encrypted frames: - Clear next_buffer after assigning it to server->bigbuf. A stale next_buffer pointer can lead to a use-after-free on subsequent error paths. - Update pdu_length to the decrypted plaintext size (buf_size). Using the pre-decryption length allows NextCommand to point into stale ciphertext residue. - Reject next_cmd values smaller than MID_HEADER_SIZE(server). - Fix an integer overflow in the upper bound check by verifying pdu_length - next_cmd < MID_HEADER_SIZE(server), ensuring the trailing slice is large enough for a header.

EPSS 0.54% · 46.2th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel6.12-tools-develAmazon Linux1:6.12.113-138.209.amzn2023
LinuxLinux72eaef1f37a3b6bec11c342736834dc3707be3e4, 4.19

Risk scores

CVSS 3.1
8.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS Score
0.54%
46.2th percentile

Affected products

VendorProductVersions
LinuxLinuxb24df3e30cbf48255db866720fb71f14bf9d2f39, b24df3e30cbf48255db866720fb71f14bf9d2f39, b24df3e30cbf48255db866720fb71f14bf9d2f39
LinuxLinux4.19, 0, 5.10.273
amazon:2023kernel6.12-tools-devel0
LinuxLinux7.3, 7.2.8, *
amazon:2023kernel6.12-devel0
amazon:2023python3-perf0
amazon:2023kernel-headers0
amazon:2023kernel6.18-headers0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023bpftool0
amazon:2023kernel-devel0
amazon:2023kernel6.12-headers0
amazon:2023perf6.180
amazon:2023kernel-tools0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.180
amazon:2023kernel6.12-modules-extra-common0
amazon:2023bpftool6.120
amazon:2023microvm-kernel6.180

…and 19 more

Timeline

  • Oct 6, 2026 EPSS Score (18 in total, the first dated here)
  • Oct 6, 2026 Coalition ESS Score
  • Oct 6, 2026 CVE Published
  • Oct 30, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-98171
vulnetix vdb fixes CVE-2026-98171

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-98171/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 ›