CVE-2025-38717

In the Linux kernel, the following vulnerability has been resolved: net: kcm: Fix race condition in kcm_unattach() syzbot found a race condition when kcm_unattach(psock) and kcm_release(kcm) are executed at the same time. kcm_unattach() is missing a check of the flag kcm->tx_stopped before calling queue_work(). If the kcm has a reserved psock, kcm_unattach() might get executed between cancel_work_sync() and unreserve_psock() in kcm_release(), requeuing kcm->tx_work right before kcm gets freed in kcm_done(). Remove kcm->tx_stopped and replace it by the less error-prone disable_work_sync().
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:*

History

19 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: net: kcm: Corrige condición de carrera en kcm_unattach() syzbot encontró una condición de carrera cuando kcm_unattach(psock) y kcm_release(kcm) se ejecutan al mismo tiempo. A kcm_unattach() le falta una comprobación del flag kcm->tx_stopped antes de llamar a queue_work(). Si el kcm tiene un psock reservado, kcm_unattach() podría ejecutarse entre cancel_work_sync() y unreserve_psock() en kcm_release(), volviendo a encolar kcm->tx_work justo antes de que kcm sea liberado en kcm_done(). Eliminar kcm->tx_stopped y reemplazarlo por el menos propenso a errores disable_work_sync().

30 Jul 2026, 06:23

Type Values Removed Values Added
CVSS v2 : unknown
v3 : 4.7
v2 : unknown
v3 : 7.8

25 Nov 2025, 22:07

Type Values Removed Values Added
First Time Linux linux Kernel
Linux
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 4.7
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:*
CWE CWE-362
References () https://git.kernel.org/stable/c/52565a935213cd6a8662ddb8efe5b4219343a25d - () https://git.kernel.org/stable/c/52565a935213cd6a8662ddb8efe5b4219343a25d - Patch
References () https://git.kernel.org/stable/c/7275dc3bb8f91b23125ff3f47b6529935cf46152 - () https://git.kernel.org/stable/c/7275dc3bb8f91b23125ff3f47b6529935cf46152 - Patch
References () https://git.kernel.org/stable/c/798733ee5d5788b12e8a52db1519abc17e826f69 - () https://git.kernel.org/stable/c/798733ee5d5788b12e8a52db1519abc17e826f69 - Patch
References () https://git.kernel.org/stable/c/c0bffbc92a1ca3960fb9cdb8e9f75a68468eb308 - () https://git.kernel.org/stable/c/c0bffbc92a1ca3960fb9cdb8e9f75a68468eb308 - Patch

04 Sep 2025, 16:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-09-04 16:15

Updated : 2026-10-19 21:10


NVD link : CVE-2025-38717

Mitre link : CVE-2025-38717

CVE.ORG link : CVE-2025-38717


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-362

Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')