# CVE-2023-54076: smb: client: fix missed ses refcounting

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.49%, higher than 43% of CVEs (2026-12-01)
- Published: 2025-12-24T12:23:18.330Z
- Modified: 2026-08-05T09:16:59.986Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 8e3554150d6c80a84b3cb046615d1a0e943811dc before eb382196e6f6e05cfafdab797840e5a96c6e7bf0; from 8e3554150d6c80a84b3cb046615d1a0e943811dc before bf99f6be2d20146942bce6f9e90a0ceef12cbc1e; f30d226bcc9f0e2d97b4a6e94c43a28148fbeab6; c082c3be0f96e759ff2e361d929832fda0b93851; from 6.2.15 before 6.3; from 6.3.2 before 6.4; 6.4 (not affected: before 6.4; from 6.4.7 up to 6.4.*; from 6.5 up to *)

## References

- <https://git.kernel.org/stable/c/eb382196e6f6e05cfafdab797840e5a96c6e7bf0>
- <https://git.kernel.org/stable/c/bf99f6be2d20146942bce6f9e90a0ceef12cbc1e>

## Sources

- CVE List: [CVE-2023-54076](https://www.cve.org/CVERecord?id=CVE-2023-54076), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2023-54076](https://nvd.nist.gov/vuln/detail/CVE-2023-54076), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2023-54076 · Whole record: https://cve.day/CVE-2023-54076.json · Rebuilt by cve.day 2026-11-25T22:58:35.166Z
