From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932365AbdJZPFA (ORCPT ); Thu, 26 Oct 2017 11:05:00 -0400 Received: from imap.thunk.org ([74.207.234.97]:33620 "EHLO imap.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932211AbdJZPE7 (ORCPT ); Thu, 26 Oct 2017 11:04:59 -0400 Date: Thu, 26 Oct 2017 11:04:45 -0400 From: "Theodore Ts'o" To: Chen Feng Cc: Greg KH , zhaoyukun@huawei.com, arnd@arndb.de, linux-kernel@vger.kernel.org, suzhuangluan@hisilicon.com, dan.zhao@hisilicon.com Subject: Re: [PATCH RFC] random: fix syzkaller fuzzer test int overflow Message-ID: <20171026150445.s3rxcy4btlisdu5q@thunk.org> Mail-Followup-To: Theodore Ts'o , Chen Feng , Greg KH , zhaoyukun@huawei.com, arnd@arndb.de, linux-kernel@vger.kernel.org, suzhuangluan@hisilicon.com, dan.zhao@hisilicon.com References: <1508831057-64195-1-git-send-email-puck.chen@hisilicon.com> <20171024090927.GA20625@kroah.com> <20171024102528.7oywdwjriesoh3mk@thunk.org> <59F02FA0.7090605@hisilicon.com> <20171025065646.GA13386@kroah.com> <59F03887.7020700@hisilicon.com> <20171025084926.mpdec34mog3xcocz@thunk.org> <59F19BEB.7090100@hisilicon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <59F19BEB.7090100@hisilicon.com> User-Agent: NeoMutt/20170609 (1.8.3) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: tytso@thunk.org X-SA-Exim-Scanned: No (on imap.thunk.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 26, 2017 at 04:25:15PM +0800, Chen Feng wrote: > > > On 2017/10/25 16:49, Theodore Ts'o wrote: > > Other people who have sent me fuzzer test reproducers are able to > > reproduce syzkaller logs into a simple C program. Can you explain to > > me what the heck: > > > >> r3 = syz_open_dev$urandom(&(0x7f000000a000)="2f6465762f7572616e646f6d00", 0x0, 0x0) > > > > means? > > Take a look at this: > > https://github.com/google/syzkaller/blob/master/sys/linux/random.txt Sorry, this *still* looks like gobbledygook. What ioctls are you executing, and with what arguments? *Please*, give me a C program I can compile. -Ted