CVE-2023-54076
Unknown Unknown - Not Provided

Use-After-Free in Linux Kernel SMB Client Due to Refcounting Error

Vulnerability report for CVE-2023-54076, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2025-12-24

Last updated on: 2025-12-24

Assigner: kernel.org

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2025-12-24
Last Modified
2025-12-24
Generated
2026-07-06
AI Q&A
2025-12-24
EPSS Evaluated
2026-07-05
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in the Linux kernel's SMB client involves improper reference counting for session objects. Specifically, the code missed incrementing the reference count for the session and its dfs_root_ses, which could lead to a use-after-free bug when the session is released. The fix uses a helper function to correctly increment the reference count, preventing the session from being freed prematurely.

Impact Analysis

The vulnerability can lead to a use-after-free condition in the Linux kernel SMB client, which may cause system instability, crashes, or potentially allow an attacker to execute arbitrary code or escalate privileges by exploiting the freed memory.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2023-54076. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart