[RFC] RDMA/erdma: Avoid use-after-free in erdma_accept_newconn()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxx/
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





[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux