mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Matthew Wilcox <willy@infradead.org>
To: Edward Adam Davis <eadavis@qq.com>
Cc: guohui.study@gmail.com, brauner@kernel.org, jack@suse.cz,
	jfs-discussion@lists.sourceforge.net,
	linux-kernel@vger.kernel.org, lizhi.xu@windriver.com,
	shaggy@kernel.org, syzkaller-bugs@googlegroups.com
Subject: Re: [PATCH] jfs: Fix null-ptr-deref in write_special_inodes
Date: Tue, 22 Oct 2024 13:13:59 +0100	[thread overview]
Message-ID: <ZxeXBwLCsIwNYmlP@casper.infradead.org> (raw)
In-Reply-To: <tencent_7C86DFB364837BA979A3B0A44CF768577205@qq.com>

On Tue, Oct 15, 2024 at 12:50:05PM +0800, Edward Adam Davis wrote:
> There is a race condition when accessing ipimap and ipbmap.
> 
>         CPU1                              CPU2
> 	====                              ====
> 	jfs_umount
> 	sbi->ipimap = NULL;               lmLogSync

how are we unmounting the filesystem while still writing to it?

  reply	other threads:[~2024-10-22 12:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-12  9:13 BUG: unable to handle kernel NULL pointer dereference " Hui Guo
2024-10-14 14:22 ` Jan Kara
2024-10-14 14:28   ` Dave Kleikamp
2024-10-15  4:50 ` [PATCH] jfs: Fix null-ptr-deref " Edward Adam Davis
2024-10-22 12:13   ` Matthew Wilcox [this message]
2024-10-22 15:28     ` Edward Adam Davis

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=ZxeXBwLCsIwNYmlP@casper.infradead.org \
    --to=willy@infradead.org \
    --cc=brauner@kernel.org \
    --cc=eadavis@qq.com \
    --cc=guohui.study@gmail.com \
    --cc=jack@suse.cz \
    --cc=jfs-discussion@lists.sourceforge.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lizhi.xu@windriver.com \
    --cc=shaggy@kernel.org \
    --cc=syzkaller-bugs@googlegroups.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

all inboxes | Powered by JetHome®