CVE-2026-45972
smb: client: fix potential UAF and double free in smb2_open_file()
Check your servers for CVE-2026-45972
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-45972 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.47%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 32.5% of all scored CVEs. Scores of 30 Nov 2026.
The assessment of CISA (SSVC, 16 Oct 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-825 Expired Pointer Dereference
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 743f70406264348c0830f38409eb6c40a42fb2db, before 96e53bb3ee2f354cf6b4ab07bcc56e500f8b3f74 affected from 3a6d6b332f92990958602c1e35ce0173e2dd62e9, before 7425453ea16dbc3bbb0f6cac4d60b537e5e4d151 affected from b64e3b5d8d759dd4333992e4ba4dadf9359952c8, before 4d339b219004869e96c4ce56b8891f83a38da4c0 affected from 9ee608a64e37cea5b4b13e436c559dd0fb2ad1b5, before e66dcf7bb9c4df5582c82bc3582725abcbfbea73 affected from e3a43633023e3cacaca60d4b8972d084a2b06236, before 639deb962986ef2f5e2a6d5a600c66f922471e81 affected from e3a43633023e3cacaca60d4b8972d084a2b06236, before ebbbc4bfad4cb355d17c671223d0814ee3ef4eda affected from 6.1.163, before 6.1.165 affected from 6.6.124, before 6.6.128 affected from 6.12.70, before 6.12.75 affected from 6.18.10, before 6.18.14
Other versions: unaffected
|
| Linux |
affected 6.19 unaffected before 6.19 unaffected from 6.1.165 up to and including 6.1.* unaffected from 6.6.128 up to and including 6.6.* unaffected from 6.12.75 up to and including 6.12.* unaffected from 6.18.14 up to and including 6.18.* unaffected from 6.19.4 up to and including 6.19.* unaffected 7.0 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-45972 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-45972
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-45972
trivy image --scanners vuln IMAGE | grep CVE-2026-45972
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- https://access.redhat.com/security/cve/CVE-2026-45972 access.redhat.com · vdb entry
- RHBZ#2481973 bugzilla.redhat.com · issue tracking
Other references
- https://git.kernel.org/stable/c/96e53bb3ee2f354cf6b4ab07bcc56e500f8b3f74 git.kernel.org
- https://git.kernel.org/stable/c/7425453ea16dbc3bbb0f6cac4d60b537e5e4d151 git.kernel.org
- https://git.kernel.org/stable/c/4d339b219004869e96c4ce56b8891f83a38da4c0 git.kernel.org
- https://git.kernel.org/stable/c/e66dcf7bb9c4df5582c82bc3582725abcbfbea73 git.kernel.org
- https://git.kernel.org/stable/c/639deb962986ef2f5e2a6d5a600c66f922471e81 git.kernel.org
- https://git.kernel.org/stable/c/ebbbc4bfad4cb355d17c671223d0814ee3ef4eda git.kernel.org
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-45972.json security.access.redhat.com
Source: the record CVE-2026-45972 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse