Netfilter-Devel Archive mirror
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: bre Breitenberger Markus <bre@keba.com>
Cc: "netfilter-devel@vger.kernel.org" <netfilter-devel@vger.kernel.org>
Subject: Re: [PATCH] conntrackd: Fix signal handler race-condition
Date: Thu, 2 May 2024 10:30:31 +0200	[thread overview]
Message-ID: <ZjNPJ_dEJXwU_8-o@calendula> (raw)
In-Reply-To: <AS8PR07MB7176A6FE25478A7C1BA4BF29CD3C2@AS8PR07MB7176.eurprd07.prod.outlook.com>

On Thu, Apr 04, 2024 at 10:39:39AM +0000, bre Breitenberger Markus wrote:
> Install signal handlers after everything is initialized as there is a
> race condition that can happen when the process gets terminated after
> the signal handler is installed but before all fields in the global
> state are set up correctly, leading to a SIGSEGV as the cleanup code
> dereferences uninitialized pointers.

Applied, thanks

      reply	other threads:[~2024-05-02  8:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-04 10:39 [PATCH] conntrackd: Fix signal handler race-condition bre Breitenberger Markus
2024-05-02  8:30 ` Pablo Neira Ayuso [this message]

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=ZjNPJ_dEJXwU_8-o@calendula \
    --to=pablo@netfilter.org \
    --cc=bre@keba.com \
    --cc=netfilter-devel@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).