VDB

CVE-2024-42268

CVE-2024-42268 PUBLISHED

net/mlx5: Fix missing lock on sync reset reload

Reported by linux · Published August 17, 2024

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 […]

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-tools-develAmazon Linux6.1.106-116.188.amzn2023
kernel-livepatch-6.1.106-116.188Amazon Linux1.0-0.amzn2023
kernel-develAmazon Linux6.1.106-116.188.amzn2023
LinuxLinux091268f3c27a5b6d7858a3bb2a0dbcc9cd26ddb5

Affected products

VendorProductVersions
LinuxLinux84a433a40d0ebf3bbf36b8bfa58c6f45dc782344, 84a433a40d0ebf3bbf36b8bfa58c6f45dc782344, 84a433a40d0ebf3bbf36b8bfa58c6f45dc782344
LinuxLinux6.0, 0, 6.1.104
amazon:2023kernel-tools-devel0
amazon:2023kernel-livepatch-6.1.106-116.1880
amazon:2023kernel-devel0
LinuxLinux0, 6.11, 6.10.4
amazon:2023perf0
amazon:2023kernel0
amazon:2023kernel-libbpf-devel0
amazon:2023python3-perf0
amazon:2023bpftool0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel-tools0
amazon:2023kernel-headers0
linuxlinux_kernel6.0, 6.0, 6.0
amazon:2023kernel-modules-extra0
amazon:2023kernel-libbpf-static0
amazon:2023kernel-libbpf0

Timeline

  • Aug 17, 2024 CVE Published
  • Aug 18, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 4, 2024 Coalition ESS Score (9 in total, the first dated here)
  • Jan 6, 2025 CVE Updated
  • Jan 6, 2026 Security Advisory (135 in total, the first dated here)
  • May 28, 2026 Distribution Patch (121 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-42268
vulnetix vdb fixes CVE-2024-42268

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-42268/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›