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: <20241101235205.2735-1-hdanton@sina.com>
Date: Sat,  2 Nov 2024 07:52:05 +0800
From: Hillf Danton <hdanton@...a.com>
To: syzbot <syzbot+71abe7ab2b70bca770fd@...kaller.appspotmail.com>
Cc: linux-kernel@...r.kernel.org,
	syzkaller-bugs@...glegroups.com
Subject: Re: [syzbot] [net?] general protection fault in put_page (3)

On Fri, 01 Nov 2024 10:44:24 -0700
> syzbot found the following issue on:
> 
> HEAD commit:    f9f24ca362a4 Add linux-next specific files for 20241031
> git tree:       linux-next
> C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=153e5540580000

#syz test

--- x/lib/iov_iter.c
+++ y/lib/iov_iter.c
@@ -1727,6 +1727,10 @@ static ssize_t iov_iter_extract_bvec_pag
 
 		(*pages)[k++] = bv.bv_page;
 		size += bv.bv_len;
+		if (size > maxsize) {
+			size = maxsize;
+			break;
+		}
 
 		if (k >= maxpages)
 			break;
--

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ