CVE-2024-26858

Medium

In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: Use a memory barrier to enforce PTP WQ xmit submission tracking occurs after populating the metadata_map Just simply reordering the functions mlx5e_ptp_metadata_map_put and mlx5e_ptpsq_track_metadata in the mlx5e_txwqe_complete context is not good enough since both the compiler and CPU are free to reorder these two functions. If reordering does occur, the issue that was supposedly fixed by 7e3f3ba97e6c ("net/mlx5e: Track xmit submission to PTP WQ after populating metadata map") will be seen. This will lead to NULL pointer dereferences in mlx5e_ptpsq_mark_ts_cqes_undelivered in the NAPI polling context due to the tracking list being populated before the metadata map.

Package Linux Kernel
Published 2024-04-17
Last modified 2025-03-04
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

5.5

out of 10
Medium
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
High
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Weakness type

CWE-476

CVE-2024-26858 is a NULL Pointer Dereference vulnerability

What is NULL Pointer Dereference?

The product dereferences a pointer that it expects to be valid but is NULL, typically causing a crash. Learn more on MITRE CWE

Affected versions

Linux kernel versions 6.6.3, 6.5.13, 6.7 and later are affected. Fixed in 6.6.22, 6.7.10, 6.8 and their respective stable series.

Affected from
≥ 6.6.3 ≥ 6.5.13 ≥ 6.7
Fixed in
✓ 6.6.22 6.6.x ✓ 6.7.10 6.7.x ✓ 6.8

Frequently asked questions

  • What is CVE-2024-26858?

    CVE-2024-26858 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 , classified as a NULL Pointer Dereference flaw (CWE-476) . It affects Linux kernel versions from 6.6.3 onward and has been patched in 6.6.22, 6.7.10 and 6.8. CVE-2024-26858 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • What is the CVSS score for CVE-2024-26858?

    CVE-2024-26858 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H .

  • Is there a patch available for CVE-2024-26858?

    Yes. CVE-2024-26858 has been patched. Fixed versions include 6.6.22, 6.7.10 and 6.8. If you are running Linux kernel 6.6.3 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2024-26858 actively exploited?

    No. CVE-2024-26858 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.