Vulnerability in Linux
CVE-2025-39768
In the Linux kernel, the following vulnerability has been resolved: net/mlx5: HWS, fix complex rules rehash error flow Moving rules from matcher to matcher should not fail. However, if it does fail due to various reasons, the error flow should allow the kernel to continue functioning (albeit with broken steering rules) instead of going into series of soft lock-ups or some other problematic behaviour. Similar to the simple rules, complex rules rehash logic suffers from the same problems. This patch fixes the error flow for moving complex rules: - If new rule creation fails before it was even enqeued, do not poll for completion - If TIMEOUT happened while moving the rule, no point trying to poll for completions for other rules. Something is broken, completion won't come, just abort the rehash sequence. - If some other completion with error received, don't give up. Continue handling rest of the rules to minimize the damage. - Make sure that the first error code that was received will be actually returned to the caller instead of replacing it with the generic error code. All the aforementioned issues stem from the same bad error flow, so no point fixing them one by one and leaving partially broken code - fixing them in one patch.
EPSS: 0.001 (2.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
Affected products
- Linux — versions 17e0accac577fd6ea2090934d71a8c6f36702a26, 6.16, 0
- Linux Linux_kernel — versions 6.17
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2025-39768?
- CVE-2025-39768 is a medium-severity vulnerability in Linux, classified under Reachable Assertion. CVSS score: 5.5/10. Published 2025-09-11.
- How severe is CVE-2025-39768?
- Medium severity. CVSS v3 base score is 5.5 out of 10.