LiveActive security incident?Get immediate response
CVE Record

CVE-2024-38595: net/mlx5: Fix peer devlink set for SF representor devlink port

In the Linux kernel, the following vulnerability has been resolved: net/mlx5: Fix peer devlink set for SF representor devlink port The cited patch change register devlink flow, and neglect to reflect the changes for peer devlink set logic. Peer devlink set is triggering a call trace if done after devl_register.[1] Hence, align peer devlink set logic with register devlink flow. [1] WARNING: CPU: 4 PID: 3394 at net/devlink/core.c:155 devlink_rel_nested_in_add+0x177/0x180 CPU: 4 PID: 3394 Comm: kworker/u40:1 Not tainted 6.9.0-rc4_for_linust_min_debug_2024_04_16_14_08 #1 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.13.0-0-gf21b5a4aeb02-prebuilt.qemu.org 04/01/2014 Workqueue: mlx5_vhca_event0 mlx5_vhca_state_work_handler [mlx5_core] RIP: 0010:devlink_rel_nested_in_add+0x177/0x180 Call Trace: <TASK> ? __warn+0x78/0x120 ? devlink_rel_nested_in_add+0x177/0x180 ? report_bug+0x16d/0x180 ? handle_bug+0x3c/0x60 ? exc_invalid_op+0x14/0x70 ? asm_exc_invalid_op+0x16/0x20 ? devlink_port_init+0x30/0x30 ? devlink_port_type_clear+0x50/0x50 ? devlink_rel_nested_in_add+0x177/0x180 ? devlink_rel_nested_in_add+0xdd/0x180 mlx5_sf_mdev_event+0x74/0xb0 [mlx5_core] notifier_call_chain+0x35/0xb0 blocking_notifier_call_chain+0x3d/0x60 mlx5_blocking_notifier_call_chain+0x22/0x30 [mlx5_core] mlx5_sf_dev_probe+0x185/0x3e0 [mlx5_core] auxiliary_bus_probe+0x38/0x80 ? driver_sysfs_add+0x51/0x80 really_probe+0xc5/0x3a0 ? driver_probe_device+0x90/0x90 __driver_probe_device+0x80/0x160 driver_probe_device+0x1e/0x90 __device_attach_driver+0x7d/0x100 bus_for_each_drv+0x80/0xd0 __device_attach+0xbc/0x1f0 bus_probe_device+0x86/0xa0 device_add+0x64f/0x860 __auxiliary_device_add+0x3b/0xa0 mlx5_sf_dev_add+0x139/0x330 [mlx5_core] mlx5_sf_dev_state_change_handler+0x1e4/0x250 [mlx5_core] notifier_call_chain+0x35/0xb0 blocking_notifier_call_chain+0x3d/0x60 mlx5_vhca_state_work_handler+0x151/0x200 [mlx5_core] process_one_work+0x13f/0x2e0 worker_thread+0x2bd/0x3c0 ? rescuer_thread+0x410/0x410 kthread+0xc4/0xf0 ? kthread_complete_and_exit+0x20/0x20 ret_from_fork+0x2d/0x50 ? kthread_complete_and_exit+0x20/0x20 ret_from_fork_asm+0x11/0x20 </TASK>

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysisunknown

Security readout for executives and security teams

Plain-English summary

This Linux kernel issue affects the mlx5 networking driver path used with devlink and Scalable Function representor ports. The reported failure is a kernel warning and call trace during device registration logic. The source bundle does not provide CVSS, business impact, or evidence of active exploitation.

Executive priority

Treat this as a targeted kernel maintenance issue, not an emergency internet-wide threat based on current evidence. Prioritize patching where mlx5 SmartNIC or advanced networking features support production workloads.

Technical view

The flaw is in net/mlx5 peer devlink setup for SF representor devlink ports. A prior devlink registration flow change left peer-devlink logic misaligned, causing devlink_rel_nested_in_add to warn when peer setup occurs after devl_register. Stable kernel patches align the peer-devlink set logic with registration flow.

Likely exposure

Exposure appears limited to Linux systems using the mlx5 driver with devlink and SF representor functionality. General Linux hosts without mlx5 hardware or this feature path are less likely to be exposed, based on the provided description.

Exploitation context

The bundle marks KEV as false and gives no cited evidence of public exploitation. The evidence describes a kernel call trace triggered in mlx5 SF device handling, not a documented attacker-driven exploit path.

Researcher notes

Source evidence is narrow: it identifies the failing code path and stable commits, but provides no CVSS, CWE, exploitability analysis, or operational workaround. Avoid broad claims beyond mlx5 devlink SF representor exposure.

Mitigation direction

  • Identify Linux systems using mlx5 hardware, mlx5_core, devlink, or SF representor features.
  • Update affected kernels through supported vendor or distribution packages containing the stable fixes.
  • Check vendor advisories for exact package mappings and backported fixed versions.
  • Prioritize networking, virtualization, and SmartNIC hosts where mlx5 SF features are used.

Validation and detection

  • Confirm the running kernel package includes the referenced stable fix or a vendor backport.
  • Review kernel logs for devlink_rel_nested_in_add or mlx5 SF call traces.
  • Validate mlx5 SF and devlink workflows in staging after kernel updates.
  • Track any recurrence of the warning after patch deployment.
Prepared
Confidence
medium
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2024-38595 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
3Timeline events
2ADP providers
4Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: partial

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CVECVE Program Container
CISA-ADPCISA ADP Vulnrichment
other:ssvc
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux967caa3d37c078e5b95a32094657e6a4cad145f0, c6e77aa9dd82bc18a89bf49418f8f7e961cfccc8, c6e77aa9dd82bc18a89bf49418f8f7e961cfccc8, 8c91c60858473731bcdaf04fda99fcbcf84420d4, 8256c1211dc6fa606269aa043b6e294247820b31, 6.8.7, 6.6.28unaffected
LinuxLinux6.9, 0, 6.8.12, 6.9.3, 6.10affected
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.