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 for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025102037-CVE-2025-40017-797c@gregkh>
Date: Mon, 20 Oct 2025 17:30:38 +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-40017: media: iris: Fix memory leak by freeing untracked persist buffer

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

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

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

media: iris: Fix memory leak by freeing untracked persist buffer

One internal buffer which is allocated only once per session was not
being freed during session close because it was not being tracked as
part of internal buffer list which resulted in a memory leak.

Add the necessary logic to explicitly free the untracked internal buffer
during session close to ensure all allocated memory is released
properly.

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


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

	Issue introduced in 6.15 with commit 73702f45db81b74897b2808aaa13484826156006 and fixed in 6.16.11 with commit c9e024e907cafafd6b094f69a0d0f5d18fd28876
	Issue introduced in 6.15 with commit 73702f45db81b74897b2808aaa13484826156006 and fixed in 6.17.1 with commit ec2f87ad035e8d1ad67567542842f1f23a4dbde2
	Issue introduced in 6.15 with commit 73702f45db81b74897b2808aaa13484826156006 and fixed in 6.18-rc1 with commit 02a24f13b3a1d9da9f3de56aa5fdb7cc1fe167a2

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-40017
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/media/platform/qcom/iris/iris_buffer.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/c9e024e907cafafd6b094f69a0d0f5d18fd28876
	https://git.kernel.org/stable/c/ec2f87ad035e8d1ad67567542842f1f23a4dbde2
	https://git.kernel.org/stable/c/02a24f13b3a1d9da9f3de56aa5fdb7cc1fe167a2

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ