PT-2025-44380 · Linux+1 · Linux Kernel+1

Published

2025-10-30

·

Updated

2026-03-07

·

CVE-2025-40090

CVSS v3.1

5.5

Medium

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description The Linux kernel’s ksmbd component contains a flaw related to recursive locking within RPC handle list access. Specifically, the ksmbd session rpc method() function attempts to lock sess->rpc lock, which can lead to hung connections or tasks when a client attempts to open a named pipe. This issue arises from a deadlock situation where a write lock is acquired in ksmbd session rpc open, and a read lock is subsequently attempted in ksmbd session rpc method, resulting in a deadlock. The issue was identified after commit 305853cce3794 ("ksmbd: Fix race condition in RPC handle list access"). Exploitation can be demonstrated using Samba’s rpcclient tool, where a connection may hang when attempting to retrieve server information. The call trace indicates the deadlock occurs within the ksmbd-io workqueue, specifically in the handle ksmbd work function.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Uncontrolled Recursion

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2025-40090
OPENSUSE-SU-2025:15702-1
OPENSUSE-SU-2026:10301-1

Affected Products

Linux Kernel
Samba Rpcclient