Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-35959

MEDIUM 5.5EPSS 16%

net/mlx5e: Fix mlx5e_priv_init() cleanup flow

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 8bf30be75069d6080659de9a28565c048f6cef9b, < ad26f26abd353113dea4e8d5ebadccdab9b61e76; >= 8bf30be75069d6080659de9a28565c048f6cef9b, < f9ac93b6f3de34aa0bb983b9be4f69ca50fc70f3; >= 8bf30be75069d6080659de9a28565c048f6cef9b, < 6bd77865fda662913dcb5722a66a773840370aa7; >= 8bf30be75069d6080659de9a28565c048f6cef9b, < ecb829459a841198e142f72fadab56424ae96519
  • Anyone running Linux 5.18

Vulnerability facts

Affected
Linux >= 8bf30be75069d6080659de9a28565c048f6cef9b, < ad26f26abd353113dea4e8d5ebadccdab9b61e76; >= 8bf30be75069d6080659de9a28565c048f6cef9b, < f9ac93b6f3de34aa0bb983b9be4f69ca50fc70f3; >= 8bf30be75069d6080659de9a28565c048f6cef9b, < 6bd77865fda662913dcb5722a66a773840370aa7; >= 8bf30be75069d6080659de9a28565c048f6cef9b, < ecb829459a841198e142f72fadab56424ae96519; Linux 5.18
Fixed in
Linux 6bd77865fda662913dcb5722a66a773840370aa7
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 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
EPSS
0.30% chance of exploitation in 30 days (percentile 16, 2026-11-26)
CWE
CWE-459
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: Fix mlx5e_priv_init() cleanup flow When mlx5e_priv_init() fails, the cleanup flow calls mlx5e_selq_cleanup which calls mlx5e_selq_apply() that assures that the `priv->state_lock` is held using lockdep_is_held(). Acquire the state_lock in mlx5e_selq_cleanup(). Kernel log: ============================= WARNING: suspicious RCU usage 6.8.0-rc3_net_next_841a9b5 #1 Not tainted ----------------------------- drivers/net/ethernet/mellanox/mlx5/core/en/selq.c:124 suspicious rcu_dereference_protected() usage! other info that might help us debug this: rcu_scheduler_active = 2, debug_locks = 1 2 locks held by systemd-modules/293: #0: ffffffffa05067b0 (devices_rwsem){++++}-{3:3}, at: ib_register_client+0x109/0x1b0 [ib_core] #1: ffff8881096c65c0 (&device->client_data_rwsem){++++}-{3:3}, at: add_client_context+0x104/0x1c0 [ib_core] stack backtrace: CPU: 4 PID: 293 Comm: systemd-modules Not tainted 6.8.0-rc3_net_next_841a9b5 #1 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.13.0-0-gf21b5a4aeb02-prebuilt.qemu.org 04/01/2014 Call Trace: <TASK> dump_stack_lvl+0x8a/0xa0 lockdep_rcu_suspicious+0x154/0x1a0 mlx5e_selq_apply+0x94/0xa0 [mlx5_core] mlx5e_selq_cleanup+0x3a/0x60 [mlx5_core] mlx5e_priv_init+0x2be/0x2f0 [mlx5_core] mlx5_rdma_setup_rn+0x7c/0x1a0 [mlx5_core] rdma_init_netdev+0x4e/0x80 [ib_core] ? mlx5_rdma_netdev_free+0x70/0x70 [mlx5_core] ipoib_intf_init+0x64/0x550 [ib_ipoib] ipoib_intf_alloc+0x4e/0xc0 [ib_ipoib] ipoib_add_one+0xb0/0x360 [ib_ipoib] add_client_context+0x112/0x1c0 [ib_core] ib_register_client+0x166/0x1b0 [ib_core] ? 0xffffffffa0573000 ipoib_init_module+0xeb/0x1a0 [ib_ipoib] do_one_initcall+0x61/0x250 do_init_module+0x8a/0x270 init_module_from_file+0x8b/0xd0 idempotent_init_module+0x17d/0x230 __x64_sys_finit_module+0x61/0xb0 do_syscall_64+0x71/0x140 entry_SYSCALL_64_after_hwframe+0x46/0x4e </TASK>

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 8bf30be75069d6080659de9a28565c048f6cef9b, < ad26f26abd353113dea4e8d5ebadccdab9b61e76; >= 8bf30be75069d6080659de9a28565c048f6cef9b, < f9ac93b6f3de34aa0bb983b9be4f69ca50fc70f3; >= 8bf30be75069d6080659de9a28565c048f6cef9b, < 6bd77865fda662913dcb5722a66a773840370aa7; >= 8bf30be75069d6080659de9a28565c048f6cef9b, < ecb829459a841198e142f72fadab56424ae96519—cvelist
Linux5.18—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

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

Details: https://flawdb.com/CVE-2024-35959.md
Affected: Linux >= 8bf30be75069d6080659de9a28565c048f6cef9b, < ad26f26abd353113dea4e8d5ebadccdab9b61e76; >= 8bf30be75069d6080659de9a28565c048f6cef9b, < f9ac93b6f3de34aa0bb983b9be4f69ca50fc70f3; >= 8bf30be75069d6080659de9a28565c048f6cef9b, < 6bd77865fda662913dcb5722a66a773840370aa7; >= 8bf30be75069d6080659de9…
Fixed in: Linux 6bd77865fda662913dcb5722a66a773840370aa7

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.

References

FAQ

Is CVE-2024-35959 being exploited?

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

How serious is CVE-2024-35959?

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

Which versions are affected by CVE-2024-35959?

Linux >= 8bf30be75069d6080659de9a28565c048f6cef9b, < ad26f26abd353113dea4e8d5ebadccdab9b61e76; >= 8bf30be75069d6080659de9a28565c048f6cef9b, < f9ac93b6f3de34aa0bb983b9be4f69ca50fc70f3; >= 8bf30be75069d6080659de9a28565c048f6cef9b, < 6bd77865fda662913dcb5722a66a773840370aa7; >= 8bf30be75069d6080659de9a28565c048f6cef9b, < ecb829459a841198e142f72fadab56424ae96519; Linux 5.18.

Is there a fix for CVE-2024-35959?

Yes. Fixed in Linux 6bd77865fda662913dcb5722a66a773840370aa7. No fix listed yet: follow the vendor advisory.

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

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.

Sponsors