CVE-2025-38711: debian debian_linux Improper Locking
Vulnerability summary
CVE-2025-38711 is a medium (CVSS 5.5) Improper Locking vulnerability in debian debian_linux. EPSS estimates a 0.12% chance of exploitation in the next 30 days, higher than 1.8% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 29 · Related 25Timeline
- 04-09-2025PublishedVulnerability first disclosed.
- 12-05-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
0.12%
Chance of exploitation in the next 30 days
Percentile
2%
Versus all other CVEs
30-day change
0.00 pp
From 0.12% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Ubuntu149 products
- linuxAll versions (No fix recorded) | < 5.15.0-163.173 | < 6.8.0-100.100
- linux-allwinner-5.19All versions (No fix recorded)
- linux-awsAll versions (No fix recorded) | < 5.15.0-1097.104 | < 6.8.0-1046.49
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Debian2 products
- linux< 6.1.153-1 | < 6.12.43-1 | < 6.16.3-1
- debian_linuxEOL11.0
Linux2 products
- linux≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 9d5012ffe14120f978ee34aef4df3d6cb026b7c4 | ≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < ac98d54630d5b52e3f684d872f0d82c06c418ea9 | ≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 1e858a7a51c7b8b009d8f246de7ceb7743b44a71 | ≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < 814cfdb6358d9b84fcbec9918c8f938cc096a43a | ≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < a7dddd62578c2eb6cb28b8835556a121b5157323 | ≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < a726fef6d7d4cfc365d3434e3916dbfe78991a33 | ≥ 0626e6641f6b467447c81dd7678a69c66f7746cf, < d5fc1400a34b4ea5e8f2ce296ea12bf8c8421694 | 5.15
- linux_kernel≥ 5.15, < 5.15.190 | ≥ 5.16, < 6.1.149 | ≥ 6.2, < 6.6.103 | ≥ 6.7, < 6.12.43 | ≥ 6.13, < 6.15.11 | ≥ 6.16, < 6.16.2
3 vendors · 153 products