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

Published Aug 17, 2024
·
Updated

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 devlinkremotereloadactionsperformed() which results in triggering lock assert like the following:

WARNING: CPU: 4 PID: 1164 at net/devlink/core.c:261 devlassertlocked+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: mlx5fwresetevents mlx5syncresetreloadwork [mlx5core] RIP: 0010:devlassertlocked+0x3e/0x50 … Call Trace: <TASK> ? warn+0xa4/0x210 ? devlassertlocked+0x3e/0x50 ? reportbug+0x160/0x280 ? handlebug+0x3f/0x80 ? excinvalidop+0x17/0x40 ? asmexcinvalidop+0x1a/0x20 ? devlassertlocked+0x3e/0x50 devlinknotify+0x88/0x2b0 ? mlx5attachdevice+0x20c/0x230 [mlx5core] ? pfxdevlinknotify+0x10/0x10 ? processonework+0x4b6/0xbb0 processonework+0x4b6/0xbb0 […]

Affected Software

8 affected componentsFixes available
Linux Linux kernel>=6.0<6.1.104
Linux Linux kernel>=6.2<6.6.45
Linux Linux kernel>=6.7<6.10.4
Linux Linux kernel=6.11-rc1
debian/linux
5.10.223-15.10.234-16.1.129-16.1.133-16.12.22-1
debian/linux-6.1
6.1.129-1~deb11u1
Microsoft azl3 kernel 6.6.47.1-1
Microsoft azl3 kernel 6.6.43.1-7

Event History

Aug 17, 2024
CVE Published
via MITRE·08:54 AM
Data Sourced
via MITRE·08:54 AM
Description
Data Sourced
via NVD·09:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Sep 11, 2024
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverity
Jan 13, 2025
Data Sourced
via Ubuntu·06:28 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-42268?

CVE-2024-42268 is classified as a vulnerability in the Linux kernel that involves a missing lock during sync reset reload.

2

How do I fix CVE-2024-42268?

To fix CVE-2024-42268, update your Linux kernel to a patched version that resolves the missing lock issue.

3

Which versions of the Linux kernel are affected by CVE-2024-42268?

CVE-2024-42268 affects Linux kernel versions between 6.0 and 6.1.104, and versions from 6.2 to 6.6.45, 6.7 to 6.10.4, and specific release candidates like 6.11-rc1.

4

Is there a specific patched version for CVE-2024-42268?

Yes, patched versions of the Linux kernel include 5.10.223-1, 6.1.119-1, and later specific releases.

5

What type of issue does CVE-2024-42268 represent in the Linux kernel?

CVE-2024-42268 represents a concurrent access issue caused by a missing lock, which could potentially lead to inconsistent state during operations.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203