{"id":"CVE-2025-39825","aliases":["CVE-2025-39825"],"related":[],"kind":"vulnerability","state":"published","title":"smb: client: fix race with concurrent opens in rename(2)","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix race with concurrent opens in rename(2)\n\nBesides sending the rename request to the server, the rename process\nalso involves closing any deferred close, waiting for outstanding I/O\nto complete as well as marking all existing open handles as deleted to\nprevent them from deferring closes, which increases the race window\nfor potential concurrent opens on the target file.\n\nFix this by unhashing the dentry in advance to prevent any concurrent\nopens on the target.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix race with concurrent opens in rename(2)\n\nBesides sending the rename request to the server, the rename process\nalso involves closing any deferred close, waiting for outstanding I/O\nto complete as well as marking all existing open handles as deleted to\nprevent them from deferring closes, which increases the race window\nfor potential concurrent opens on the target file.\n\nFix this by unhashing the dentry in advance to prevent any concurrent\nopens on the target.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad:\n\nsmb: cliente: corrección de condición de carrera con aperturas concurrentes en rename(2)\n\nAdemás de enviar la solicitud de renombrado al servidor, el proceso de renombrado también implica cerrar cualquier cierre diferido, esperar a que se complete la E/S pendiente, así como marcar todos los identificadores abiertos existentes como eliminados para evitar que difieran los cierres, lo que aumenta la ventana de la condición de carrera para posibles aperturas concurrentes en el archivo de destino.\n\nEsto se corrige deshasheando la dentry de antemano para evitar cualquier apertura concurrente en el destino.","source":"nvd"}],"published":"2025-09-16T13:00:23.897Z","modified":"2026-10-19T21:10:00.160Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","score":4.7,"rating":"MEDIUM"}],"cwes":["CWE-362"],"affected":[{"ranges":[{"type":"git","introduced":"78c09634f7dc061a3bd09704cdbebb3762a45cdf","fixed":"c9e7de284da0be5b44dbe79d71573f9f7f9b144c","status":"affected"},{"type":"git","introduced":"78c09634f7dc061a3bd09704cdbebb3762a45cdf","fixed":"24b9ed739c8c5b464d983e12cf308982f3ae93c2","status":"affected"},{"type":"git","introduced":"78c09634f7dc061a3bd09704cdbebb3762a45cdf","fixed":"c9991af5e09924f6f3b3e6996a5e09f9504b4358","status":"affected"},{"type":"git","introduced":"78c09634f7dc061a3bd09704cdbebb3762a45cdf","fixed":"289f945acb20b9b54fe4d13895e44aa58965ddb2","status":"affected"},{"type":"git","introduced":"78c09634f7dc061a3bd09704cdbebb3762a45cdf","fixed":"d84291fc7453df7881a970716f8256273aca5747","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.13","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.13","status":"unaffected"},{"type":"semver","introduced":"6.1.150","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.104","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.45","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.16.5","lastAffected":"6.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.17","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.13","fixed":"6.1.150"},{"status":"affected","introduced":"6.2","fixed":"6.6.104"},{"status":"affected","introduced":"6.7","fixed":"6.12.45"},{"status":"affected","introduced":"6.13","fixed":"6.16.5"},{"status":"affected","version":"6.17"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/c9e7de284da0be5b44dbe79d71573f9f7f9b144c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/24b9ed739c8c5b464d983e12cf308982f3ae93c2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c9991af5e09924f6f3b3e6996a5e09f9504b4358","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/289f945acb20b9b54fe4d13895e44aa58965ddb2","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d84291fc7453df7881a970716f8256273aca5747","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":["mailing-list","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-032379.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-10T20:41:27.081Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-39825","url":"https://www.cve.org/CVERecord?id=CVE-2025-39825","licence":"CVE Terms of Use","modified":"2026-08-05T12:05:27.067Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-39825","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-39825","licence":"Public domain","modified":"2026-10-19T21:10:00.160Z"}],"updatedAt":"2026-11-25T22:59:04.730Z","epss":{"score":0.00123,"percentile":0.02225,"date":"2026-12-01T12:00:22.000Z"}}