CVEBrief

Home / Linux / Linux / CVE-2025-40090

CVE-2025-40090: is it exploited, and which versions of Linux are affected and fixed?

CVE-2025-40090 is an uncontrolled recursion vulnerability in Linux. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:39 UTC). Affected: Linux from 6.12.53 before 6.12.55 and Linux from 6.17.3 before 6.17.5 (CVE record by Linux). Fixed in 6.12.55 and 6.17.5 (CVE record by Linux). Severity: High (7.5, CVSS 3.1, from Linux).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:39 UTC, CVE record November 28, 2026, 17:38 UTC and NVD November 19, 2026, 07:16 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 15:39 UTC
Affected
Linux from 6.12.53 before 6.12.55 and Linux from 6.17.3 before 6.17.5
CVE record by Linux
Fixed in
6.12.55 and 6.17.5
CVE record by Linux
Severity
High 7.5
CVSS 3.1 from Linux
Exploit odds (EPSS)
0.29% in 30 days
higher than 23% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2025-40090?

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix recursive locking in RPC handle list access Since commit 305853cce3794 ("ksmbd: Fix race condition in RPC handle list access"), ksmbd_session_rpc_method() attempts to lock sess->rpc_lock. This causes hung connections / tasks when a client attempts to open a named pipe. Using Samba's rpcclient tool: $ rpcclient //192.168.1.254 -U user%password $ rpcclient $> srvinfo <connection hung here> Kernel side: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:kworker/0:0 state:D stack:0 pid:5021 tgid:5021 ppid:2 flags:0x00200000 Workqueue: ksmbd-io handle_ksmbd_work Call trace: __schedule from schedule+0x3c/0x58 schedule from schedule_preempt_disabled+0xc/0x10 schedule_preempt_disabled from rwsem_down_read_slowpath+0x1b0/0x1d8 rwsem_down_read_slowpath from down_read+0x28/0x30 down_read from ksmbd_session_rpc_method+0x18/0x3c ksmbd_session_rpc_method from ksmbd_rpc_open+0x34/0x68 ksmbd_rpc_open from ksmbd_session_rpc_open+0x194/0x228 ksmbd_session_rpc_open from create_smb2_pipe+0x8c/0x2c8 create_smb2_pipe from smb2_open+0x10c/0x27ac smb2_open from handle_ksmbd_work+0x238/0x3dc handle_ksmbd_work from process_scheduled_works+0x160/0x25c process_scheduled_works from worker_thread+0x16c/0x1e8 worker_thread from kthread+0xa8/0xb8 kthread from ret_from_fork+0x14/0x38 Exception stack(0x8529ffb0 to 0x8529fff8) The task deadlocks because the lock is already held: ksmbd_session_rpc_open down_write(&sess->rpc_lock) ksmbd_rpc_open ksmbd_session_rpc_method down_read(&sess->rpc_lock) <-- deadlock Adjust ksmbd_session_rpc_method() callers to take the lock when necessary.

From the CVE record by Linux, last updated August 5, 2026, 12:07 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
LinuxLinuxnot stated
LinuxLinuxfrom 6.12.53 before 6.12.55
from 6.17.3 before 6.17.5
6.12.55, 6.17.5

As the CVE record by Linux states it, last updated August 5, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
linuxlinux kernelfrom 6.12.53 before 6.12.55operating system
linuxlinux kernelfrom 6.17.3 before 6.17.5operating system
linuxlinux kernel6.18operating system

NVD analysis (status Modified), last modified October 19, 2026, 21:10 UTC.

How severe is CVE-2025-40090?

ScoreVersionVectorSource
High 7.5CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux
Medium 5.5CVSS 3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2025-40090 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
EPSS
0.29% probability of exploitation activity in the next 30 days, percentile 23.0 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
April 16, 2025
Published
October 30, 2025, 09:47 UTC
CVE record updated
August 5, 2026, 12:07 UTC by Linux
NVD
Modified, last modified October 19, 2026, 21:10 UTC
Last checked
CVE list November 28, 2026, 17:38 UTC; NVD November 19, 2026, 07:16 UTC; KEV December 3, 2026, 15:39 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect Linux?

Every CVE in Linux

Questions about CVE-2025-40090

Is CVE-2025-40090 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:39 UTC. FIRST's EPSS gives it a 0.29% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of Linux are affected by CVE-2025-40090?

Linux from 6.12.53 before 6.12.55 and Linux from 6.17.3 before 6.17.5, per the CVE record by Linux. The tables above give every range the sources list.

Which version fixes CVE-2025-40090?

6.12.55 and 6.17.5, per the CVE record by Linux. Check the vendor's advisory before you rely on it.

How severe is CVE-2025-40090?

High (7.5, CVSS 3.1, from Linux). The severity table above shows each score with its source.

Where is the official record of CVE-2025-40090?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.