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: <2025102811-CVE-2025-40036-a568@gregkh>
Date: Tue, 28 Oct 2025 12:48:13 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-40036: misc: fastrpc: fix possible map leak in fastrpc_put_args

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

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

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

misc: fastrpc: fix possible map leak in fastrpc_put_args

copy_to_user() failure would cause an early return without cleaning up
the fdlist, which has been updated by the DSP. This could lead to map
leak. Fix this by redirecting to a cleanup path on failure, ensuring
that all mapped buffers are properly released before returning.

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


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

	Issue introduced in 5.1 with commit c68cfb718c8f97b7f7a50ed66be5feb42d0c8988 and fixed in 6.1.156 with commit a085658264d0c8d4f795d4631f77d7289a021de9
	Issue introduced in 5.1 with commit c68cfb718c8f97b7f7a50ed66be5feb42d0c8988 and fixed in 6.6.112 with commit 3ad42dc66445df6977cf4be0c06f1a655299ce6c
	Issue introduced in 5.1 with commit c68cfb718c8f97b7f7a50ed66be5feb42d0c8988 and fixed in 6.12.53 with commit 78d33a041555db03903e8037fd053ed74fbd88cb
	Issue introduced in 5.1 with commit c68cfb718c8f97b7f7a50ed66be5feb42d0c8988 and fixed in 6.17.3 with commit c000f65f0ac93d9f9cc69a230d372f6ca93e4879
	Issue introduced in 5.1 with commit c68cfb718c8f97b7f7a50ed66be5feb42d0c8988 and fixed in 6.18-rc1 with commit da1ba64176e0138f2bfa96f9e43e8c3640d01e1e

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-40036
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:
	drivers/misc/fastrpc.c


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/a085658264d0c8d4f795d4631f77d7289a021de9
	https://git.kernel.org/stable/c/3ad42dc66445df6977cf4be0c06f1a655299ce6c
	https://git.kernel.org/stable/c/78d33a041555db03903e8037fd053ed74fbd88cb
	https://git.kernel.org/stable/c/c000f65f0ac93d9f9cc69a230d372f6ca93e4879
	https://git.kernel.org/stable/c/da1ba64176e0138f2bfa96f9e43e8c3640d01e1e

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ