lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241003105934.1979-1-hdanton@sina.com>
Date: Thu,  3 Oct 2024 18:59:34 +0800
From: Hillf Danton <hdanton@...a.com>
To: syzbot <syzbot+b7a3118f6a494674077f@...kaller.appspotmail.com>
Cc: linux-kernel@...r.kernel.org,
	syzkaller-bugs@...glegroups.com
Subject: Re: [syzbot] [mm?] BUG: corrupted list in do_compact_page

On Wed, 02 Oct 2024 22:22:24 -0700
> syzbot has found a reproducer for the following issue on:
> 
> HEAD commit:    f23aa4c0761a Merge tag 'hid-for-linus-2024090201' of git:/..
> git tree:       upstream
> syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=174ab580580000

#syz test

--- x/mm/z3fold.c
+++ y/mm/z3fold.c
@@ -1351,8 +1351,11 @@ static void z3fold_page_putback(struct p
 	pool = zhdr_to_pool(zhdr);
 
 	z3fold_page_lock(zhdr);
-	if (!list_empty(&zhdr->buddy))
+	if (!list_empty(&zhdr->buddy)) {
+		spin_lock(&pool->lock);
 		list_del_init(&zhdr->buddy);
+		spin_unlock(&pool->lock);
+	}
 	INIT_LIST_HEAD(&page->lru);
 	if (put_z3fold_locked(zhdr))
 		return;
--

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ