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: <2025041616-CVE-2025-22088-ae2e@gregkh>
Date: Wed, 16 Apr 2025 16:12:59 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2025-22088: RDMA/erdma: Prevent use-after-free in erdma_accept_newconn()

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

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

RDMA/erdma: Prevent use-after-free in erdma_accept_newconn()

After the erdma_cep_put(new_cep) being called, new_cep will be freed,
and the following dereference will cause a UAF problem. Fix this issue.

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


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

	Issue introduced in 6.0 with commit 920d93eac8b97778fef48f34f10e58ddf870fc2a and fixed in 6.1.134 with commit bc1db4d8f1b0dc480d7d745a60a8cc94ce2badd4
	Issue introduced in 6.0 with commit 920d93eac8b97778fef48f34f10e58ddf870fc2a and fixed in 6.6.87 with commit 667a628ab67d359166799fad89b3c6909599558a
	Issue introduced in 6.0 with commit 920d93eac8b97778fef48f34f10e58ddf870fc2a and fixed in 6.12.23 with commit a114d25d584c14019d31dbf2163780c47415a187
	Issue introduced in 6.0 with commit 920d93eac8b97778fef48f34f10e58ddf870fc2a and fixed in 6.13.11 with commit 78411a133312ce7d8a3239c76a8fd85bca1cc10f
	Issue introduced in 6.0 with commit 920d93eac8b97778fef48f34f10e58ddf870fc2a and fixed in 6.14.2 with commit 7aa6bb5276d9fec98deb05615a086eeb893854ad
	Issue introduced in 6.0 with commit 920d93eac8b97778fef48f34f10e58ddf870fc2a and fixed in 6.15-rc1 with commit 83437689249e6a17b25e27712fbee292e42e7855

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-22088
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/infiniband/hw/erdma/erdma_cm.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/bc1db4d8f1b0dc480d7d745a60a8cc94ce2badd4
	https://git.kernel.org/stable/c/667a628ab67d359166799fad89b3c6909599558a
	https://git.kernel.org/stable/c/a114d25d584c14019d31dbf2163780c47415a187
	https://git.kernel.org/stable/c/78411a133312ce7d8a3239c76a8fd85bca1cc10f
	https://git.kernel.org/stable/c/7aa6bb5276d9fec98deb05615a086eeb893854ad
	https://git.kernel.org/stable/c/83437689249e6a17b25e27712fbee292e42e7855

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ