CVE-2023-53794

cifs: fix session state check in reconnect to avoid use-after-free issue

9.8 critical EPSS 0.55%

Published 9 Dec 2025 Updated 15 Oct 2026 CNA: Linux

Check your servers for CVE-2023-53794

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-2023-53794 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.

Check my servers

Description

In the Linux kernel, the following vulnerability has been resolved:

cifs: fix session state check in reconnect to avoid use-after-free issue

Don't collect exiting session in smb2_reconnect_server(), because it will be released soon.

Note that the exiting session will stay in server->smb_ses_list until it complete the cifs_free_ipc() and logoff() and then delete itself from the list.

Severity (CVSS)

9.8 critical CVSS 3.1 from Linux (CNA)
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)

Exploitation

EPSS 0.55%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 47.2% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 15 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

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 4fcd1813e6404dd4420c7d12fb483f9320f0bf93, before 7e4f5c3f01fb0e51ca438e43262d858daf9a0a76
affected from 4fcd1813e6404dd4420c7d12fb483f9320f0bf93, before 759ffc164d95a32c09528766d74d9b4fb054e8f4
affected from 4fcd1813e6404dd4420c7d12fb483f9320f0bf93, before 99f280700b4cc02d5f141b8d15f8e9fad0418f65
affected 655e0c067f0e02ece03fd0591dabe3db2ae27552
affected 875cc09c0767a4ac06b57af383709657f98b3ea1
affected 599fe1409085059ba12a2c3897c853be9fa9e7cf
affected 2e4378ee60049b752c9dce16f62ce6fbd11b379a
affected 59b520454b323ec43b2ae757217332cea33091e0
affected e20c888e2b3576e5f498c167729d274ef60b86f8
affected 4ce7aa4e44d88ce64ea8ae2337b8910f3670b0ba
affected 419fad68e4c4135ff9859e9214dd6cf954413ca1
affected from 3.10.103, before 3.11
affected from 3.12.63, before 3.13
affected from 3.14.74, before 3.15
affected from 3.16.37, before 3.17
affected from 3.18.37, before 3.19
affected from 4.1.28, before 4.2
affected from 4.4.16, before 4.5
affected from 4.6.5, before 4.7
Other versions: unaffected
Linux
affected 4.7
unaffected before 4.7
unaffected from 6.1.47 up to and including 6.1.*
unaffected from 6.4.12 up to and including 6.4.*
unaffected 6.5 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-2023-53794 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2023-53794

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-2023-53794
trivy image --scanners vuln IMAGE | grep CVE-2023-53794

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

Other references

Source: the record CVE-2023-53794 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.