CVE-2025-39931

In 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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc6:*:*:*:*:*:*

History

19 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: crypto: af_alg - Establecer merge a cero al principio en af_alg_sendmsg Si un error causa que af_alg_sendmsg aborte, ctx->merge puede contener un valor basura del bucle anterior. Esto puede entonces desencadenar un bloqueo en la siguiente entrada en af_alg_sendmsg cuando intente hacer un merge que no se puede hacer. Corregir esto estableciendo ctx->merge a cero cerca del inicio del bucle.

15 Oct 2026, 02:18

Type Values Removed Values Added
References
  • () https://cert-portal.siemens.com/productcert/html/ssa-457936.html -

30 Jul 2026, 06:23

Type Values Removed Values Added
CVSS v2 : unknown
v3 : 5.5
v2 : unknown
v3 : 7.8

14 Jul 2026, 13:17

Type Values Removed Values Added
References
  • () https://cert-portal.siemens.com/productcert/html/ssa-019113.html -

04 Jul 2026, 12:16

Type Values Removed Values Added
References
  • () https://git.kernel.org/stable/c/28f6f37abca7c5c9eb3959c66310f1d4d98b8aaf -
  • () https://git.kernel.org/stable/c/db2b42425dfbde4983b0c20fb7cfa05f70e6a745 -

12 May 2026, 13:17

Type Values Removed Values Added
References
  • () https://cert-portal.siemens.com/productcert/html/ssa-082556.html -

27 Jan 2026, 18:50

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/045ee26aa3920a47ec46d7fcb302420bf01fd753 - () https://git.kernel.org/stable/c/045ee26aa3920a47ec46d7fcb302420bf01fd753 - Patch
References () https://git.kernel.org/stable/c/2374c11189ef704a3e4863646369f1b8e6a27d71 - () https://git.kernel.org/stable/c/2374c11189ef704a3e4863646369f1b8e6a27d71 - Patch
References () https://git.kernel.org/stable/c/24c1106504c625fabd3b7229611af617b4c27ac7 - () https://git.kernel.org/stable/c/24c1106504c625fabd3b7229611af617b4c27ac7 - Patch
References () https://git.kernel.org/stable/c/6241b9e2809b12da9130894cf5beddf088dc1b8a - () https://git.kernel.org/stable/c/6241b9e2809b12da9130894cf5beddf088dc1b8a - Patch
References () https://git.kernel.org/stable/c/9574b2330dbd2b5459b74d3b5e9619d39299fc6f - () https://git.kernel.org/stable/c/9574b2330dbd2b5459b74d3b5e9619d39299fc6f - Patch
CWE CWE-908
First Time Linux linux Kernel
Linux
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
CPE cpe:2.3:o:linux:linux_kernel:6.17:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.17:rc6:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

04 Oct 2025, 08:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-10-04 08:15

Updated : 2026-11-10 13:17


NVD link : CVE-2025-39931

Mitre link : CVE-2025-39931

CVE.ORG link : CVE-2025-39931


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-908

Use of Uninitialized Resource