net/mlx5: Fix lockdep assertion on sync reset unload event
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 06d897148e79638651800d851a69547b56b4be2e, Kernel 0c87dba9ccd3801d3b503f0b4fd41be343af4f06, Kernel 902a8bc23a24882200f57cadc270e15a2cfaf2bb and 1 more.
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: <TASK> 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 </TASK>
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =6.5, >=7a9770f1bfeaeddf5afabd3244e2c4c4966be37d <06d897148e79638651800d851a69547b56b4be2e, >=7a9770f1bfeaeddf5afabd3244e2c4c4966be37d <0c87dba9ccd3801d3b503f0b4fd41be343af4f06, >=7a9770f1bfeaeddf5afabd3244e2c4c4966be37d <902a8bc23a24882200f57cadc270e15a2cfaf2bb, >=7a9770f1bfeaeddf5afabd3244e2c4c4966be37d <ddac9d0fe2493dd550cbfc75eeaf31e9b6dac959 | 06d897148e79638651800d851a69547b56b4be2e, 0c87dba9ccd3801d3b503f0b4fd41be343af4f06, 902a8bc23a24882200f57cadc270e15a2cfaf2bb, ddac9d0fe2493dd550cbfc75eeaf31e9b6dac959 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket