CVE-2026-45972
smb: client: fix potential UAF and double free in smb2_open_file()
Reported by linux · Published May 27, 2026
In the Linux kernel, the following vulnerability has been resolved: smb: client: fix potential UAF and double free in smb2_open_file() Zero out @err_iov and @err_buftype before retrying SMB2_open() to prevent an UAF bug if @data != NULL, otherwise a double free.
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-libbpf-devel | Amazon Linux | 1:6.12.77-99.140.amzn2023 |
| perf6.12 | Amazon Linux | 1:6.12.77-99.140.amzn2023 |
| kernel6.12-modules-extra-common | Amazon Linux | 1:6.12.77-99.140.amzn2023 |
| kernel6.12-libbpf | Amazon Linux | 1:6.12.77-99.140.amzn2023 |
| python3-perf6.12 | Amazon Linux | 1:6.12.77-99.140.amzn2023 |
| kernel6.12-devel | Amazon Linux | 1:6.12.77-99.140.amzn2023 |
| bpftool6.12 | Amazon Linux | 1:6.12.77-99.140.amzn2023 |
| linux_kernel | linux | 6.19.4, 6.18.14, 6.12.75, 6.6.128, 6.1.165 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 743f70406264348c0830f38409eb6c40a42fb2db, 3a6d6b332f92990958602c1e35ce0173e2dd62e9, b64e3b5d8d759dd4333992e4ba4dadf9359952c8 |
| Linux | Linux | 6.19, 0, 6.1.165 |
| amazon:2023 | kernel6.12-libbpf-devel | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel6.12-libbpf | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| Red Hat | Red Hat Enterprise Linux 9 | |
| Red Hat | Red Hat Enterprise Linux 9 | |
| Red Hat | Red Hat Enterprise Linux 8 | |
| Red Hat | Red Hat Enterprise Linux 10 | |
| amazon:2023 | kernel6.12-devel | 0 |
| Red Hat | Red Hat Enterprise Linux 7 | |
| amazon:2023 | bpftool6.12 | 0 |
| Red Hat | Red Hat Enterprise Linux 8 | |
| linux | linux_kernel | 6.19, 6.1.163, 6.6.124 |
| amazon:2023 | kernel6.12 | 0 |
| Red Hat | Red Hat Enterprise Linux 10 | |
| Red Hat | Red Hat Enterprise Linux 6 | |
| Linux | Linux | *, *, 743f70406264348c0830f38409eb6c40a42fb2db |
…and 11 more
Timeline
- May 27, 2026 CVE Published
- May 28, 2026 EPSS Score (30 in total, the first dated here)
- May 29, 2026 Security Advisory (131 in total, the first dated here)
- Jun 4, 2026 Coalition ESS Score
- Jul 15, 2026 CVE Updated
- Aug 11, 2026 Distribution Patch (128 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-45972
vulnetix vdb fixes CVE-2026-45972
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-45972/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart