CVE-2025-39832
JSON

5.5medium

net/mlx5: Fix lockdep assertion on sync reset unload event

Severity
5.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.12% (higher than 2% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: net/mlx5: Fix lockdep assertion on sync reset unload event Fix lockdep assertion triggered during sync reset unload event. When the sync reset flow is initiated using the devlink reload fw_activate option, the PF already holds the devlink lock while handling unload event. In this case, delegate sync reset unload event handling back to the devlink callback process to avoid double-locking and resolve the lockdep warning. Kernel log: WARNING: CPU: 9 PID: 1578 at devl_assert_locked+0x31/0x40 [...] Call Trace: <TASK> mlx5_unload_one_devl_locked+0x2c/0xc0 [mlx5_core] mlx5_sync_reset_unload_event+0xaf/0x2f0 [mlx5_core] process_one_work+0x222/0x640 worker_thread+0x199/0x350 kthread+0x10b/0x230 ? __pfx_worker_thread+0x10/0x10 ? __pfx_kthread+0x10/0x10 ret_from_fork+0x8e/0x100 ? __pfx_kthread+0x10/0x10 ret_from_fork_asm+0x1a/0x30 </TASK>

Affected

Product or packageVersionsReported by
Linux Linuxfrom 7a9770f1bfeaeddf5afabd3244e2c4c4966be37d before ddac9d0fe2493dd550cbfc75eeaf31e9b6dac959, from 7a9770f1bfeaeddf5afabd3244e2c4c4966be37d before 0c87dba9ccd3801d3b503f0b4fd41be343af4f06, from 7a9770f1bfeaeddf5afabd3244e2c4c4966be37d before 06d897148e79638651800d851a69547b56b4be2e, from 7a9770f1bfeaeddf5afabd3244e2c4c4966be37d before 902a8bc23a24882200f57cadc270e15a2cfaf2bb, 6.5
Not affected: before 6.5, from 6.6.104 up to 6.6.*, from 6.12.45 up to 6.12.*, from 6.16.5 up to 6.16.*, from 6.17 up to *
CVE List
linux linux_kernelfrom 6.5 before 6.6.104, from 6.7 before 6.12.45, from 6.13 before 6.16.5, 6.17NVD

All scores

CISA-ADP5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-667

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: net/mlx5: Fix lockdep assertion on sync reset unload event Fix lockdep assertion triggered during sync reset unload event. When the sync reset flow is initiated using the devlink reload fw_activate option, the PF already holds the devlink lock while handling unload event. In this case, delegate sync reset unload event handling back to the devlink callback process to avoid double-locking and resolve the lockdep warning. Kernel log: WARNING: CPU: 9 PID: 1578 at devl_assert_locked+0x31/0x40 [...] Call Trace: <TASK> mlx5_unload_one_devl_locked+0x2c/0xc0 [mlx5_core] mlx5_sync_reset_unload_event+0xaf/0x2f0 [mlx5_core] process_one_work+0x222/0x640 worker_thread+0x199/0x350 kthread+0x10b/0x230 ? __pfx_worker_thread+0x10/0x10 ? __pfx_kthread+0x10/0x10 ret_from_fork+0x8e/0x100 ? __pfx_kthread+0x10/0x10 ret_from_fork_asm+0x1a/0x30 </TASK>

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: net/mlx5: Corrige la aserción de lockdep en el evento de descarga de reinicio síncrono Corrige la aserción de lockdep activada durante el evento de descarga de reinicio síncrono. Cuando el flujo de reinicio síncrono se inicia utilizando la opción devlink reload fw_activate, el PF ya mantiene el bloqueo de devlink mientras maneja el evento de descarga. En este caso, delega el manejo del evento de descarga de reinicio síncrono de vuelta al proceso de devolución de llamada de devlink para evitar el doble bloqueo y resolver la advertencia de lockdep. Registro del kernel: ADVERTENCIA: CPU: 9 PID: 1578 en devl_assert_locked+0x31/0x40 [...] Traza de llamada: <TAREA> mlx5_unload_one_devl_locked+0x2c/0xc0 [mlx5_core] mlx5_sync_reset_unload_event+0xaf/0x2f0 [mlx5_core] process_one_work+0x222/0x640 worker_thread+0x199/0x350 kthread+0x10b/0x230 ? __pfx_worker_thread+0x10/0x10 ? __pfx_kthread+0x10/0x10 ret_from_fork+0x8e/0x100 ? __pfx_kthread+0x10/0x10 ret_from_fork_asm+0x1a/0x30 </TAREA>

References

Sources

SourceRecordLicence
CVE ListCVE-2025-39832 changed 2026-05-11CVE Terms of Use
NVDCVE-2025-39832 changed 2026-10-19Public domain