CVE-2025-68816
net/mlx5: fw_tracer, Validate format string parameters
Check your servers for CVE-2025-68816
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-68816 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:
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.
Exploitation
EPSS 0.26%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 19.0% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 16 Jun 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-134 Use of Externally-Controlled Format String
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 70dd6fdb8987b14f7b6105f6be0617299e459398, before 95624b731c490a4b849844269193a233d6d556a0 affected from 70dd6fdb8987b14f7b6105f6be0617299e459398, before 768d559f466cdd72849110a7ecd76a21d52dcfe3 affected from 70dd6fdb8987b14f7b6105f6be0617299e459398, before 38ac688b52ef26a88f8bc4fe26d24fdd0ff91e5d affected from 70dd6fdb8987b14f7b6105f6be0617299e459398, before 8ac688c0e430dab19f6a9b70df94b1f635612c1a affected from 70dd6fdb8987b14f7b6105f6be0617299e459398, before 45bd283b1d69e2c97cddcb9956f0e0261fc4efd7 affected from 70dd6fdb8987b14f7b6105f6be0617299e459398, before 8c35c2448086870509ede43947845be0833251f0 affected from 70dd6fdb8987b14f7b6105f6be0617299e459398, before b35966042d20b14e2d83330049f77deec5229749
Other versions: unaffected
|
| Linux |
affected 4.19 unaffected before 4.19 unaffected from 5.10.248 up to and including 5.10.* unaffected from 5.15.198 up to and including 5.15.* unaffected from 6.1.160 up to and including 6.1.* unaffected from 6.6.120 up to and including 6.6.* unaffected from 6.12.64 up to and including 6.12.* unaffected from 6.18.3 up to and including 6.18.* unaffected 6.19 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-68816 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-68816
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-68816
trivy image --scanners vuln IMAGE | grep CVE-2025-68816
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/95624b731c490a4b849844269193a233d6d556a0 git.kernel.org
- https://git.kernel.org/stable/c/768d559f466cdd72849110a7ecd76a21d52dcfe3 git.kernel.org
- https://git.kernel.org/stable/c/38ac688b52ef26a88f8bc4fe26d24fdd0ff91e5d git.kernel.org
- https://git.kernel.org/stable/c/8ac688c0e430dab19f6a9b70df94b1f635612c1a git.kernel.org
- https://git.kernel.org/stable/c/45bd283b1d69e2c97cddcb9956f0e0261fc4efd7 git.kernel.org
- https://git.kernel.org/stable/c/8c35c2448086870509ede43947845be0833251f0 git.kernel.org
- https://git.kernel.org/stable/c/b35966042d20b14e2d83330049f77deec5229749 git.kernel.org
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html cert-portal.siemens.com
Source: the record CVE-2025-68816 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse