# CVE-2024-42268: net/mlx5: Fix missing lock on sync reset reload

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.23% (percentile 9, 2026-11-26)
- **CWE:** CWE-667
- **Published:** 2024-08-17T08:54:23.624Z
- **Modified:** 2026-06-17T07:49:08.440Z

## Who should check

- Anyone running Linux \>= 84a433a40d0ebf3bbf36b8bfa58c6f45dc782344, \< 5d07d1d40aabfd61bab21115639bd4f641db6002; \>= 84a433a40d0ebf3bbf36b8bfa58c6f45dc782344, \< 98884e89c90d077f6fe6ba18e6cf6f914642f04e; \>= 84a433a40d0ebf3bbf36b8bfa58c6f45dc782344, \< 091268f3c27a5b6d7858a3bb2a0dbcc9cd26ddb5; \>= 84a433a40d0ebf3bbf36b8bfa58c6f45dc782344, \< 572f9caa9e7295f8c8822e4122c7ae8f1c412ff9
- Anyone running Linux 6.0

## Description

In the Linux kernel, the following vulnerability has been resolved:

net/mlx5: Fix missing lock on sync reset reload

On sync reset reload work, when remote host updates devlink on reload
actions performed on that host, it misses taking devlink lock before
calling devlink\_remote\_reload\_actions\_performed() which results in
triggering lock assert like the following:

WARNING: CPU: 4 PID: 1164 at net/devlink/core.c:261 devl\_assert\_locked+0x3e/0x50
…
 CPU: 4 PID: 1164 Comm: kworker/u96:6 Tainted: G S      W          6.10.0-rc2+ \#116
 Hardware name: Supermicro SYS-2028TP-DECTR/X10DRT-PT, BIOS 2.0 12/18/2015
 Workqueue: mlx5\_fw\_reset\_events mlx5\_sync\_reset\_reload\_work \[mlx5\_core\]
 RIP: 0010:devl\_assert\_locked+0x3e/0x50
…
 Call Trace:
  \<TASK\>
  ? \_\_warn+0xa4/0x210
  ? devl\_assert\_locked+0x3e/0x50
  ? report\_bug+0x160/0x280
  ? handle\_bug+0x3f/0x80
  ? exc\_invalid\_op+0x17/0x40
  ? asm\_exc\_invalid\_op+0x1a/0x20
  ? devl\_assert\_locked+0x3e/0x50
  devlink\_notify+0x88/0x2b0
  ? mlx5\_attach\_device+0x20c/0x230 \[mlx5\_core\]
  ? \_\_pfx\_devlink\_notify+0x10/0x10
  ? process\_one\_work+0x4b6/0xbb0
  process\_one\_work+0x4b6/0xbb0
\[…\]

## Affected and fixed versions

- Linux: \>= 84a433a40d0ebf3bbf36b8bfa58c6f45dc782344, \< 5d07d1d40aabfd61bab21115639bd4f641db6002; \>= 84a433a40d0ebf3bbf36b8bfa58c6f45dc782344, \< 98884e89c90d077f6fe6ba18e6cf6f914642f04e; \>= 84a433a40d0ebf3bbf36b8bfa58c6f45dc782344, \< 091268f3c27a5b6d7858a3bb2a0dbcc9cd26ddb5; \>= 84a433a40d0ebf3bbf36b8bfa58c6f45dc782344, \< 572f9caa9e7295f8c8822e4122c7ae8f1c412ff9 (cvelist)
- Linux: 6.0 (cvelist)

## Mitigation

- Upgrade Linux to 572f9caa9e7295f8c8822e4122c7ae8f1c412ff9 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-42268. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-42268.md
Affected: Linux >= 84a433a40d0ebf3bbf36b8bfa58c6f45dc782344, < 5d07d1d40aabfd61bab21115639bd4f641db6002; >= 84a433a40d0ebf3bbf36b8bfa58c6f45dc782344, < 98884e89c90d077f6fe6ba18e6cf6f914642f04e; >= 84a433a40d0ebf3bbf36b8bfa58c6f45dc782344, < 091268f3c27a5b6d7858a3bb2a0dbcc9cd26ddb5; >= 84a433a40d0ebf3bbf36b8b…
Fixed in: Linux 5d07d1d40aabfd61bab21115639bd4f641db6002, Linux 98884e89c90d077f6fe6ba18e6cf6f914642f04e, Linux 091268f3c27a5b6d7858a3bb2a0dbcc9cd26ddb5, Linux 572f9caa9e7295f8c8822e4122c7ae8f1c412ff9

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-42268 being exploited?

There is no confirmed exploitation: CVE-2024-42268 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-42268?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-42268?

Linux \>= 84a433a40d0ebf3bbf36b8bfa58c6f45dc782344, \< 5d07d1d40aabfd61bab21115639bd4f641db6002; \>= 84a433a40d0ebf3bbf36b8bfa58c6f45dc782344, \< 98884e89c90d077f6fe6ba18e6cf6f914642f04e; \>= 84a433a40d0ebf3bbf36b8bfa58c6f45dc782344, \< 091268f3c27a5b6d7858a3bb2a0dbcc9cd26ddb5; \>= 84a433a40d0ebf3bbf36b8bfa58c6f45dc782344, \< 572f9caa9e7295f8c8822e4122c7ae8f1c412ff9; Linux 6.0.

### Is there a fix for CVE-2024-42268?

Yes. Fixed in Linux 5d07d1d40aabfd61bab21115639bd4f641db6002, Linux 98884e89c90d077f6fe6ba18e6cf6f914642f04e, Linux 091268f3c27a5b6d7858a3bb2a0dbcc9cd26ddb5, Linux 572f9caa9e7295f8c8822e4122c7ae8f1c412ff9. Upgrade Linux to 572f9caa9e7295f8c8822e4122c7ae8f1c412ff9 or later.

### How do I check if I'm affected by CVE-2024-42268?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/5d07d1d40aabfd61bab21115639bd4f641db6002>
- patch: <https://git.kernel.org/stable/c/98884e89c90d077f6fe6ba18e6cf6f914642f04e>
- patch: <https://git.kernel.org/stable/c/091268f3c27a5b6d7858a3bb2a0dbcc9cd26ddb5>
- patch: <https://git.kernel.org/stable/c/572f9caa9e7295f8c8822e4122c7ae8f1c412ff9>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-42268>

HTML: <https://flawdb.com/CVE-2024-42268> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-42268>
