Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp750654pxb; Wed, 27 Oct 2021 11:39:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwRsZ+vwS1mXPUZPYFo3jLUyWaSukDoVwvLveOiOdtb+mbo9g854d72qOJqv/jluZlXW4JO X-Received: by 2002:a17:906:c005:: with SMTP id e5mr40009591ejz.480.1635359987656; Wed, 27 Oct 2021 11:39:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635359987; cv=none; d=google.com; s=arc-20160816; b=dBOJp14Ua2OCy+KoaboW3ohLFq65SyOuDQ/so1v7OaNmbV7CEfwEra0l2rxTqqKNOz VSUW1xkhKpBNuIcBNcWUSU4Danc8O7zzEveuUyuvSQN51C0NIqhhX35eiPNLBazIlhyP ftzBx/hZ7yD1M1kvJhtmtFtF6CLFRviVbgIn+JVNzo6/gtGWqZc1Z4tk7iN8nGNt2ovs Rt89HV+cPm/Twoa46C55Dj7SrG5UEoaGBtUUuvB+1aS7Fv8sHj50M3usAMru7fgVUSS/ lnVUzY1y3U7IkGSWWIPqw2t9ozO4+ct1by3DZ1r0aoJaEc05CmCUXzF7STYjeJd1XQKu Pbpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=+DbhW314EmWGlap+YeCS5cDQceQCNE6F+RMcBvYpSBk=; b=D7bk6QfMJlYr4wkxUfy3Ay+trFDx6QzvPaBPVKXLX+d8zRarewhuvAZTTD+O5PGSSJ i8P5ZpL113cIzS+d2Ik3J9l29pqn+UgsJJrtZEMK0tXIpK/ozmvguSiUjYovwIsy7lxX PjLdw8acBU8+TC6JHWl/WNpQHsK0LSlec6NqrhVQc06Kp4DSTUXcBuqOXPZZGWDeWjQd UaV8du8n4Sjk3Mwyq/616tvzGgG28FDO3Y0RNJkS+QEAprLgR3DpQJ1cerGY9p9Qx2Vq qSbuFbCdMhiMiZ0KYL8Qnil6XNjFkMFgsA2w050kPQ48FYA1ZmXCLFDtpUpMkihehQcK cfWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="gL/f8+I3"; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id kz10si739780ejc.582.2021.10.27.11.38.50; Wed, 27 Oct 2021 11:39:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="gL/f8+I3"; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240436AbhJ0HWk (ORCPT + 99 others); Wed, 27 Oct 2021 03:22:40 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:47012 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240429AbhJ0HWg (ORCPT ); Wed, 27 Oct 2021 03:22:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1635319211; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=+DbhW314EmWGlap+YeCS5cDQceQCNE6F+RMcBvYpSBk=; b=gL/f8+I3t/GzJiN3Xfc8hz/F/D7/KGmIJ2bT+Ql5lkH7ddz4us/mHS5G3wrpHsEnLnr8iw GJGeD8RLIfTt/63lbzcqu5huHC+s3wrCAuf1vFDLb1W/Rd3MtAzdQt8BzbiuBKHte4Vb+U xP9jN9b9H2RLeisBVid0ibzPYziiOgo= Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-580-lQWKM5O9Pw2DcjyOdSuOWA-1; Wed, 27 Oct 2021 03:20:09 -0400 X-MC-Unique: lQWKM5O9Pw2DcjyOdSuOWA-1 Received: by mail-ed1-f72.google.com with SMTP id t18-20020a056402021200b003db9e6b0e57so1450809edv.10 for ; Wed, 27 Oct 2021 00:20:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=+DbhW314EmWGlap+YeCS5cDQceQCNE6F+RMcBvYpSBk=; b=tmUDTtoPnUOGvi0qSmwqzGs6Lr2V20J4MEEEbNOs71vn2YMEU9gRNF7vmyT/4Nlm3P Eww0OLbZmID1zxXOK9ehX0fGSZ2JtOxhhiz4SEc4Zt6+WIGangdqRlNbq+zdgJP/f6bV xro2Lb7hYM6zobCsRiSw513zyWDb+Cb9t4ffNYD4TDX+inPBTQQUNDWBvM1L++TLoqej BIS3ttaePJeRiTBMP9Fnkj/Yu0oOh9w+GA9DHRhrYb490yTTXri0v6MvPvtvR4b0QnNj mG82qSaeN4+6ZJO12vV+XEIc+EEueIgkGl54L/Qi3h+KgUYoZwn4tWU5JzU0TH6YmZ3d bSWw== X-Gm-Message-State: AOAM532h7K/6KCMLkoGi4N6aniE7kx5kTd4UfJVhbEO0x+TeLZykjOkm fQy9XviIHV9j5gm/IeATBs+QNiAe9O3aK1HIZIS6/K2S1kyXKXIXjSB8VkC7+ds+dv/yPnA0gjV YzoSj3ngdepkK3mPR6XaKLZef X-Received: by 2002:a17:906:4f8c:: with SMTP id o12mr36638846eju.115.1635319208801; Wed, 27 Oct 2021 00:20:08 -0700 (PDT) X-Received: by 2002:a17:906:4f8c:: with SMTP id o12mr36638822eju.115.1635319208614; Wed, 27 Oct 2021 00:20:08 -0700 (PDT) Received: from redhat.com ([2a03:c5c0:207e:a543:72f:c4d1:8911:6346]) by smtp.gmail.com with ESMTPSA id e13sm10143344eje.95.2021.10.27.00.20.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Oct 2021 00:20:08 -0700 (PDT) Date: Wed, 27 Oct 2021 03:20:02 -0400 From: "Michael S. Tsirkin" To: Laurent Vivier Cc: Eric Dumazet , syzbot , davem@davemloft.net, herbert@gondor.apana.org.au, jiri@nvidia.com, kuba@kernel.org, leonro@nvidia.com, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, mpm@selenic.com, netdev@vger.kernel.org, syzkaller-bugs@googlegroups.com Subject: Re: [syzbot] KASAN: slab-out-of-bounds Read in copy_data Message-ID: <20211027031847-mutt-send-email-mst@kernel.org> References: <000000000000a4cd2105cf441e76@google.com> <6c7e48b9-5204-352f-18e7-26b13d70f966@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6c7e48b9-5204-352f-18e7-26b13d70f966@redhat.com> Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Wed, Oct 27, 2021 at 09:08:04AM +0200, Laurent Vivier wrote: > On 27/10/2021 00:34, Eric Dumazet wrote: > > > > > > On 10/26/21 9:39 AM, syzbot wrote: > > > Hello, > > > > > > syzbot found the following issue on: > > > > > > HEAD commit: 9ae1fbdeabd3 Add linux-next specific files for 20211025 > > > git tree: linux-next > > > console output: https://syzkaller.appspot.com/x/log.txt?x=1331363cb00000 > > > kernel config: https://syzkaller.appspot.com/x/.config?x=aeb17e42bc109064 > > > dashboard link: https://syzkaller.appspot.com/bug?extid=b86736b5935e0d25b446 > > > compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 > > > syz repro: https://syzkaller.appspot.com/x/repro.syz?x=116ce954b00000 > > > C reproducer: https://syzkaller.appspot.com/x/repro.c?x=132fcf62b00000 > > > > > > The issue was bisected to: > > > > > > commit 22849b5ea5952d853547cc5e0651f34a246b2a4f > > > Author: Leon Romanovsky > > > Date: Thu Oct 21 14:16:14 2021 +0000 > > > > > > devlink: Remove not-executed trap policer notifications > > > > More likely this came with > > > > caaf2874ba27b92bca6f0298bf88bad94067ec37 hwrng: virtio - don't waste entropy > > > > I'm going to have a look. > > Thanks, > Laurent How bad is it if we just drop this and waste some bytes of entropy? -- MST