Linux RDMA and InfiniBand development
 help / color / mirror / Atom feed
From: Markus Elfring <Markus.Elfring@web.de>
To: Cheng Xu <chengyou@linux.alibaba.com>,
	linux-rdma@vger.kernel.org, Jason Gunthorpe <jgg@ziepe.ca>,
	Leon Romanovsky <leon@kernel.org>
Cc: LKML <linux-kernel@vger.kernel.org>,
	kernel-janitors@vger.kernel.org,
	Kai Shen <KaiShen@linux.alibaba.com>
Subject: Re: [PATCH for-next] RDMA/erdma: Prevent use-after-free in erdma_accept_newconn()
Date: Thu, 6 Mar 2025 13:56:05 +0100	[thread overview]
Message-ID: <ad735fa0-2352-4905-b8a6-a1404db08b9e@web.de> (raw)
In-Reply-To: <20250306120440.72792-1-chengyou@linux.alibaba.com>

> 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.

* Would a change description be nicer without an abbreviation?

* Will any additional tags become helpful?

  + https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.14-rc5#n539

  + See also:
    https://lore.kernel.org/cocci/20a1a47c-8906-44e8-92e6-9b3e698b1491@web.de/
    https://sympa.inria.fr/sympa/arc/cocci/2025-03/msg00075.html
    https://lkml.org/lkml/2025/3/5/1100


Regards,
Markus

  reply	other threads:[~2025-03-06 12:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-06 12:04 [PATCH for-next] RDMA/erdma: Prevent use-after-free in erdma_accept_newconn() Cheng Xu
2025-03-06 12:56 ` Markus Elfring [this message]
2025-03-06 13:28 ` Leon Romanovsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ad735fa0-2352-4905-b8a6-a1404db08b9e@web.de \
    --to=markus.elfring@web.de \
    --cc=KaiShen@linux.alibaba.com \
    --cc=chengyou@linux.alibaba.com \
    --cc=jgg@ziepe.ca \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=leon@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox