CVE-2026-23205

smb/client: fix memory leak in smb2_open_file()

No CVSS score yet EPSS 0.20%

Published 14 Feb 2026 Updated 23 May 2026 CNA: Linux

Check your servers for CVE-2026-23205

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-23205 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:

smb/client: fix memory leak in smb2_open_file()

Reproducer:

1. server: directories are exported read-only 2. client: mount -t cifs //${server_ip}/export /mnt 3. client: dd if=/dev/zero of=/mnt/file bs=512 count=1000 oflag=direct 4. client: umount /mnt 5. client: sleep 1 6. client: modprobe -r cifs

The error message is as follows:

============================================================================= BUG cifs_small_rq (Not tainted): Objects remaining on __kmem_cache_shutdown() -----------------------------------------------------------------------------

Object 0x00000000d47521be @offset=14336 ... WARNING: mm/slub.c:1251 at __kmem_cache_shutdown+0x34e/0x440, CPU#0: modprobe/1577 ... Call Trace: <TASK> kmem_cache_destroy+0x94/0x190 cifs_destroy_request_bufs+0x3e/0x50 [cifs] cleanup_module+0x4e/0x540 [cifs] __se_sys_delete_module+0x278/0x400 __x64_sys_delete_module+0x5f/0x70 x64_sys_call+0x2299/0x2ff0 do_syscall_64+0x89/0x350 entry_SYSCALL_64_after_hwframe+0x76/0x7e ... kmem_cache_destroy cifs_small_rq: Slab cache still has objects when called from cifs_destroy_request_bufs+0x3e/0x50 [cifs] WARNING: mm/slab_common.c:532 at kmem_cache_destroy+0x16b/0x190, CPU#0: modprobe/1577

Exploitation

EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 5.61% of all scored CVEs. Scores of 30 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 17e53a15e64b65623b8f2b1185d27d7b1cbf69ab, before 743f70406264348c0830f38409eb6c40a42fb2db
affected from 18066188eb90cc0c798f3370a8078a79ddb73f70, before 3a6d6b332f92990958602c1e35ce0173e2dd62e9
affected from 6ebb9d54eccc8026b386e76eff69364d33373da5, before b64e3b5d8d759dd4333992e4ba4dadf9359952c8
affected from e255612b5ed9f179abe8196df7c2ba09dd227900, before 9ee608a64e37cea5b4b13e436c559dd0fb2ad1b5
affected from e255612b5ed9f179abe8196df7c2ba09dd227900, before e3a43633023e3cacaca60d4b8972d084a2b06236
affected bcd15f06c7e8904116cfb06526bcc189b86aff85
affected from 6.1.141, before 6.1.163
affected from 6.6.93, before 6.6.124
affected from 6.12.31, before 6.12.70
affected from 6.14.9, before 6.15
Other versions: unaffected
Linux
affected 6.15
unaffected before 6.15
unaffected from 6.1.163 up to and including 6.1.*
unaffected from 6.6.124 up to and including 6.6.*
unaffected from 6.12.70 up to and including 6.12.*
unaffected from 6.18.10 up to and including 6.18.*
unaffected 6.19 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-23205 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-23205

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-23205
trivy image --scanners vuln IMAGE | grep CVE-2026-23205

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-2026-23205 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.