CVE-2025-38711
Last modified
CVE-2025-38711 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: smb/server: avoid deadlock when linking with ReplaceIfExists If smb2_create_link() is called with ReplaceIfExists set and the name does exist then a deadlock will happen. ksmbd_vfs_kern_path_locked() will return with success and the parent directory will be locked. ksmbd_vfs_remove_file() will then remove the file. EPSS estimates a 0.11% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: smb/server: avoid deadlock when linking with ReplaceIfExists If smb2_create_link() is called with ReplaceIfExists set and the name does exist then a deadlock will happen. ksmbd_vfs_kern_path_locked() will return with success and the parent directory will be locked. ksmbd_vfs_remove_file() will then remove the file. ksmbd_vfs_link() will then be called while the parent is still locked. It will try to lock the same parent and will deadlock. This patch moves the ksmbd_vfs_kern_path_unlock() call to *before* ksmbd_vfs_link() and then simplifies the code, removing the file_present flag variable.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.15, < 5.15.190 |
| Linux | Linux Kernel | >= 5.16, < 6.1.149 |
| Linux | Linux Kernel | >= 6.2, < 6.6.103 |
| Linux | Linux Kernel | >= 6.7, < 6.12.43 |
| Linux | Linux Kernel | >= 6.13, < 6.15.11 |
| Linux | Linux Kernel | >= 6.16, < 6.16.2 |
| Debian | Debian Linux | 11.0 |
References
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.htmlMailing List, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2025-38711?
How severe is CVE-2025-38711?
How do I fix CVE-2025-38711?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-38706In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38707In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-38708In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2025-38709In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-3871Broken access control in Fortra's GoAnywhere MFT prior to 7.…5.3
- CVE-2025-38710In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38712In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38713In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2025-38714In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2025-38715In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2025-38716In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-38717In the Linux kernel, the following vulnerability has been re…4.7
Are you affected by CVE-2025-38711?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
