Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-38244

HIGH 7.5EPSS 34%

smb: client: fix potential deadlock when reconnecting channels

Mitigation

  • Upgrade Linux to 711741f94ac3cf9f4e3aa73aa171e76d188c0819 or later.

Who should check

  • Anyone running Linux >= d7d7a66aacd6fd8ca57baf08a7bac5421282f6f8, < 35fe966449280bfdf4c1bc0c42e7f4672290515a; >= d7d7a66aacd6fd8ca57baf08a7bac5421282f6f8, < c82c7041258d96e3286f6790ab700e4edd3cc9e3; >= d7d7a66aacd6fd8ca57baf08a7bac5421282f6f8, < 7f3ead8ebc0ef65b6c89a13912b4e80218425629; >= d7d7a66aacd6fd8ca57baf08a7bac5421282f6f8, < fe035dc78aa6ca8f862857d45beaf7a0e03206ca; >= d7d7a66aacd6fd8ca57baf08a7bac5421282f6f8, < 711741f94ac3cf9f4e3aa73aa171e76d188c0819
  • Anyone running Linux 6.0

Vulnerability facts

Affected
Linux >= d7d7a66aacd6fd8ca57baf08a7bac5421282f6f8, < 35fe966449280bfdf4c1bc0c42e7f4672290515a; >= d7d7a66aacd6fd8ca57baf08a7bac5421282f6f8, < c82c7041258d96e3286f6790ab700e4edd3cc9e3; >= d7d7a66aacd6fd8ca57baf08a7bac5421282f6f8, < 7f3ead8ebc0ef65b6c89a13912b4e80218425629; >= d7d7a66aacd6fd8ca57baf08a7bac5421282f6f8, < fe035dc78aa6ca8f862857d45beaf7a0e03206ca; >= d7d7a66aacd6fd8ca57baf08a7bac5421282f6f8, < 711741f94ac3cf9f4e3aa73aa171e76d188c0819; Linux 6.0
Fixed in
Linux 35fe966449280bfdf4c1bc0c42e7f4672290515a, Linux 7f3ead8ebc0ef65b6c89a13912b4e80218425629, Linux 711741f94ac3cf9f4e3aa73aa171e76d188c0819
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.48% chance of exploitation in 30 days (percentile 34, 2026-11-26)
CWE
CWE-667
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: smb: client: fix potential deadlock when reconnecting channels Fix cifs_signal_cifsd_for_reconnect() to take the correct lock order and prevent the following deadlock from happening ====================================================== WARNING: possible circular locking dependency detected 6.16.0-rc3-build2+ #1301 Tainted: G S W ------------------------------------------------------ cifsd/6055 is trying to acquire lock: ffff88810ad56038 (&tcp_ses->srv_lock){+.+.}-{3:3}, at: cifs_signal_cifsd_for_reconnect+0x134/0x200 but task is already holding lock: ffff888119c64330 (&ret_buf->chan_lock){+.+.}-{3:3}, at: cifs_signal_cifsd_for_reconnect+0xcf/0x200 which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #2 (&ret_buf->chan_lock){+.+.}-{3:3}: validate_chain+0x1cf/0x270 __lock_acquire+0x60e/0x780 lock_acquire.part.0+0xb4/0x1f0 _raw_spin_lock+0x2f/0x40 cifs_setup_session+0x81/0x4b0 cifs_get_smb_ses+0x771/0x900 cifs_mount_get_session+0x7e/0x170 cifs_mount+0x92/0x2d0 cifs_smb3_do_mount+0x161/0x460 smb3_get_tree+0x55/0x90 vfs_get_tree+0x46/0x180 do_new_mount+0x1b0/0x2e0 path_mount+0x6ee/0x740 do_mount+0x98/0xe0 __do_sys_mount+0x148/0x180 do_syscall_64+0xa4/0x260 entry_SYSCALL_64_after_hwframe+0x76/0x7e -> #1 (&ret_buf->ses_lock){+.+.}-{3:3}: validate_chain+0x1cf/0x270 __lock_acquire+0x60e/0x780 lock_acquire.part.0+0xb4/0x1f0 _raw_spin_lock+0x2f/0x40 cifs_match_super+0x101/0x320 sget+0xab/0x270 cifs_smb3_do_mount+0x1e0/0x460 smb3_get_tree+0x55/0x90 vfs_get_tree+0x46/0x180 do_new_mount+0x1b0/0x2e0 path_mount+0x6ee/0x740 do_mount+0x98/0xe0 __do_sys_mount+0x148/0x180 do_syscall_64+0xa4/0x260 entry_SYSCALL_64_after_hwframe+0x76/0x7e -> #0 (&tcp_ses->srv_lock){+.+.}-{3:3}: check_noncircular+0x95/0xc0 check_prev_add+0x115/0x2f0 validate_chain+0x1cf/0x270 __lock_acquire+0x60e/0x780 lock_acquire.part.0+0xb4/0x1f0 _raw_spin_lock+0x2f/0x40 cifs_signal_cifsd_for_reconnect+0x134/0x200 __cifs_reconnect+0x8f/0x500 cifs_handle_standard+0x112/0x280 cifs_demultiplex_thread+0x64d/0xbc0 kthread+0x2f7/0x310 ret_from_fork+0x2a/0x230 ret_from_fork_asm+0x1a/0x30 other info that might help us debug this: Chain exists of: &tcp_ses->srv_lock --> &ret_buf->ses_lock --> &ret_buf->chan_lock Possible unsafe locking scenario: CPU0 CPU1 ---- ---- lock(&ret_buf->chan_lock); lock(&ret_buf->ses_lock); lock(&ret_buf->chan_lock); lock(&tcp_ses->srv_lock); *** DEADLOCK *** 3 locks held by cifsd/6055: #0: ffffffff857de398 (&cifs_tcp_ses_lock){+.+.}-{3:3}, at: cifs_signal_cifsd_for_reconnect+0x7b/0x200 #1: ffff888119c64060 (&ret_buf->ses_lock){+.+.}-{3:3}, at: cifs_signal_cifsd_for_reconnect+0x9c/0x200 #2: ffff888119c64330 (&ret_buf->chan_lock){+.+.}-{3:3}, at: cifs_signal_cifsd_for_reconnect+0xcf/0x200

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= d7d7a66aacd6fd8ca57baf08a7bac5421282f6f8, < 35fe966449280bfdf4c1bc0c42e7f4672290515a; >= d7d7a66aacd6fd8ca57baf08a7bac5421282f6f8, < c82c7041258d96e3286f6790ab700e4edd3cc9e3; >= d7d7a66aacd6fd8ca57baf08a7bac5421282f6f8, < 7f3ead8ebc0ef65b6c89a13912b4e80218425629; >= d7d7a66aacd6fd8ca57baf08a7bac5421282f6f8, < fe035dc78aa6ca8f862857d45beaf7a0e03206ca; >= d7d7a66aacd6fd8ca57baf08a7bac5421282f6f8, < 711741f94ac3cf9f4e3aa73aa171e76d188c0819—cvelist
Linux6.0—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-38244. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38244.md
Affected: Linux >= d7d7a66aacd6fd8ca57baf08a7bac5421282f6f8, < 35fe966449280bfdf4c1bc0c42e7f4672290515a; >= d7d7a66aacd6fd8ca57baf08a7bac5421282f6f8, < c82c7041258d96e3286f6790ab700e4edd3cc9e3; >= d7d7a66aacd6fd8ca57baf08a7bac5421282f6f8, < 7f3ead8ebc0ef65b6c89a13912b4e80218425629; >= d7d7a66aacd6fd8ca57baf0…
Fixed in: Linux 35fe966449280bfdf4c1bc0c42e7f4672290515a, Linux 7f3ead8ebc0ef65b6c89a13912b4e80218425629, Linux 711741f94ac3cf9f4e3aa73aa171e76d188c0819

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-38244 being exploited?

There is no confirmed exploitation: CVE-2025-38244 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.48% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-38244?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2025-38244?

Linux >= d7d7a66aacd6fd8ca57baf08a7bac5421282f6f8, < 35fe966449280bfdf4c1bc0c42e7f4672290515a; >= d7d7a66aacd6fd8ca57baf08a7bac5421282f6f8, < c82c7041258d96e3286f6790ab700e4edd3cc9e3; >= d7d7a66aacd6fd8ca57baf08a7bac5421282f6f8, < 7f3ead8ebc0ef65b6c89a13912b4e80218425629; >= d7d7a66aacd6fd8ca57baf08a7bac5421282f6f8, < fe035dc78aa6ca8f862857d45beaf7a0e03206ca; >= d7d7a66aacd6fd8ca57baf08a7bac5421282f6f8, < 711741f94ac3cf9f4e3aa73aa171e76d188c0819; Linux 6.0.

Is there a fix for CVE-2025-38244?

Yes. Fixed in Linux 35fe966449280bfdf4c1bc0c42e7f4672290515a, Linux 7f3ead8ebc0ef65b6c89a13912b4e80218425629, Linux 711741f94ac3cf9f4e3aa73aa171e76d188c0819. Upgrade Linux to 711741f94ac3cf9f4e3aa73aa171e76d188c0819 or later.

How do I check if I'm affected by CVE-2025-38244?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors