CVE-2023-54076
Use-After-Free in Linux Kernel SMB Client Due to Refcounting Error
Publication date: 2025-12-24
Last updated on: 2025-12-24
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
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.
How can this vulnerability impact me? :
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.