CVE-2026-23205

Source
https://cve.org/CVERecord?id=CVE-2026-23205
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-23205.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-23205
Downstream
Published
2026-02-14T16:27:28.409Z
Modified
2026-03-20T12:47:27.048466Z
Summary
smb/client: fix memory leak in smb2_open_file()
Details

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

smb/client: fix memory leak in smb2openfile()

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 cifssmallrq (Not tainted): Objects remaining on __kmemcacheshutdown()


Object 0x00000000d47521be @offset=14336 ... WARNING: mm/slub.c:1251 at __kmemcacheshutdown+0x34e/0x440, CPU#0: modprobe/1577 ... Call Trace: <TASK> kmemcachedestroy+0x94/0x190 cifsdestroyrequestbufs+0x3e/0x50 [cifs] cleanupmodule+0x4e/0x540 [cifs] __sesysdelete_module+0x278/0x400 _x64sysdeletemodule+0x5f/0x70 x64syscall+0x2299/0x2ff0 dosyscall64+0x89/0x350 entrySYSCALL64afterhwframe+0x76/0x7e ... kmemcachedestroy cifssmallrq: Slab cache still has objects when called from cifsdestroyrequestbufs+0x3e/0x50 [cifs] WARNING: mm/slabcommon.c:532 at kmemcachedestroy+0x16b/0x190, CPU#0: modprobe/1577

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23205.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
17e53a15e64b65623b8f2b1185d27d7b1cbf69ab
Fixed
743f70406264348c0830f38409eb6c40a42fb2db
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
18066188eb90cc0c798f3370a8078a79ddb73f70
Fixed
3a6d6b332f92990958602c1e35ce0173e2dd62e9
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6ebb9d54eccc8026b386e76eff69364d33373da5
Fixed
b64e3b5d8d759dd4333992e4ba4dadf9359952c8
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e255612b5ed9f179abe8196df7c2ba09dd227900
Fixed
9ee608a64e37cea5b4b13e436c559dd0fb2ad1b5
Fixed
e3a43633023e3cacaca60d4b8972d084a2b06236
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
bcd15f06c7e8904116cfb06526bcc189b86aff85

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-23205.json"