CVE-2023-54076

published 24 Dec 2025 · updated 17 Nov 2026

smb: client: fix missed ses refcounting

9.8CriticalCVSS 9.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel eb382196e6f6e05cfafdab797840e5a96c6e7bf0, Kernel 6.3, Kernel 6.4 and 2 more.

In the Linux kernel, the following vulnerability has been resolved: smb: client: fix missed ses refcounting Use new cifs_smb_ses_inc_refcount() helper to get an active reference of @ses and @ses->dfs_root_ses (if set). This will prevent @ses->dfs_root_ses of being put in the next call to cifs_put_smb_ses() and thus potentially causing an use-after-free bug.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=8e3554150d6c80a84b3cb046615d1a0e943811dc <eb382196e6f6e05cfafdab797840e5a96c6e7bf0, >=6.2.15 <6.3, >=6.3.2 <6.4, >=8e3554150d6c80a84b3cb046615d1a0e943811dc <bf99f6be2d20146942bce6f9e90a0ceef12cbc1e, =6.4, =c082c3be0f96e759ff2e361d929832fda0b93851, =f30d226bcc9f0e2d97b4a6e94c43a28148fbeab6eb382196e6f6e05cfafdab797840e5a96c6e7bf0, 6.3, 6.4, bf99f6be2d20146942bce6f9e90a0ceef12cbc1e
linux-kernel: Kernel>=6.3.2 <6.4, >=6.4.0 <6.4.7, >=6.2.15 <6.36.4, 6.4.7, 6.3

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2023-54076 severity on Zeptric[![CVE-2023-54076](https://zeptric.io/badge/cve/CVE-2023-54076.svg)](https://zeptric.io/cve/CVE-2023-54076)