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

- Priority: **Routine**
- Reason: Not severe (CVSS 7, physical access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-01-13 · Modified: 2026-11-10
- Aliases: UBUNTU-CVE-2025-68816, DEBIAN-CVE-2025-68816
- Record: https://cvemate.com/vulnerability/CVE-2025-68816 · JSON: https://cvemate.com/vulnerability/CVE-2025-68816/json

## Description

```text
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.
```

## Signals

- CVSS: 7 high (v4.0, OSV · Ubuntu) CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- EPSS: 0.261%, percentile 19.018%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 155)

- debian linux (Debian): \< 6.1.162-1 \| \< 6.12.69-1 \| \< 6.18.3-1
- ubuntu linux (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-173.183 \| \< 6.8.0-110.110 \| \< 6.17.0-22.22
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1103.110 \| \< 6.8.0-1052.55 \| \< 6.17.0-1012.12
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1103.110~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.14 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.17 (Ubuntu): \< 6.17.0-1012.12~24.04.1
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1052.55~22.04.1
- ubuntu linux-aws-fips (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1103.110+fips1 \| \< 6.8.0-1052.55+fips1
- ubuntu linux-azure (Ubuntu): All versions (No fix recorded) \| \< 5.15.0-1109.118 \| \< 6.8.0-1054.60 \| \< 6.17.0-1013.13
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 44)

- <https://git.kernel.org/stable/c/95624b731c490a4b849844269193a233d6d556a0>
- <https://git.kernel.org/stable/c/768d559f466cdd72849110a7ecd76a21d52dcfe3>
- <https://git.kernel.org/stable/c/38ac688b52ef26a88f8bc4fe26d24fdd0ff91e5d>
- <https://git.kernel.org/stable/c/8ac688c0e430dab19f6a9b70df94b1f635612c1a>
- <https://git.kernel.org/stable/c/45bd283b1d69e2c97cddcb9956f0e0261fc4efd7>
- <https://git.kernel.org/stable/c/8c35c2448086870509ede43947845be0833251f0>
- <https://git.kernel.org/stable/c/b35966042d20b14e2d83330049f77deec5229749>
- <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- <https://ubuntu.com/security/CVE-2025-68816>
- <https://www.cve.org/CVERecord?id=CVE-2025-68816>
- <https://git.kernel.org/linus/b35966042d20b14e2d83330049f77deec5229749>
- <https://ubuntu.com/security/notices/USN-8096-1>
- <https://ubuntu.com/security/notices/USN-8096-2>
- <https://ubuntu.com/security/notices/USN-8096-3>
- <https://ubuntu.com/security/notices/USN-8096-4>
- <https://ubuntu.com/security/notices/USN-8116-1>
- <https://ubuntu.com/security/notices/USN-8096-5>
- <https://ubuntu.com/security/notices/USN-8141-1>
- <https://ubuntu.com/security/notices/USN-8163-1>
- <https://ubuntu.com/security/notices/USN-8163-2>

---

Data as of 2026-12-05T04:44:24.988Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
