VDB

CVE-2026-89637

CVE-2026-89637 PUBLISHED CVSS 9.8 CRITICAL

smb: client: fix UAF and buffer leak in cifs_check_trans2() for malformed secondary T2

Reported by linux · Published September 11, 2026

In the Linux kernel, the following vulnerability has been resolved: smb: client: fix UAF and buffer leak in cifs_check_trans2() for malformed secondary T2 When a valid primary TRANSACT2 response has been received (mid->resp_buf set, mid->multiRsp true) and a subsequent secondary response causes cifs_check_trans2() to return false -- either because the SMB header is invalid (malformed != 0) or because check2ndT2() rejects the PDU -- handle_mid() overwrites mid->resp_buf with the new buffer (leaking the primary buffer) and, because mid->multiRsp is set, skips the server->smallbuf/bigbuf NULL-out. When the user thread frees mid->resp_buf, server->smallbuf or server->bigbuf is left dangling; the demux thread reuses it for the next packet, resulting in a use-after-free. Combine both early-exit conditions and, when mid->multiRsp is already set, abort the pending transaction inline: set multiEnd, call dequeue_mid() with malformed=true, and return true so handle_mid() exits without touching mid->resp_buf or the server buffer pointers.

EPSS 0.60% · 49.5th percentile

Fixed versions

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

PackageEcosystemFixed in
kernelAmazon Linux1:6.1.188-233.393.amzn2023
bpftoolAmazon Linux1:6.1.188-233.393.amzn2023
kernel-livepatch-6.12.111-136.204Amazon Linux1:1.0-0.amzn2023
python3-perf6.12Amazon Linux1:6.12.111-136.204.amzn2023
python3-perf6.18Amazon Linux1:6.18.51-120.162.amzn2023
kernel6.18Amazon Linux1:6.18.51-120.162.amzn2023
kernel6.18-toolsAmazon Linux1:6.18.51-120.162.amzn2023
kernel6.18-develAmazon Linux1:6.18.51-120.162.amzn2023
kernel-modules-extraAmazon Linux1:6.1.188-233.393.amzn2023
kernel-modules-extra-commonAmazon Linux1:6.1.188-233.393.amzn2023
kernel6.12Amazon Linux1:6.12.111-136.204.amzn2023
kernel6.12-tools-develAmazon Linux1:6.12.111-136.204.amzn2023

1 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score
0.60%
49.5th percentile

Affected products

VendorProductVersions
LinuxLinux316cf94a910f6f93d43cc574359d163ccae098a3, 316cf94a910f6f93d43cc574359d163ccae098a3, 316cf94a910f6f93d43cc574359d163ccae098a3
LinuxLinux3.6, 0, 6.18.51
amazon:2023kernel0
amazon:2023bpftool0
amazon:2023kernel-livepatch-6.12.111-136.2040
amazon:2023python3-perf6.120
amazon:2023python3-perf6.180
amazon:2023kernel6.180
amazon:2023kernel6.18-tools0
amazon:2023kernel6.18-devel0
amazon:2023kernel-modules-extra0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel6.120
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel-livepatch-6.18.51-120.1620
linuxlinux_kernel3.6, 3.6, 3.6
amazon:2023kernel6.12-modules-extra0
amazon:2023perf0
amazon:2023microvm-kernel6.180
amazon:2023kernel6.18-tools-devel0

…and 18 more

Timeline

  • Sep 11, 2026 CVE Published
  • Sep 12, 2026 EPSS Score (29 in total, the first dated here)
  • Oct 19, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-89637
vulnetix vdb fixes CVE-2026-89637

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