From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail115-79.sinamail.sina.com.cn (mail115-79.sinamail.sina.com.cn [218.30.115.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7B4FE2500B5 for ; Mon, 25 Nov 2024 10:52:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=218.30.115.79 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732531966; cv=none; b=nlApFoCqr3UbqhhaYotj3IT37Kga9SahERtkWMfDSGxkuWk2bgZdQGFWIMqxZwmgxcar7HQE9uAB0KFLgyvMY5Jvm3MgrTSbrzPa4ny5h5ISsl086mK+RpUih62753rf72BIh1sqCpyq9DwX/7/PRMG33+AjjUGjI+Kufi8aOtk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1732531966; c=relaxed/simple; bh=0ID34OV2cxjnjPpNIv6Pze02a0yYp8TnSEA4zPf8W48=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=J1HROZaHgQQdN+M8uq63NMY/EyXE5CnxqeLpQ0+q5D0BzCP20IsX2rHzCMZgK2HMxlxsa8Gfvj33ZrpRqmxNWvr53ceYPztnXX8fIzGfnAiSUzAzZwumbRk4vp2uQwzM1Vc+VDjJcxDx8mZ3PdL9uqzJkq7H4VTLsHFnTXwzzOg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sina.com; spf=pass smtp.mailfrom=sina.com; arc=none smtp.client-ip=218.30.115.79 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=sina.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=sina.com X-SMAIL-HELO: localhost.localdomain Received: from unknown (HELO localhost.localdomain)([113.88.48.110]) by sina.com (10.185.250.22) with ESMTP id 674456EC00001EC0; Mon, 25 Nov 2024 18:52:32 +0800 (CST) X-Sender: hdanton@sina.com X-Auth-ID: hdanton@sina.com Authentication-Results: sina.com; spf=none smtp.mailfrom=hdanton@sina.com; dkim=none header.i=none; dmarc=none action=none header.from=hdanton@sina.com X-SMAIL-MID: 8749497602596 X-SMAIL-UIID: 89358ED7F56A4D449A108EDC536286F9-20241125-185232-1 From: Hillf Danton To: syzbot Cc: adilger.kernel@dilger.ca, linux-ext4@vger.kernel.org, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com, Sebastian Andrzej Siewior , tytso@mit.edu Subject: Re: [syzbot] [ext4?] WARNING: locking bug in get_page_from_freelist Date: Mon, 25 Nov 2024 18:52:20 +0800 Message-Id: <20241125105220.1566-1-hdanton@sina.com> In-Reply-To: <6743e5af.050a0220.1cc393.0055.GAE@google.com> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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) --