CVE-2025-39931
MediumIn the Linux kernel, the following vulnerability has been resolved: crypto: af_alg - Set merge to zero early in af_alg_sendmsg If an error causes af_alg_sendmsg to abort, ctx->merge may contain a garbage value from the previous loop. This may then trigger a crash on the next entry into af_alg_sendmsg when it attempts to do a merge that can't be done. Fix this by setting ctx->merge to zero near the start of the loop.
CVSS 3.1 score
5.5
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness type
CWE-908CVE-2025-39931 is classified as CWE-908
See CWE-908 on MITRE CWE for full details on this weakness type.
Affected versions
Linux kernel versions
2.6.38
and later are affected. Fixed in
6.1.154,
6.6.108,
6.12.49,
6.16.9,
6.17
and their respective stable series.
References
The following references provide additional information about CVE-2025-39931 including vendor advisories, patch commits, exploit details, and third-party analysis. Links are sourced from the NIST NVD database.
-
-
PatchKernel patch commithttps://git.kernel.org/stable/c/045ee26aa3920a47ec46d7fcb302420bf01fd753
-
PatchKernel patch commithttps://git.kernel.org/stable/c/2374c11189ef704a3e4863646369f1b8e6a27d71
-
PatchKernel patch commithttps://git.kernel.org/stable/c/24c1106504c625fabd3b7229611af617b4c27ac7
Frequently asked questions
-
What is CVE-2025-39931?
CVE-2025-39931 is a Medium severity Linux kernel vulnerability with a CVSS score of 5.5 out of 10 . It affects Linux kernel versions from 2.6.38 onward and has been patched in 6.1.154, 6.6.108, 6.12.49 and others. CVE-2025-39931 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2025-39931?
CVE-2025-39931 has a CVSS score of 5.5 out of 10, rated Medium severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. -
Is there a patch available for CVE-2025-39931?
Yes — CVE-2025-39931 has been patched. Fixed versions include 6.1.154, 6.6.108, 6.12.49 and others. If you are running Linux kernel 2.6.38 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2025-39931 actively exploited?
No — CVE-2025-39931 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.