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: <7692fda2-f9a5-4381-b1a8-f949543c0a89@web.de>
Date: Sun, 9 Feb 2025 16:10:48 +0100
From: Markus Elfring <Markus.Elfring@....de>
To: linux-rdma@...r.kernel.org, Cheng Xu <chengyou@...ux.alibaba.com>,
 Jason Gunthorpe <jgg@...pe.ca>, Kai Shen <kaishen@...ux.alibaba.com>,
 Leon Romanovsky <leon@...nel.org>, Yang Li <yang.lee@...ux.alibaba.com>
Cc: LKML <linux-kernel@...r.kernel.org>, kernel-janitors@...r.kernel.org
Subject: [RFC] RDMA/erdma: Avoid use-after-free in erdma_accept_newconn()

Cheng Xu pointed out that the following statement combination would be undesirable.
https://lkml.org/lkml/2023/3/19/191
https://lore.kernel.org/linux-rdma/167179d0-e1ea-39a8-4143-949ad57294c2@linux.alibaba.com/
https://elixir.bootlin.com/linux/v6.13.1/source/drivers/infiniband/hw/erdma/erdma_cm.c#L707-L708
		erdma_cep_put(new_cep);
		new_cep->sock = NULL;

Are there contributors who would like to fix the commit 920d93eac8b97778fef48f34f10e58ddf870fc2a
("RDMA/erdma: Add connection management (CM) support") from 2022-07-27 accordingly?

Regards,
Markus


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ