public inbox for linux-ext4@vger.kernel.org
 help / color / mirror / Atom feed
From: Hillf Danton <hdanton@sina.com>
To: syzbot <syzbot+5abecb17ba9299033d79@syzkaller.appspotmail.com>
Cc: adilger.kernel@dilger.ca, linux-ext4@vger.kernel.org,
	linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com,
	Sebastian Andrzej Siewior <bigeasy@linutronix.de>,
	tytso@mit.edu
Subject: Re: [syzbot] [ext4?] WARNING: locking bug in get_page_from_freelist
Date: Mon, 25 Nov 2024 18:52:20 +0800	[thread overview]
Message-ID: <20241125105220.1566-1-hdanton@sina.com> (raw)
In-Reply-To: <6743e5af.050a0220.1cc393.0055.GAE@google.com>

On Sun, 24 Nov 2024 18:49:19 -0800
> syzbot has found a reproducer for the following issue on:
> 
> HEAD commit:    9f16d5e6f220 Merge tag 'for-linus' of git://git.kernel.org..
> git tree:       upstream
> syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=177ab75f980000

Test the idea [1]
[1] https://lore.kernel.org/lkml/20241122155451.Mb2pmeyJ@linutronix.de/

#syz test

--- x/mm/kasan/generic.c
+++ y/mm/kasan/generic.c
@@ -538,7 +538,7 @@ static void __kasan_record_aux_stack(voi
 		return;
 
 	alloc_meta->aux_stack[1] = alloc_meta->aux_stack[0];
-	alloc_meta->aux_stack[0] = kasan_save_stack(0, depot_flags);
+	alloc_meta->aux_stack[0] = kasan_save_stack(0, 0);
 }
 
 void kasan_record_aux_stack(void *addr)
--

  reply	other threads:[~2024-11-25 10:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-04 17:56 [syzbot] [ext4?] WARNING: locking bug in get_page_from_freelist syzbot
2024-11-25  2:49 ` syzbot
2024-11-25 10:52   ` Hillf Danton [this message]
2024-11-25 11:10     ` syzbot

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=20241125105220.1566-1-hdanton@sina.com \
    --to=hdanton@sina.com \
    --cc=adilger.kernel@dilger.ca \
    --cc=bigeasy@linutronix.de \
    --cc=linux-ext4@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=syzbot+5abecb17ba9299033d79@syzkaller.appspotmail.com \
    --cc=syzkaller-bugs@googlegroups.com \
    --cc=tytso@mit.edu \
    /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