Skip to content
Heist/ feed
Back to feed
MediumFix available

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

Type: advisorySources: OSV

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: 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

Products
Kernel
Affected versions
Not specified
Fixed versions
6.12.45, 6.16.5, 6.6.104
CVEs
CVE-2025-39832
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 17:27 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 16 Sept 2025, 13:08 UTC

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: 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

osv:CVE-2025-39832

Kernel

Fixed versions: 6.6.104, 6.12.45, 6.16.5

Complete source record
{
  "id": "77a0cbed7ee66a3649130dbf65d52f73357fe6b316d80afc38e71658bd37babe",
  "url": "https://osv.dev/vulnerability/CVE-2025-39832",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "net/mlx5: Fix lockdep assertion on sync reset unload event",
    "summary": "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: 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",
    "evidence": "osv:CVE-2025-39832",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.6.104",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.45",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.16.5",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-39832",
      "aliases": [
        "CVE-2025-39832"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "7a9770f1bfeaeddf5afabd3244e2c4c4966be37d"
                },
                {
                  "fixed": "ddac9d0fe2493dd550cbfc75eeaf31e9b6dac959"
                },
                {
                  "fixed": "0c87dba9ccd3801d3b503f0b4fd41be343af4f06"
                },
                {
                  "fixed": "06d897148e79638651800d851a69547b56b4be2e"
                },
                {
                  "fixed": "902a8bc23a24882200f57cadc270e15a2cfaf2bb"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-39832.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.5.0"
                },
                {
                  "fixed": "6.6.104"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.45"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.16.5"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-39832.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:30.712620623Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/06d897148e79638651800d851a69547b56b4be2e",
        "https://git.kernel.org/stable/c/0c87dba9ccd3801d3b503f0b4fd41be343af4f06",
        "https://git.kernel.org/stable/c/902a8bc23a24882200f57cadc270e15a2cfaf2bb",
        "https://git.kernel.org/stable/c/ddac9d0fe2493dd550cbfc75eeaf31e9b6dac959",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39832.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-39832",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/39xxx/CVE-2025-39832.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-39832",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 497800,
  "published_at": "2025-09-16T13:08:49.513+00:00"
}