lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025101334-CVE-2025-39964-7964@gregkh>
Date: Mon, 13 Oct 2025 15:48:35 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-39964: crypto: af_alg - Disallow concurrent writes in af_alg_sendmsg

From: Greg Kroah-Hartman <gregkh@...nel.org>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

crypto: af_alg - Disallow concurrent writes in af_alg_sendmsg

Issuing two writes to the same af_alg socket is bogus as the
data will be interleaved in an unpredictable fashion.  Furthermore,
concurrent writes may create inconsistencies in the internal
socket state.

Disallow this by adding a new ctx->write field that indiciates
exclusive ownership for writing.

The Linux kernel CVE team has assigned CVE-2025-39964 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 2.6.38 with commit 8ff590903d5fc7f5a0a988c38267a3d08e6393a2 and fixed in 5.10.245 with commit 0f28c4adbc4a97437874c9b669fd7958a8c6d6ce
	Issue introduced in 2.6.38 with commit 8ff590903d5fc7f5a0a988c38267a3d08e6393a2 and fixed in 5.15.194 with commit e4c1ec11132ec466f7362a95f36a506ce4dc08c9
	Issue introduced in 2.6.38 with commit 8ff590903d5fc7f5a0a988c38267a3d08e6393a2 and fixed in 6.1.154 with commit 1f323a48e9b5ebfe6dc7d130fdf5c3c0e92a07c8
	Issue introduced in 2.6.38 with commit 8ff590903d5fc7f5a0a988c38267a3d08e6393a2 and fixed in 6.6.108 with commit 7c4491b5644e3a3708f3dbd7591be0a570135b84
	Issue introduced in 2.6.38 with commit 8ff590903d5fc7f5a0a988c38267a3d08e6393a2 and fixed in 6.12.49 with commit 9aee87da5572b3a14075f501752e209801160d3d
	Issue introduced in 2.6.38 with commit 8ff590903d5fc7f5a0a988c38267a3d08e6393a2 and fixed in 6.16.9 with commit 45bcf60fe49b37daab1acee57b27211ad1574042
	Issue introduced in 2.6.38 with commit 8ff590903d5fc7f5a0a988c38267a3d08e6393a2 and fixed in 6.17 with commit 1b34cbbf4f011a121ef7b2d7d6e6920a036d5285

Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
	https://cve.org/CVERecord/?id=CVE-2025-39964
will be updated if fixes are backported, please check that for the most
up to date information about this issue.


Affected files
==============

The file(s) affected by this issue are:
	crypto/af_alg.c
	include/crypto/if_alg.h


Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
	https://git.kernel.org/stable/c/0f28c4adbc4a97437874c9b669fd7958a8c6d6ce
	https://git.kernel.org/stable/c/e4c1ec11132ec466f7362a95f36a506ce4dc08c9
	https://git.kernel.org/stable/c/1f323a48e9b5ebfe6dc7d130fdf5c3c0e92a07c8
	https://git.kernel.org/stable/c/7c4491b5644e3a3708f3dbd7591be0a570135b84
	https://git.kernel.org/stable/c/9aee87da5572b3a14075f501752e209801160d3d
	https://git.kernel.org/stable/c/45bcf60fe49b37daab1acee57b27211ad1574042
	https://git.kernel.org/stable/c/1b34cbbf4f011a121ef7b2d7d6e6920a036d5285

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ