CVE-2026-23226
Received Received - Intake

Use-After-Free in Linux ksmbd_chann_list Causes Memory Corruption

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

Publication date: 2026-02-18

Last updated on: 2026-04-02

Assigner: kernel.org

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: add chann_lock to protect ksmbd_chann_list xarray ksmbd_chann_list xarray lacks synchronization, allowing use-after-free in multi-channel sessions (between lookup_chann_list() and ksmbd_chann_del). Adds rw_semaphore chann_lock to struct ksmbd_session and protects all xa_load/xa_store/xa_erase accesses.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-02-18
Last Modified
2026-04-02
Generated
2026-07-06
AI Q&A
2026-02-18
EPSS Evaluated
2026-07-05
NVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
linux linux_kernel From 6.3 (inc) to 6.18.11 (exc)
linux linux_kernel From 6.19 (inc) to 6.19.1 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
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 Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability exists in the Linux kernel's ksmbd component, specifically involving the ksmbd_chann_list xarray. The issue is that this xarray lacks proper synchronization, which can lead to a use-after-free condition during multi-channel sessions. This happens between the functions lookup_chann_list() and ksmbd_chann_del. The vulnerability was addressed by adding a read-write semaphore called chann_lock to the ksmbd_session structure, which protects all accesses to the xarray such as loading, storing, and erasing entries.

Impact Analysis

The vulnerability allows a use-after-free condition in multi-channel sessions within the ksmbd component of the Linux kernel. This could potentially lead to memory corruption, crashes, or unexpected behavior in the kernel, which might be exploited to cause denial of service or possibly escalate privileges depending on the context of use.

Compliance Impact

I don't know

Detection Guidance

I don't know

Mitigation Strategies

I don't know

Chat Assistant

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

EPSS Chart