0.0
NA
CVE-2025-68209
mlx5: Fix default values in create CQ
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.

INFO

Published Date :

Dec. 16, 2025, 2:15 p.m.

Last Modified :

Oct. 30, 2026, 1:18 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2025-68209 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
Solution
Correct default values in the create CQ flow to prevent null pointer exceptions and unintended interrupts.
  • Update the Linux kernel to include the fix for mlx5 CQ creation.
  • Ensure CQs are properly initialized with correct completion functions.
  • Verify CQs that use polling are correctly armed.
  • User CQs should handle their own initialization.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-68209 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2025-68209 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-68209 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2025-68209 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Oct. 30, 2026

    Action Type Old Value New Value
    Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2025/68xxx/CVE-2025-68209.json">CVE-2025-68209</a>
    Added Reference https://git.kernel.org/stable/c/5c08079c3e5a3c1573afcb5643b5d296865d1170
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Oct. 21, 2026

    Action Type Old Value New Value
    Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2025/68xxx/CVE-2025-68209.json">CVE-2025-68209</a>
    Added Reference https://git.kernel.org/stable/c/08469f5393a1a39f26a6e2eb2e8c33187665c1f4
    Added Reference https://git.kernel.org/stable/c/1a7865e3e4de2830d8a9fe8c273dc10b248b7338
    Added Reference https://git.kernel.org/stable/c/a39d334c9840705af69f0466f8f0129c366004ca
    Added Reference https://git.kernel.org/stable/c/e5eba42f01340f73888dfe560be2806057c25913
    Removed Reference https://git.kernel.org/stable/c/08469f5393a1a39f26a6e2eb2e8c33187665c1f4
    Removed Reference https://git.kernel.org/stable/c/e5eba42f01340f73888dfe560be2806057c25913
  • CVE Translated by [email protected]

    Oct. 14, 2026

    Action Type Old Value New Value
    Added Translation Title: Linux, Description: En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: mlx5: Corrige valores predeterminados en la creación de CQ Actualmente, a las CQ sin una función de completado se les asigna la función mlx5_add_cq_to_tasklet por defecto. Esto es problemático ya que solo las CQ de usuario creadas a través del controlador mlx5_ib están destinadas a usar esta función. Además, todas las CQ que usarán 'doorbells' en lugar de sondeo para completados deben llamar a mlx5_cq_arm. Sin embargo, el flujo de creación de CQ por defecto deja un valor válido en el campo arm_db de la CQ, permitiendo que el FW envíe interrupciones a las CQ solo de sondeo en ciertos casos extremos. Estos dos factores permitirían que una CQ de kernel solo de sondeo fuera activada por una interrupción EQ y llamara a una función de completado destinada solo a CQ de usuario, causando una excepción de puntero nulo. Algunas áreas en el controlador han prevenido este problema con correcciones puntuales, pero no abordaron la causa raíz. Este parche corrige el problema descrito añadiendo valores predeterminados al flujo de creación de CQ. Añade una función de completado ficticia predeterminada para proteger contra excepciones de puntero nulo, y establece un número de secuencia de comando inválido por defecto en las CQ del kernel para evitar que el FW envíe una interrupción a la CQ hasta que esté armada. Las CQ de usuario son responsables de sus propios valores de inicialización. Los que llaman a mlx5_core_create_cq son responsables de cambiar la función de completado y armar la CQ según sus necesidades.
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 17, 2026

    Action Type Old Value New Value
    Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'cdd04f4d4d71cbf93d0d9abe63bc838f47c467fa', 'lessThan': '08469f5393a1a39f26a6e2eb2e8c33187665c1f4', 'versionType': 'git'}, {'status': 'affected', 'version': 'cdd04f4d4d71cbf93d0d9abe63bc838f47c467fa', 'lessThan': 'e5eba42f01340f73888dfe560be2806057c25913', 'versionType': 'git'}], 'programFiles': ['drivers/infiniband/hw/mlx5/cq.c', 'drivers/net/ethernet/mellanox/mlx5/core/cq.c', 'drivers/net/ethernet/mellanox/mlx5/core/en_main.c', 'drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c', 'drivers/net/ethernet/mellanox/mlx5/core/steering/hws/send.c', 'drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_send.c', 'drivers/vdpa/mlx5/net/mlx5_vnet.c', 'include/linux/mlx5/cq.h'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.0'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.0', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.17.9', 'versionType': 'semver', 'lessThanOrEqual': '6.17.*'}, {'status': 'unaffected', 'version': '6.18', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/infiniband/hw/mlx5/cq.c', 'drivers/net/ethernet/mellanox/mlx5/core/cq.c', 'drivers/net/ethernet/mellanox/mlx5/core/en_main.c', 'drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c', 'drivers/net/ethernet/mellanox/mlx5/core/steering/hws/send.c', 'drivers/net/ethernet/mellanox/mlx5/core/steering/sws/dr_send.c', 'drivers/vdpa/mlx5/net/mlx5_vnet.c', 'include/linux/mlx5/cq.h'], 'defaultStatus': 'affected'}]
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Dec. 16, 2025

    Action Type Old Value New Value
    Added 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.
    Added Reference https://git.kernel.org/stable/c/08469f5393a1a39f26a6e2eb2e8c33187665c1f4
    Added Reference https://git.kernel.org/stable/c/e5eba42f01340f73888dfe560be2806057c25913
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.