CVE-2025-68209
mlx5: Fix default values in create CQ
Check your servers for CVE-2025-68209
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-68209 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 15.9% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from cdd04f4d4d71cbf93d0d9abe63bc838f47c467fa, before 5c08079c3e5a3c1573afcb5643b5d296865d1170 affected from cdd04f4d4d71cbf93d0d9abe63bc838f47c467fa, before 1a7865e3e4de2830d8a9fe8c273dc10b248b7338 affected from cdd04f4d4d71cbf93d0d9abe63bc838f47c467fa, before a39d334c9840705af69f0466f8f0129c366004ca affected from cdd04f4d4d71cbf93d0d9abe63bc838f47c467fa, before 08469f5393a1a39f26a6e2eb2e8c33187665c1f4 affected from cdd04f4d4d71cbf93d0d9abe63bc838f47c467fa, before e5eba42f01340f73888dfe560be2806057c25913
Other versions: unaffected
|
| Linux |
affected 6.0 unaffected before 6.0 unaffected from 6.1.191 up to and including 6.1.* unaffected from 6.6.160 up to and including 6.6.* unaffected from 6.12.114 up to and including 6.12.* unaffected from 6.17.9 up to and including 6.17.* unaffected 6.18 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-68209 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-68209
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-68209
trivy image --scanners vuln IMAGE | grep CVE-2025-68209
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/5c08079c3e5a3c1573afcb5643b5d296865d1170 git.kernel.org
- https://git.kernel.org/stable/c/1a7865e3e4de2830d8a9fe8c273dc10b248b7338 git.kernel.org
- https://git.kernel.org/stable/c/a39d334c9840705af69f0466f8f0129c366004ca git.kernel.org
- https://git.kernel.org/stable/c/08469f5393a1a39f26a6e2eb2e8c33187665c1f4 git.kernel.org
- https://git.kernel.org/stable/c/e5eba42f01340f73888dfe560be2806057c25913 git.kernel.org
Source: the record CVE-2025-68209 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse