CVE-2024-42268
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-tools-devel | Amazon Linux | 6.1.106-116.188.amzn2023 |
| kernel-livepatch-6.1.106-116.188 | Amazon Linux | 1.0-0.amzn2023 |
| kernel-devel | Amazon Linux | 6.1.106-116.188.amzn2023 |
| Linux | Linux | 091268f3c27a5b6d7858a3bb2a0dbcc9cd26ddb5 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 84a433a40d0ebf3bbf36b8bfa58c6f45dc782344, 84a433a40d0ebf3bbf36b8bfa58c6f45dc782344, 84a433a40d0ebf3bbf36b8bfa58c6f45dc782344 |
| Linux | Linux | 6.0, 0, 6.1.104 |
| amazon:2023 | kernel-tools-devel | 0 |
| amazon:2023 | kernel-livepatch-6.1.106-116.188 | 0 |
| amazon:2023 | kernel-devel | 0 |
| Linux | Linux | 0, 6.11, 6.10.4 |
| amazon:2023 | perf | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel-headers | 0 |
| linux | linux_kernel | 6.0, 6.0, 6.0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel-libbpf | 0 |
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