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: <tencent_1C33E69E051B5B4B211B972571BA1CBB1C08@qq.com>
Date: Tue, 25 Feb 2025 16:37:02 +0800
From: Edward Adam Davis <eadavis@...com>
To: syzbot+556fda2d78f9b0daa141@...kaller.appspotmail.com
Cc: linux-kernel@...r.kernel.org,
	syzkaller-bugs@...glegroups.com
Subject: Re: [syzbot] [io-uring?] [mm?] general protection fault in lock_vma_under_rcu

#syz test

diff --git a/mm/memory.c b/mm/memory.c
index d5c4f932b399..a5b1832ec8f6 100644
--- a/mm/memory.c
+++ b/mm/memory.c
@@ -6492,8 +6492,7 @@ struct vm_area_struct *lock_vma_under_rcu(struct mm_struct *mm,
 	if (!vma)
 		goto inval;
 
-	vma = vma_start_read(mm, vma);
-	if (IS_ERR_OR_NULL(vma)) {
+	if (IS_ERR_OR_NULL(vma_start_read(mm, vma))) {
 		/* Check if the VMA got isolated after we found it */
 		if (PTR_ERR(vma) == -EAGAIN) {
 			count_vm_vma_lock_event(VMA_LOCK_MISS);


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ