CVE-2025-68209 Details
Description
In the Linux kernel, the following vulnerability has been resolved: mlx5: Fix default values in create CQ Currently, CQs without a completion function are assigned the mlx5_add_cq_to_tasklet function by default. This is problematic since only user CQs created through the mlx5_ib driver are intended to use this function. Additionally, all CQs that will use doorbells instead of polling for completions must call mlx5_cq_arm. However, the default CQ creation flow leaves a valid value in the CQ's arm_db field, allowing FW to send interrupts to polling-only CQs in certain corner cases. These two factors would allow a polling-only kernel CQ to be triggered by an EQ interrupt and call a completion function intended only for user CQs, causing a null pointer exception. Some areas in the driver have prevented this issue with one-off fixes but did not address the root cause. This patch fixes the described issue by adding defaults to the create CQ flow. It adds a default dummy completion function to protect against null pointer exceptions, and it sets an invalid command sequence number by default in kernel CQs to prevent the FW from sending an interrupt to the CQ until it is armed. User CQs are responsible for their own initialization values. Callers of mlx5_core_create_cq are responsible for changing the completion function and arming the CQ per their needs.
A vulnerability has been identified in the Linux kernel's handling of completion queues (CQs) within the Mellanox mlx5 driver. This issue arises because CQs created without a specified completion function are automatically assigned a default function that is only intended for user CQs. As a result, kernel CQs that rely on polling for completions could inadvertently be triggered by hardware interrupts, leading to a null pointer exception. The vulnerability affects several components of the Mellanox mlx5 driver, including the InfiniBand and Ethernet subsystems, as well as the Virtual Data Path (VDPA) component.
Users can manually specify the completion function and initialize the CQ properly to avoid this issue. Instructions for updating the Linux kernel can be found in the Linux Kernel Documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 16, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/08469f5393a1a39f26a6e2eb2e8c33187665c1f4 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/1a7865e3e4de2830d8a9fe8c273dc10b248b7338 | kernel.org | |
| https://git.kernel.org/stable/c/5c08079c3e5a3c1573afcb5643b5d296865d1170 | kernel.org | |
| https://git.kernel.org/stable/c/a39d334c9840705af69f0466f8f0129c366004ca | kernel.org | |
| https://git.kernel.org/stable/c/e5eba42f01340f73888dfe560be2806057c25913 | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation | |
| Mellanox mlx5 | All versions |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 30, 2026 | CVE Modified | kernel.org |
| Oct 21, 2026 | CVE Modified | kernel.org |
| Oct 14, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 16, 2025 | New CVE Received | kernel.org |
Volerion