CVE-2026-23427
Use-After-Free in Linux ksmbd Durable V2 File Handle Replay
Publication date: 2026-04-03
Last updated on: 2026-04-27
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | 6.9 |
| linux | linux_kernel | 7.0 |
| linux | linux_kernel | 7.0 |
| linux | linux_kernel | 7.0 |
| linux | linux_kernel | 7.0 |
| linux | linux_kernel | 7.0 |
| linux | linux_kernel | 7.0 |
| linux | linux_kernel | 7.0 |
| linux | linux_kernel | From 6.13 (inc) to 6.18.20 (exc) |
| linux | linux_kernel | From 6.19 (inc) to 6.19.10 (exc) |
| linux | linux_kernel | From 6.6.32 (inc) to 6.6.130 (exc) |
| linux | linux_kernel | From 6.9.1 (inc) to 6.12.78 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-416 | The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a use-after-free bug in the Linux kernel's ksmbd component, specifically related to the handling of durable v2 replay of active file handles. The issue occurs because the function parse_durable_handle_context() incorrectly assigns a file pointer's connection to the current connection without proper filtering. This leads to overwriting the connection pointer, and when the overwritten connection is freed, subsequent operations dereference a stale pointer, causing a use-after-free condition.
How can this vulnerability impact me? :
The use-after-free vulnerability can lead to kernel crashes or undefined behavior, potentially allowing an attacker to execute arbitrary code with kernel privileges or cause denial of service by crashing the system. This impacts system stability and security, especially on systems using the ksmbd service for SMB file sharing.