Linux kernel -stable discussions
 help / color / mirror / Atom feed
From: Florian Westphal <fw@strlen.de>
To: Vimal Agrawal <avimalin@gmail.com>
Cc: stable@vger.kernel.org, fw@strlen.de,
	Vimal Agrawal <vimal.agrawal@sophos.com>
Subject: Re: [PATCH 4.14.y] netfilter: nf_queue: fix socket leak
Date: Tue, 11 Oct 2022 19:29:02 +0200	[thread overview]
Message-ID: <20221011172902.GC19620@breakpoint.cc> (raw)
In-Reply-To: <20221011172202.3709-1-vimal.agrawal@sophos.com>

Vimal Agrawal <avimalin@gmail.com> wrote:
> Removal of the sock_hold got lost when backporting commit 4d05239203fa
> ("netfilter: nf_queue: fix possible use-after-free") to 4.14
> 
> This was causing a socket leak and was caught by kmemleak.
> Tested by running kmemleak again with this fix.

Thanks.

Reviewed-by: Florian Westphal <fw@strlen.de>

  reply	other threads:[~2022-10-11 17:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-11 17:22 [PATCH 4.14.y] netfilter: nf_queue: fix socket leak Vimal Agrawal
2022-10-11 17:29 ` Florian Westphal [this message]
2022-10-11 18:35   ` Greg KH

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=20221011172902.GC19620@breakpoint.cc \
    --to=fw@strlen.de \
    --cc=avimalin@gmail.com \
    --cc=stable@vger.kernel.org \
    --cc=vimal.agrawal@sophos.com \
    /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