# CVE-2025-68209: mlx5: Fix default values in create CQ

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.28% (percentile 13, 2026-11-26)
- **Published:** 2025-12-16T13:48:36.098Z
- **Modified:** 2026-10-30T13:18:18.147Z

## Who should check

- Anyone running Linux \>= cdd04f4d4d71cbf93d0d9abe63bc838f47c467fa, \< 5c08079c3e5a3c1573afcb5643b5d296865d1170; \>= cdd04f4d4d71cbf93d0d9abe63bc838f47c467fa, \< 1a7865e3e4de2830d8a9fe8c273dc10b248b7338; \>= cdd04f4d4d71cbf93d0d9abe63bc838f47c467fa, \< a39d334c9840705af69f0466f8f0129c366004ca; \>= cdd04f4d4d71cbf93d0d9abe63bc838f47c467fa, \< 08469f5393a1a39f26a6e2eb2e8c33187665c1f4; \>= cdd04f4d4d71cbf93d0d9abe63bc838f47c467fa, \< e5eba42f01340f73888dfe560be2806057c25913
- Anyone running Linux 6.0

## 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.

## Affected and fixed versions

- Linux: \>= cdd04f4d4d71cbf93d0d9abe63bc838f47c467fa, \< 5c08079c3e5a3c1573afcb5643b5d296865d1170; \>= cdd04f4d4d71cbf93d0d9abe63bc838f47c467fa, \< 1a7865e3e4de2830d8a9fe8c273dc10b248b7338; \>= cdd04f4d4d71cbf93d0d9abe63bc838f47c467fa, \< a39d334c9840705af69f0466f8f0129c366004ca; \>= cdd04f4d4d71cbf93d0d9abe63bc838f47c467fa, \< 08469f5393a1a39f26a6e2eb2e8c33187665c1f4; \>= cdd04f4d4d71cbf93d0d9abe63bc838f47c467fa, \< e5eba42f01340f73888dfe560be2806057c25913 (cvelist)
- Linux: 6.0 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-68209. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-68209.md
Affected: Linux >= cdd04f4d4d71cbf93d0d9abe63bc838f47c467fa, < 5c08079c3e5a3c1573afcb5643b5d296865d1170; >= cdd04f4d4d71cbf93d0d9abe63bc838f47c467fa, < 1a7865e3e4de2830d8a9fe8c273dc10b248b7338; >= cdd04f4d4d71cbf93d0d9abe63bc838f47c467fa, < a39d334c9840705af69f0466f8f0129c366004ca; >= cdd04f4d4d71cbf93d0d9ab…
Fixed in: Linux 5c08079c3e5a3c1573afcb5643b5d296865d1170, Linux 1a7865e3e4de2830d8a9fe8c273dc10b248b7338, Linux 08469f5393a1a39f26a6e2eb2e8c33187665c1f4

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-68209 being exploited?

There is no confirmed exploitation: CVE-2025-68209 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-68209?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2025-68209?

Linux \>= cdd04f4d4d71cbf93d0d9abe63bc838f47c467fa, \< 5c08079c3e5a3c1573afcb5643b5d296865d1170; \>= cdd04f4d4d71cbf93d0d9abe63bc838f47c467fa, \< 1a7865e3e4de2830d8a9fe8c273dc10b248b7338; \>= cdd04f4d4d71cbf93d0d9abe63bc838f47c467fa, \< a39d334c9840705af69f0466f8f0129c366004ca; \>= cdd04f4d4d71cbf93d0d9abe63bc838f47c467fa, \< 08469f5393a1a39f26a6e2eb2e8c33187665c1f4; \>= cdd04f4d4d71cbf93d0d9abe63bc838f47c467fa, \< e5eba42f01340f73888dfe560be2806057c25913; Linux 6.0.

### Is there a fix for CVE-2025-68209?

Yes. Fixed in Linux 5c08079c3e5a3c1573afcb5643b5d296865d1170, Linux 1a7865e3e4de2830d8a9fe8c273dc10b248b7338, Linux 08469f5393a1a39f26a6e2eb2e8c33187665c1f4. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-68209?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/5c08079c3e5a3c1573afcb5643b5d296865d1170>
- other: <https://git.kernel.org/stable/c/1a7865e3e4de2830d8a9fe8c273dc10b248b7338>
- other: <https://git.kernel.org/stable/c/a39d334c9840705af69f0466f8f0129c366004ca>
- other: <https://git.kernel.org/stable/c/08469f5393a1a39f26a6e2eb2e8c33187665c1f4>
- other: <https://git.kernel.org/stable/c/e5eba42f01340f73888dfe560be2806057c25913>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-68209>

HTML: <https://flawdb.com/CVE-2025-68209> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-68209>
