---
title: "Linux ksmbd vulnerabilities and CVEs"
url: https://radicalnotion.ai/vendor/linux/ksmbd
type: product
description: "Linux ksmbd has 25 published CVEs, 0 in CISA KEV and 0 with public exploits."
updated: 2026-01-23
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# Linux ksmbd vulnerabilities

Vendor: [Linux](https://radicalnotion.ai/vendor/linux)

- **Published CVEs:** 25
- **In CISA KEV:** 0
- **With a public exploit:** 0
- **With a patch:** 25
- **Average CVSS:** 7.8
- **First CVE:** 2024-02-21
- **Latest CVE:** 2026-01-23

## Severity breakdown

| Severity | CVEs |
| --- | --- |
| Critical | 3 |
| High | 18 |
| Medium | 4 |
| Low | 0 |
| Unscored | 0 |

## Most common weakness types

| CWE | Name | CVEs |
| --- | --- | --- |
| [CWE-476](https://radicalnotion.ai/cwe/cwe-476) | NULL Pointer Dereference | 5 |
| [CWE-125](https://radicalnotion.ai/cwe/cwe-125) | Out-of-bounds Read | 4 |
| [CWE-401](https://radicalnotion.ai/cwe/cwe-401) | Missing Release of Memory after Effective Lifetime | 2 |
| [CWE-416](https://radicalnotion.ai/cwe/cwe-416) | Use After Free | 2 |
| [CWE-362](https://radicalnotion.ai/cwe/cwe-362) | Concurrent Execution using Shared Resource with Improper Synchronization | 2 |
| [CWE-787](https://radicalnotion.ai/cwe/cwe-787) | Out-of-bounds Write | 2 |
| [CWE-911](https://radicalnotion.ai/cwe/cwe-911) | Improper Update of Reference Count | 1 |
| [CWE-421](https://radicalnotion.ai/cwe/cwe-421) | Race Condition During Access to Alternate Channel | 1 |

## CVEs by year

| Year | CVEs published |
| --- | --- |
| 2024 | 4 |
| 2025 | 20 |
| 2026 | 1 |

## CVEs

| CVE | Title | Severity | CVSS | CISA KEV | Public exploit | Patch |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2025-71153 | ksmbd: Fix memory leak in get\_file\_all\_info() | medium | 4.9 | No | No | Yes |
| CVE-2023-53358 | ksmbd: fix racy issue under cocurrent smb2 tree disconnect | high | 8.8 | No | No | Yes |
| CVE-2025-39720 | ksmbd: fix refcount leak causing resource not released | high | 7.5 | No | No | Yes |
| CVE-2025-38562 | ksmbd: fix null pointer dereference error in generate\_encryptionkey | high | 8.7 | No | No | Yes |
| CVE-2025-38561 | ksmbd: fix Preauh\_HashValue race condition | critical | 9.8 | No | No | Yes |
| CVE-2023-4130 | ksmbd: fix wrong next length validation of ea buffer in smb2\_set\_ea() | high | 8.1 | No | No | Yes |
| CVE-2023-3866 | ksmbd: validate session id and tree id in the compound request | high | 7.5 | No | No | Yes |
| CVE-2023-3865 | ksmbd: fix out-of-bound read in smb2\_write | high | 8.1 | No | No | Yes |
| CVE-2023-32246 | ksmbd: call rcu\_barrier() in ksmbd\_server\_exit() | medium | 5.5 | No | No | Yes |
| CVE-2023-32255 | Kernel: memory leak via ksmbd session setup request with unknown ntlmssp message type | medium | 5.3 | No | No | Yes |
| CVE-2023-32256 | Kernel: ksmbd race issue from smb2 close and logoff with multichannel | high | 7.5 | No | No | Yes |
| CVE-2025-38191 | ksmbd: fix null pointer dereference in destroy\_previous\_session | high | 7.5 | No | No | Yes |
| CVE-2025-38092 | ksmbd: use list\_first\_entry\_or\_null for opinfo\_get\_list() | high | 8.8 | No | No | Yes |
| CVE-2025-37777 | ksmbd: fix use-after-free in \_\_smb2\_lease\_break\_noti() | high | 8.8 | No | No | Yes |
| CVE-2025-22038 | ksmbd: validate zero num\_subauth before sub\_auth is accessed | high | 8.3 | No | No | Yes |
| CVE-2025-21947 | ksmbd: fix type confusion via race condition when using ipc\_msg\_send\_request | high | 8.1 | No | No | Yes |
| CVE-2025-21946 | ksmbd: fix out-of-bounds in parse\_sec\_desc() | high | 8.8 | No | No | Yes |
| CVE-2024-58087 | ksmbd: fix racy issue from session lookup and expire | critical | 9.8 | No | No | Yes |
| CVE-2022-49366 | ksmbd: fix reference count leak in smb\_check\_perm\_dacl() | medium | 5.5 | No | No | Yes |
| CVE-2024-57925 | ksmbd: fix a missing return value check bug | high | 7.1 | No | No | Yes |
| CVE-2024-57895 | ksmbd: set ATTR\_CTIME flags when setting mtime | high | 7.1 | No | No | Yes |
| CVE-2024-56627 | ksmbd: fix Out-of-Bounds Read in ksmbd\_vfs\_stream\_read | high | 8.1 | No | No | Yes |
| CVE-2024-56626 | ksmbd: fix Out-of-Bounds Write in ksmbd\_vfs\_stream\_write | high | 8.8 | No | No | Yes |
| CVE-2024-50285 | ksmbd: check outstanding simultaneous SMB operations | high | 7.5 | No | No | Yes |
| CVE-2023-52442 | ksmbd: validate session id and tree id in compound request | critical | 9.1 | No | No | Yes |

## Frequently asked questions

### How many CVEs does Linux ksmbd have?

Linux ksmbd has 25 published CVE records since 2024.

### How many Linux ksmbd CVEs are in CISA KEV?

None of Linux ksmbd's CVEs are currently listed in CISA's Known Exploited Vulnerabilities catalog.

### Are there public exploits for Linux ksmbd vulnerabilities?

No Linux ksmbd CVEs currently have a tracked public exploit in this dataset.

### What are the most common weakness types in Linux ksmbd CVEs?

Linux ksmbd's CVEs most often map to these CWE weakness types: CWE-476 (NULL Pointer Dereference), CWE-125 (Out-of-bounds Read), CWE-401 (Missing Release of Memory after Effective Lifetime), CWE-416 (Use After Free).

### How many critical Linux ksmbd vulnerabilities are there?

Linux ksmbd has 3 critical and 18 high-severity CVEs.

### What is the average severity of Linux ksmbd CVEs?

The average CVSS base score across Linux ksmbd's scored CVEs is 7.8.

## Other products from this vendor

- [Linux kernel](https://radicalnotion.ai/vendor/linux/linux-kernel) (26,609 CVEs)
- [Linux](https://radicalnotion.ai/vendor/linux/linux) (19,044 CVEs)
- [Kernel](https://radicalnotion.ai/vendor/linux/kernel) (18,102 CVEs)
- [AMDGPU driver](https://radicalnotion.ai/vendor/linux/amdgpu-driver) (35 CVEs)
- [Btrfs](https://radicalnotion.ai/vendor/linux/btrfs) (27 CVEs)
- [F2FS](https://radicalnotion.ai/vendor/linux/f2fs) (27 CVEs)
- [ext4 Filesystem](https://radicalnotion.ai/vendor/linux/ext4-filesystem) (18 CVEs)
- [F2FS (Flash-Friendly File System)](https://radicalnotion.ai/vendor/linux/f2fs-flash-friendly-file-system) (15 CVEs)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/vendor/linux/ksmbd). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
