# CVE-2025-68816: net/mlx5: fw\_tracer, Validate format string parameters

> 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.30% (percentile 15, 2026-11-26)
- **CWE:** CWE-134
- **Published:** 2026-01-13T15:29:20.464Z
- **Modified:** 2026-11-10T13:18:01.923Z

## Who should check

- Anyone running Linux \>= 70dd6fdb8987b14f7b6105f6be0617299e459398, \< 95624b731c490a4b849844269193a233d6d556a0; \>= 70dd6fdb8987b14f7b6105f6be0617299e459398, \< 768d559f466cdd72849110a7ecd76a21d52dcfe3; \>= 70dd6fdb8987b14f7b6105f6be0617299e459398, \< 38ac688b52ef26a88f8bc4fe26d24fdd0ff91e5d; \>= 70dd6fdb8987b14f7b6105f6be0617299e459398, \< 8ac688c0e430dab19f6a9b70df94b1f635612c1a; \>= 70dd6fdb8987b14f7b6105f6be0617299e459398, \< 45bd283b1d69e2c97cddcb9956f0e0261fc4efd7; \>= 70dd6fdb8987b14f7b6105f6be0617299e459398, \< 8c35c2448086870509ede43947845be0833251f0; \>= 70dd6fdb8987b14f7b6105f6be0617299e459398, \< b35966042d20b14e2d83330049f77deec5229749
- Anyone running Linux 4.19

## Description

In the Linux kernel, the following vulnerability has been resolved:

net/mlx5: fw\_tracer, Validate format string parameters

Add validation for format string parameters in the firmware tracer to
prevent potential security vulnerabilities and crashes from malformed
format strings received from firmware.

The firmware tracer receives format strings from the device firmware and
uses them to format trace messages. Without proper validation, bad
firmware could provide format strings with invalid format specifiers
(e.g., %s, %p, %n) that could lead to crashes, or other undefined
behavior.

Add mlx5\_tracer\_validate\_params() to validate that all format specifiers
in trace strings are limited to safe integer/hex formats (%x, %d, %i,
%u, %llx, %lx, etc.). Reject strings containing other format types that
could be used to access arbitrary memory or cause crashes.
Invalid format strings are added to the trace output for visibility with
"BAD\_FORMAT: " prefix.

## Affected and fixed versions

- Linux: \>= 70dd6fdb8987b14f7b6105f6be0617299e459398, \< 95624b731c490a4b849844269193a233d6d556a0; \>= 70dd6fdb8987b14f7b6105f6be0617299e459398, \< 768d559f466cdd72849110a7ecd76a21d52dcfe3; \>= 70dd6fdb8987b14f7b6105f6be0617299e459398, \< 38ac688b52ef26a88f8bc4fe26d24fdd0ff91e5d; \>= 70dd6fdb8987b14f7b6105f6be0617299e459398, \< 8ac688c0e430dab19f6a9b70df94b1f635612c1a; \>= 70dd6fdb8987b14f7b6105f6be0617299e459398, \< 45bd283b1d69e2c97cddcb9956f0e0261fc4efd7; \>= 70dd6fdb8987b14f7b6105f6be0617299e459398, \< 8c35c2448086870509ede43947845be0833251f0; \>= 70dd6fdb8987b14f7b6105f6be0617299e459398, \< b35966042d20b14e2d83330049f77deec5229749 (cvelist)
- Linux: 4.19 (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-68816. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-68816.md
Affected: Linux >= 70dd6fdb8987b14f7b6105f6be0617299e459398, < 95624b731c490a4b849844269193a233d6d556a0; >= 70dd6fdb8987b14f7b6105f6be0617299e459398, < 768d559f466cdd72849110a7ecd76a21d52dcfe3; >= 70dd6fdb8987b14f7b6105f6be0617299e459398, < 38ac688b52ef26a88f8bc4fe26d24fdd0ff91e5d; >= 70dd6fdb8987b14f7b6105f…
Fixed in: Linux 95624b731c490a4b849844269193a233d6d556a0, Linux 768d559f466cdd72849110a7ecd76a21d52dcfe3, Linux 38ac688b52ef26a88f8bc4fe26d24fdd0ff91e5d, Linux 8ac688c0e430dab19f6a9b70df94b1f635612c1a, Linux 45bd283b1d69e2c97cddcb9956f0e0261fc4efd7, Linux 8c35c2448086870509ede43947845be0833251f0

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-68816 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 70dd6fdb8987b14f7b6105f6be0617299e459398, \< 95624b731c490a4b849844269193a233d6d556a0; \>= 70dd6fdb8987b14f7b6105f6be0617299e459398, \< 768d559f466cdd72849110a7ecd76a21d52dcfe3; \>= 70dd6fdb8987b14f7b6105f6be0617299e459398, \< 38ac688b52ef26a88f8bc4fe26d24fdd0ff91e5d; \>= 70dd6fdb8987b14f7b6105f6be0617299e459398, \< 8ac688c0e430dab19f6a9b70df94b1f635612c1a; \>= 70dd6fdb8987b14f7b6105f6be0617299e459398, \< 45bd283b1d69e2c97cddcb9956f0e0261fc4efd7; \>= 70dd6fdb8987b14f7b6105f6be0617299e459398, \< 8c35c2448086870509ede43947845be0833251f0; \>= 70dd6fdb8987b14f7b6105f6be0617299e459398, \< b35966042d20b14e2d83330049f77deec5229749; Linux 4.19.

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

Yes. Fixed in Linux 95624b731c490a4b849844269193a233d6d556a0, Linux 768d559f466cdd72849110a7ecd76a21d52dcfe3, Linux 38ac688b52ef26a88f8bc4fe26d24fdd0ff91e5d, Linux 8ac688c0e430dab19f6a9b70df94b1f635612c1a, Linux 45bd283b1d69e2c97cddcb9956f0e0261fc4efd7, Linux 8c35c2448086870509ede43947845be0833251f0. No fix listed yet: follow the vendor advisory.

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

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/95624b731c490a4b849844269193a233d6d556a0>
- other: <https://git.kernel.org/stable/c/768d559f466cdd72849110a7ecd76a21d52dcfe3>
- other: <https://git.kernel.org/stable/c/38ac688b52ef26a88f8bc4fe26d24fdd0ff91e5d>
- other: <https://git.kernel.org/stable/c/8ac688c0e430dab19f6a9b70df94b1f635612c1a>
- other: <https://git.kernel.org/stable/c/45bd283b1d69e2c97cddcb9956f0e0261fc4efd7>
- other: <https://git.kernel.org/stable/c/8c35c2448086870509ede43947845be0833251f0>
- other: <https://git.kernel.org/stable/c/b35966042d20b14e2d83330049f77deec5229749>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

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

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