Received: by 2002:ac0:a591:0:0:0:0:0 with SMTP id m17-v6csp1907942imm; Fri, 6 Jul 2018 08:32:17 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfuS7n1dKiNHHd3R3ySTBwbYsB3wmsaq0kitIgFvwysHr0Eqq2KnaSH0rff2H8rAYovMI6G X-Received: by 2002:a62:dc8f:: with SMTP id c15-v6mr11119017pfl.155.1530891137350; Fri, 06 Jul 2018 08:32:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530891137; cv=none; d=google.com; s=arc-20160816; b=D+8O93nnJS0KdR+floRyg9Cpxy11lT13/nQBYBna9iKm46i2kAO/pGhGxhVGk14xlG ZKb81WsrGC4MxksPZ1movwXtpli6lGMuGosRkh44m9dHAtFUrLbB0upYSbmR0Fph2BUm wSqhmjXJLcXFei4OAb2ciHUWM0E2SVdm8goxBe0pANXan+T418XmspkM1A4Ya6T0/gSR ppvEOGuZlbmswAZmzGVCmzObvuHEgyy4ivORhitEUYOPvkhLO5gLQuGf5102CdxTxgv/ 8xVmcSqKNorTiZE4IZrcKg5Tt72V6VGXtdDKTnJTwYdrJ/iQomWzrqLqjaxOuXIGdRMi 6FPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=LDujMWZp7PHk69vGoFw7CDykH0eur5Nn251wZvxbjN0=; b=vf1MFyuD9FlHlU8U+rCWUZPaHrfFXhbaNKqKISBYfA1HjQKXfgqm/N1O9FrKTBQ82V l0zP4t9DYjOaI96gxAyIxidyTpJWdUwGka7U/oJzucXl2KX6AWOygX9+24OqZ1k4eybk b/zWX5mpdMK3IjiwySWXNuXSWjzsGa4rpP0DcKJMwL3YIiw/Zepv0/LTM+98Th3zS9kX hOXepMXlQawsu8LNVcA687IAIkIGgeO9+bmFeUE8S0agsYlBfF1q1ZCJ+dgAM5kVL8Hq 4CFqMm9feFsgEhChyGI4pMSArT1R/7zUtiLT7rY6e5HTxcEahwWS3H4m4j994ryItUnX bHWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=TE0bXSLT; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y11-v6si8207208plg.301.2018.07.06.08.32.02; Fri, 06 Jul 2018 08:32:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=TE0bXSLT; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754135AbeGFPao (ORCPT + 99 others); Fri, 6 Jul 2018 11:30:44 -0400 Received: from mail-pf0-f195.google.com ([209.85.192.195]:46149 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753900AbeGFPam (ORCPT ); Fri, 6 Jul 2018 11:30:42 -0400 Received: by mail-pf0-f195.google.com with SMTP id l123-v6so8729405pfl.13 for ; Fri, 06 Jul 2018 08:30:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=LDujMWZp7PHk69vGoFw7CDykH0eur5Nn251wZvxbjN0=; b=TE0bXSLT/8ErDyM+fcoHqD+IzYO1R7ZIXl21ieAYA4XEwMrr/j4FzQDbAoj2/0FMNB Gd6xZpYSKrWawhlrAWq8rAiSa5Qr3rWPzPSXvhsptGRvBczju+km3b3LoEXTh90h4Nxc DJCCDfsBovs4fPscMAjo1q61VHU9O/3ANc3dhOdf9FvwbCbnOyl/VcLch101yw9glfEC C3AaSeNO4WnEO7TE9OmYetBuToyAvUNQkFE4kWYG/sCjJ12GtBa+Z2Cm+U5FruSyYz5o fJ85x3jRy9yfYfVx8Qrtbz4jAYqM51x4kxx419ZuwNxebvozG2j+HrurswBiHOKu7FS3 5glQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=LDujMWZp7PHk69vGoFw7CDykH0eur5Nn251wZvxbjN0=; b=IBwLOMemtHqqKNjloBzNpUIrVosoDpphK1szpXjyNWGjLKqR5B/d9XdYzi3PKd/k7b CiMbqBpbMnTHMPVah+VtwdYJ4WP5e6VAPU+f2A1QROzIc5gWuPgBMIkpQUtBc84eN2Og LuLwI0uaJhDwKrAIMRtdegZ1q2rEb4MpGZdBGmCdzDZo1aCzxKiTRcmARjJ4nY9Scee9 VOw39FZ7vM3VtM/sKHPqHbLZTTc3/lWa1Gi4YZtbM0Uw29MxwSS4eeP+hlKOqgrcR+ur 0AfUCPeSrm2ltS3EXHr6ZgnBGDst7uz6Xb6ScTM8oERh8jI6eC13BXF051pPnl4i5mcB +huA== X-Gm-Message-State: APt69E0G2NMaRdMDLbcX1zasYNe8fIrX6Jnd0bqavgaN/7AFaF1hS/kO UqkOXcNf0fbCWeQfdqaSvlZUDMVIlCejwEVkRFP+120g1b4= X-Received: by 2002:a62:9652:: with SMTP id c79-v6mr11160727pfe.114.1530891041014; Fri, 06 Jul 2018 08:30:41 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a17:90a:950a:0:0:0:0 with HTTP; Fri, 6 Jul 2018 08:30:20 -0700 (PDT) In-Reply-To: References: <1616306.R4SzcgHSdy@positron.chronox.de> <000000000000363e2e0570502d42@google.com> From: Dmitry Vyukov Date: Fri, 6 Jul 2018 17:30:20 +0200 Message-ID: Subject: Re: KMSAN: uninit-value in af_alg_free_areq_sgls To: syzbot Cc: LKML , Stephan Mueller , syzkaller-bugs Content-Type: multipart/mixed; boundary="000000000000b1572a05705658d8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --000000000000b1572a05705658d8 Content-Type: text/plain; charset="UTF-8" On Fri, Jul 6, 2018 at 10:19 AM, Dmitry Vyukov wrote: > On Fri, Jul 6, 2018 at 10:09 AM, syzbot > wrote: >> Hello, >> >> syzbot tried to test the proposed patch but build/boot failed: >> >> lost connection to test machine > > Looking into this. Should be fixed now, let's try again: #syz test: https://github.com/google/kmsan.git master >> [....] Starting enhanced syslogd: rsyslogd [?25l [?1c 7 [1G[ [32m ok [39;49m >> 8 [?25h [?0c. >> [....] Starting periodic command scheduler: cron [?25l [?1c 7 [1G[ [32m ok >> [39;49m 8 [?25h [?0c. >> [....] Starting OpenBSD Secure Shell server: sshd[ 21.709280] random: >> sshd: uninitialized urandom read (32 bytes read) >> [?25l [?1c 7 [1G[ [32m ok [39;49m 8 [?25h [?0c. >> >> Debian GNU/Linux 7 syzkaller ttyS0 >> >> syzkaller login: [ 26.229113] random: sshd: uninitialized urandom read (32 >> bytes read) >> [ 26.532843] random: sshd: uninitialized urandom read (32 bytes read) >> [ 27.787277] random: sshd: uninitialized urandom read (32 bytes read) >> Warning: Permanently added '10.128.0.2' (ECDSA) to the list of known hosts. >> [ 33.299368] random: sshd: uninitialized urandom read (32 bytes read) >> flag provided but not defined: -os >> Usage of ./syz-fuzzer: >> -abort_signal int >> initial signal to send to executor in error conditions; upgrades to >> SIGKILL if executor does not exit >> -arch string >> target arch (default "amd64") >> -buffer_size uint >> internal buffer size (in bytes) for executor output >> -collide >> collide syscalls to provoke data races (default true) >> -cover >> collect feedback signals (coverage) >> -debug >> debug output from executor >> -executor string >> path to executor binary (default "./syz-executor") >> -ipc string >> ipc scheme (pipe/shmem) >> -leak >> detect memory leaks >> -manager string >> manager rpc address >> -name string >> unique name for manager (default "test") >> -output string >> write programs to none/stdout/dmesg/file (default "stdout") >> -pprof string >> address to serve pprof profiles >> -procs int >> number of parallel test processes (default 1) >> -sandbox string >> sandbox for fuzzing (none/setuid/namespace) (default "none") >> -test >> enable image testing mode >> -threaded >> use threaded mode in executor (default true) >> -timeout duration >> execution timeout >> -v int >> verbosity >> >> >> >> Tested on: >> >> commit: 9c9df9f275f0 kmsan: remove kmsan_threads_ready >> git tree: https://github.com/google/kmsan.git/master >> kernel config: https://syzkaller.appspot.com/x/.config?x=b11f4cfb262ee607 >> compiler: clang version 7.0.0 (trunk 334104) >> patch: https://syzkaller.appspot.com/x/patch.diff?x=16a5af84400000 >> >> -- >> You received this message because you are subscribed to the Google Groups >> "syzkaller-bugs" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to syzkaller-bugs+unsubscribe@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/syzkaller-bugs/000000000000363e2e0570502d42%40google.com. >> >> For more options, visit https://groups.google.com/d/optout. --000000000000b1572a05705658d8 Content-Type: text/x-patch; charset="US-ASCII"; name="alg.patch" Content-Disposition: attachment; filename="alg.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_jja4z8ay0 LS0tIGEvY3J5cHRvL2FmX2FsZy5jCisrKyBiL2NyeXB0by9hZl9hbGcuYwpAQCAtMTE0OCw4ICsx MTQ4LDEwIEBAIGludCBhZl9hbGdfZ2V0X3JzZ2woc3RydWN0IHNvY2sgKnNrLCBzdHJ1Y3QgbXNn aGRyICptc2csIGludCBmbGFncywKIAogCQkvKiBtYWtlIG9uZSBpb3ZlYyBhdmFpbGFibGUgYXMg c2NhdHRlcmxpc3QgKi8KIAkJZXJyID0gYWZfYWxnX21ha2Vfc2coJnJzZ2wtPnNnbCwgJm1zZy0+ bXNnX2l0ZXIsIHNlZ2xlbik7Ci0JCWlmIChlcnIgPCAwKQorCQlpZiAoZXJyIDwgMCkgeworCQkJ cnNnbC0+c2dfbnVtX2J5dGVzID0gMDsKIAkJCXJldHVybiBlcnI7CisJCX0KIAogCQkvKiBjaGFp biB0aGUgbmV3IHNjYXR0ZXJsaXN0IHdpdGggcHJldmlvdXMgb25lICovCiAJCWlmIChhcmVxLT5s YXN0X3JzZ2wpCg== --000000000000b1572a05705658d8--