Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp614420lqp; Thu, 21 Mar 2024 10:14:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV24Nh6MM80JDzUkhvGjowimnMbfMQ61Oaa8e5ZhB8JonTOtc2bXaSN4xFs4jLWUunTzhVXobpQLR0xx6ROCOmumfF5aG37UqMpQwza6w== X-Google-Smtp-Source: AGHT+IEJX8eZmWOyAmVkKNoAA5UM3aQezSiEd1XQlPGzM/Rtx7vpxSMFmjwchJhyFHghjv+d8aWA X-Received: by 2002:a17:906:f1d9:b0:a46:7c9c:10d0 with SMTP id gx25-20020a170906f1d900b00a467c9c10d0mr28742ejb.23.1711041249338; Thu, 21 Mar 2024 10:14:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711041249; cv=pass; d=google.com; s=arc-20160816; b=0hX4xw6nfdgFrj92+9kJfaBTb5iSVA+KVPNpizEzd1bm+ry0+hm7zxWXh9S9fgCOGd 8XSLRePIyxkv53IsPXQ87FXC9FL7x+iQYjbc4lJohctIOANEOvWTf0AfMY/QhDoho217 mMxbSqhzNzMGLpzdf63Zud5LFTdUE1eOkUZRdeBMuHCXgOy+KgMm2FT5XgnImyTCQ8b5 ADRLW60Hf3HjswCMrnZaSjcci9km+/kwmhT90kR4L5pX74H4F9RiMOWABRATHB46nh31 XVOgPtlNtsVplUbO036A1BGQM/DrbfTe58OHmSxQvQySU7R1ehLTcroVNX1X3QC2HA7z IVfA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=gp+NuSO3lZuFLMph9xN8YJxUe6kqPYQSzIHGlSWs0zY=; fh=jwhzcYagdc9GL7I8wdMh9RH91dWUxWcc/JgVah6gWco=; b=qXBZ37khgGkBffBpLRZ7NTg0vFMu/j/eEalRfax/3TmW4IPbBe4dINYk1f1dP39u+e l2n+/+KluwSVrioYcetZylLW18SH1Nl/IqKO1UwDkjs1EY6zDagkODO6aklOYhlbgO/S vgsM5Yp+aEblWRx9iBLbOOuOgML5gz4XxVZilEzj2cWfX/TicDGrS/nB4LOZM645Bhj/ /HnXNR30GRMzm4XGZciZSehgIS6BDFthV71x3541LOJYk0ItmJJCFyblJy+JEgrUpInl 60VWY2RF/j6LKfXS53r9K/xqzRJUq1c0zOTsvfNlrNRG9B+1SgKVGd+57ojDHMg3vS7J C/Cw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=I6D6QseN; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-110470-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-110470-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id c9-20020a1709060fc900b00a46cc196cdesi110601ejk.247.2024.03.21.10.14.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Mar 2024 10:14:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-110470-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=I6D6QseN; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-110470-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-110470-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id DFF5D1F227A4 for ; Thu, 21 Mar 2024 17:14:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D2C8214010; Thu, 21 Mar 2024 17:14:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="I6D6QseN" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AEFDE14293 for ; Thu, 21 Mar 2024 17:13:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711041239; cv=none; b=OYxbrM0f1ZPyJI0LS8fNtghGkEi9aydg+RFr7r1i+Hszoav3v3vbHVP0WmP6KtTXlPqA1gvoIxb5glgilaIhhn4+at8oqutG0Iq8LsvmMpJJL7qgzIyGotYtWHOF7HnE4kKN+HY48OGCNHioLaIDWAYJM2Yfmop4pXeTrBD0Rtg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711041239; c=relaxed/simple; bh=g7nD81ZAsxDJOQKjQGwpeDGNrHHTqPd59eXkbmk1AE0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=L5JdTqxGdlHFLdAHZQ1gCa7zX0BcuUrRJJKDDrdw2ayUTowRFeVKktGZN8Ij02uhMQhMDQNn1s6IZUP+kbhmoAf7HrBNsfjaohGEluW3NpxxaOqJrfivts6BW1evHx4Iy7VqGSh0g3fTOeWsVrYZBarP8XDZw0tOIBYUggtbhVA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=I6D6QseN; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1711041235; 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=gp+NuSO3lZuFLMph9xN8YJxUe6kqPYQSzIHGlSWs0zY=; b=I6D6QseNj/P+MecJQrGfNvwwbDnAzzfRWZtpJfIQFr9zl2QdpgPAjOYpchnSC779QIaa3j WobxMm2MI2qU2aZrqp72wlKF3pcfno3jiAvlaErQRhvh8cEjj9HuiW4c4pJOTbQAUUv517 JoSY9I4D9hQOMgEA7hEFyBoJ6KZjZg8= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-625-d7GanY_gN9ClBIccWW8yeg-1; Thu, 21 Mar 2024 13:13:50 -0400 X-MC-Unique: d7GanY_gN9ClBIccWW8yeg-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 6E7C5101A526; Thu, 21 Mar 2024 17:13:49 +0000 (UTC) Received: from localhost (unknown [10.39.194.39]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3AFEA2022977; Thu, 21 Mar 2024 17:13:47 +0000 (UTC) Date: Thu, 21 Mar 2024 13:13:42 -0400 From: Stefan Hajnoczi To: osalvador@suse.de Cc: jasowang@redhat.com, linux-kernel@vger.kernel.org, michael.christie@oracle.com, mst@redhat.com, osalvador@suse.de, pbonzini@redhat.com, syzkaller-bugs@googlegroups.com, virtualization@lists.linux.dev, xuanzhuo@linux.alibaba.com, syzbot Subject: Re: [syzbot] [virtualization?] upstream boot error: WARNING: refcount bug in __free_pages_ok Message-ID: <20240321171342.GA1537715@fedora> References: <20240321120722.GC1465092@fedora> <00000000000041255406142db082@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="iICuSwrClyv9HSfg" Content-Disposition: inline In-Reply-To: <00000000000041255406142db082@google.com> X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.4 --iICuSwrClyv9HSfg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 21, 2024 at 08:52:03AM -0700, syzbot wrote: > Hello, >=20 > syzbot tried to test the proposed patch but the build/boot failed: >=20 > bcore: registered new interface driver viperboard > [ 7.297712][ T1] usbcore: registered new interface driver dln2 > [ 7.299149][ T1] usbcore: registered new interface driver pn533_usb > [ 7.304759][ T924] kworker/u4:1 (924) used greatest stack depth: 2276= 8 bytes left > [ 7.308971][ T1] nfcsim 0.2 initialized > [ 7.310068][ T1] usbcore: registered new interface driver port100 > [ 7.311312][ T1] usbcore: registered new interface driver nfcmrvl > [ 7.318405][ T1] Loading iSCSI transport class v2.0-870. > [ 7.334687][ T1] virtio_scsi virtio0: 1/0/0 default/read/poll queues > [ 7.344927][ T1] ------------[ cut here ]------------ > [ 7.345739][ T1] refcount_t: decrement hit 0; leaking memory. This confirms that the following commit introduced this issue: commit 217b2119b9e260609958db413876f211038f00ee Author: Oscar Salvador Date: Thu Feb 15 22:59:04 2024 +0100 mm,page_owner: implement the tracking of the stacks count Mike: thanks for pointing out the fix that Oscar is working on! Oscar: Please add the syzbot trailer to the next revision of your "[PATCH v2 0/2] page_owner: Refcount fixups" series so this issue can be closed. > [ 7.346982][ T1] WARNING: CPU: 0 PID: 1 at lib/refcount.c:31 refcou= nt_warn_saturate+0xfa/0x1d0 > [ 7.348761][ T1] Modules linked in: > [ 7.349418][ T1] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 6.8.0-rc= 5-syzkaller-00257-g217b2119b9e2 #0 > [ 7.351070][ T1] Hardware name: Google Google Compute Engine/Google= Compute Engine, BIOS Google 02/29/2024 > [ 7.352824][ T1] RIP: 0010:refcount_warn_saturate+0xfa/0x1d0 > [ 7.353979][ T1] Code: b2 00 00 00 e8 97 2d fc fc 5b 5d c3 cc cc cc= cc e8 8b 2d fc fc c6 05 0d d9 d6 0a 01 90 48 c7 c7 a0 46 fd 8b e8 e7 2c c0= fc 90 <0f> 0b 90 90 eb d9 e8 6b 2d fc fc c6 05 ea d8 d6 0a 01 90 48 c7 c7 > [ 7.358181][ T1] RSP: 0000:ffffc90000066e10 EFLAGS: 00010246 > [ 7.360206][ T1] RAX: 67b097fa09053300 RBX: ffff88814073377c RCX: f= fff8880166c0000 > [ 7.362234][ T1] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0= 000000000000000 > [ 7.363496][ T1] RBP: 0000000000000004 R08: ffffffff81589d62 R09: 1= ffff9200000cd14 > [ 7.365139][ T1] R10: dffffc0000000000 R11: fffff5200000cd15 R12: f= fffea000501edc0 > [ 7.366612][ T1] R13: ffffea000501edc8 R14: 1ffffd4000a03db9 R15: 0= 000000000000000 > [ 7.368171][ T1] FS: 0000000000000000(0000) GS:ffff8880b9400000(00= 00) knlGS:0000000000000000 > [ 7.370111][ T1] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > [ 7.371030][ T1] CR2: ffff88823ffff000 CR3: 000000000df34000 CR4: 0= 0000000003506f0 > [ 7.372121][ T1] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0= 000000000000000 > [ 7.373506][ T1] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0= 000000000000400 > [ 7.374889][ T1] Call Trace: > [ 7.375371][ T1] > [ 7.375798][ T1] ? __warn+0x162/0x4b0 > [ 7.376442][ T1] ? refcount_warn_saturate+0xfa/0x1d0 > [ 7.377482][ T1] ? report_bug+0x2b3/0x500 > [ 7.378161][ T1] ? refcount_warn_saturate+0xfa/0x1d0 > [ 7.379268][ T1] ? handle_bug+0x3e/0x70 > [ 7.379887][ T1] ? exc_invalid_op+0x1a/0x50 > [ 7.380563][ T1] ? asm_exc_invalid_op+0x1a/0x20 > [ 7.381253][ T1] ? __warn_printk+0x292/0x360 > [ 7.381912][ T1] ? refcount_warn_saturate+0xfa/0x1d0 > [ 7.382752][ T1] __free_pages_ok+0xc36/0xd60 > [ 7.384180][ T1] make_alloc_exact+0xc4/0x140 > [ 7.385037][ T1] vring_alloc_queue_split+0x20a/0x600 > [ 7.386037][ T1] ? __pfx_vring_alloc_queue_split+0x10/0x10 > [ 7.387029][ T1] ? vp_find_vqs+0x4c/0x4e0 > [ 7.387719][ T1] ? virtscsi_probe+0x3ea/0xf60 > [ 7.388408][ T1] ? virtio_dev_probe+0x991/0xaf0 > [ 7.389665][ T1] ? really_probe+0x29e/0xc50 > [ 7.390429][ T1] ? driver_probe_device+0x50/0x430 > [ 7.391176][ T1] vring_create_virtqueue_split+0xc6/0x310 > [ 7.392014][ T1] ? ret_from_fork+0x4b/0x80 > [ 7.392800][ T1] ? __pfx_vring_create_virtqueue_split+0x10/0x10 > [ 7.394115][ T1] vring_create_virtqueue+0xca/0x110 > [ 7.395151][ T1] ? __pfx_vp_notify+0x10/0x10 > [ 7.395888][ T1] ? __pfx_virtscsi_ctrl_done+0x10/0x10 > [ 7.396674][ T1] setup_vq+0xe9/0x2d0 > [ 7.397283][ T1] ? __pfx_vp_notify+0x10/0x10 > [ 7.397938][ T1] ? __pfx_virtscsi_ctrl_done+0x10/0x10 > [ 7.398806][ T1] ? __pfx_virtscsi_ctrl_done+0x10/0x10 > [ 7.399938][ T1] ? __pfx_virtscsi_ctrl_done+0x10/0x10 > [ 7.400951][ T1] vp_setup_vq+0xbf/0x330 > [ 7.401889][ T1] ? __pfx_vp_config_changed+0x10/0x10 > [ 7.403092][ T1] ? ioread16+0x2f/0x90 > [ 7.403909][ T1] ? __pfx_virtscsi_ctrl_done+0x10/0x10 > [ 7.405136][ T1] vp_find_vqs_msix+0x8b2/0xc80 > [ 7.405892][ T1] vp_find_vqs+0x4c/0x4e0 > [ 7.406823][ T1] virtscsi_init+0x8db/0xd00 > [ 7.407669][ T1] ? __pfx_virtscsi_init+0x10/0x10 > [ 7.408413][ T1] ? __pfx_default_calc_sets+0x10/0x10 > [ 7.409369][ T1] ? scsi_host_alloc+0xa57/0xea0 > [ 7.410333][ T1] ? vp_get+0xfd/0x140 > [ 7.410899][ T1] virtscsi_probe+0x3ea/0xf60 > [ 7.411673][ T1] ? __pfx_virtscsi_probe+0x10/0x10 > [ 7.412520][ T1] ? kernfs_add_one+0x159/0x8b0 > [ 7.413222][ T1] ? virtio_no_restricted_mem_acc+0x9/0x10 > [ 7.414081][ T1] ? virtio_features_ok+0x10c/0x270 > [ 7.414875][ T1] virtio_dev_probe+0x991/0xaf0 > [ 7.415574][ T1] ? __pfx_virtio_dev_probe+0x10/0x10 > [ 7.416501][ T1] really_probe+0x29e/0xc50 > [ 7.417330][ T1] __driver_probe_device+0x1a2/0x3e0 > [ 7.418134][ T1] driver_probe_device+0x50/0x430 > [ 7.418922][ T1] __driver_attach+0x45f/0x710 > [ 7.419731][ T1] ? __pfx___driver_attach+0x10/0x10 > [ 7.420653][ T1] bus_for_each_dev+0x239/0x2b0 > [ 7.421541][ T1] ? __pfx___driver_attach+0x10/0x10 > [ 7.422345][ T1] ? __pfx_bus_for_each_dev+0x10/0x10 > [ 7.423094][ T1] ? do_raw_spin_unlock+0x13b/0x8b0 > [ 7.423964][ T1] bus_add_driver+0x347/0x620 > [ 7.424702][ T1] driver_register+0x23a/0x320 > [ 7.425353][ T1] ? __pfx_virtio_scsi_init+0x10/0x10 > [ 7.426126][ T1] virtio_scsi_init+0x65/0xe0 > [ 7.426855][ T1] ? __pfx_virtio_scsi_init+0x10/0x10 > [ 7.427617][ T1] do_one_initcall+0x238/0x830 > [ 7.428285][ T1] ? __pfx_virtio_scsi_init+0x10/0x10 > [ 7.429095][ T1] ? __pfx_do_one_initcall+0x10/0x10 > [ 7.430084][ T1] ? lockdep_hardirqs_on_prepare+0x43c/0x780 > [ 7.431238][ T1] ? __pfx_parse_args+0x10/0x10 > [ 7.431953][ T1] ? do_initcalls+0x1c/0x80 > [ 7.432616][ T1] ? rcu_is_watching+0x15/0xb0 > [ 7.433413][ T1] do_initcall_level+0x157/0x210 > [ 7.434175][ T1] do_initcalls+0x3f/0x80 > [ 7.434918][ T1] kernel_init_freeable+0x42f/0x5d0 > [ 7.435664][ T1] ? __pfx_kernel_init_freeable+0x10/0x10 > [ 7.436745][ T1] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 > [ 7.437747][ T1] ? __pfx_kernel_init+0x10/0x10 > [ 7.438487][ T1] ? __pfx_kernel_init+0x10/0x10 > [ 7.439268][ T1] ? __pfx_kernel_init+0x10/0x10 > [ 7.439947][ T1] kernel_init+0x1d/0x2b0 > [ 7.440600][ T1] ret_from_fork+0x4b/0x80 > [ 7.441572][ T1] ? __pfx_kernel_init+0x10/0x10 > [ 7.442531][ T1] ret_from_fork_asm+0x1b/0x30 > [ 7.443322][ T1] > [ 7.443865][ T1] Kernel panic - not syncing: kernel: panic_on_warn = set ... > [ 7.444976][ T1] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 6.8.0-rc= 5-syzkaller-00257-g217b2119b9e2 #0 > [ 7.446451][ T1] Hardware name: Google Google Compute Engine/Google= Compute Engine, BIOS Google 02/29/2024 > [ 7.447782][ T1] Call Trace: > [ 7.448300][ T1] > [ 7.448752][ T1] dump_stack_lvl+0x1e7/0x2e0 > [ 7.449206][ T1] ? __pfx_dump_stack_lvl+0x10/0x10 > [ 7.449206][ T1] ? __pfx__printk+0x10/0x10 > [ 7.449206][ T1] ? _printk+0xd5/0x120 > [ 7.449206][ T1] ? vscnprintf+0x5d/0x90 > [ 7.449206][ T1] panic+0x349/0x860 > [ 7.449206][ T1] ? __warn+0x171/0x4b0 > [ 7.449206][ T1] ? __pfx_panic+0x10/0x10 > [ 7.449206][ T1] ? show_trace_log_lvl+0x4e4/0x520 > [ 7.449206][ T1] ? ret_from_fork_asm+0x1b/0x30 > [ 7.449206][ T1] __warn+0x31c/0x4b0 > [ 7.449206][ T1] ? refcount_warn_saturate+0xfa/0x1d0 > [ 7.449206][ T1] report_bug+0x2b3/0x500 > [ 7.449206][ T1] ? refcount_warn_saturate+0xfa/0x1d0 > [ 7.458645][ T1] handle_bug+0x3e/0x70 > [ 7.458645][ T1] exc_invalid_op+0x1a/0x50 > [ 7.458645][ T1] asm_exc_invalid_op+0x1a/0x20 > [ 7.458645][ T1] RIP: 0010:refcount_warn_saturate+0xfa/0x1d0 > [ 7.458645][ T1] Code: b2 00 00 00 e8 97 2d fc fc 5b 5d c3 cc cc cc= cc e8 8b 2d fc fc c6 05 0d d9 d6 0a 01 90 48 c7 c7 a0 46 fd 8b e8 e7 2c c0= fc 90 <0f> 0b 90 90 eb d9 e8 6b 2d fc fc c6 05 ea d8 d6 0a 01 90 48 c7 c7 > [ 7.458645][ T1] RSP: 0000:ffffc90000066e10 EFLAGS: 00010246 > [ 7.458645][ T1] RAX: 67b097fa09053300 RBX: ffff88814073377c RCX: f= fff8880166c0000 > [ 7.458645][ T1] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0= 000000000000000 > [ 7.468739][ T1] RBP: 0000000000000004 R08: ffffffff81589d62 R09: 1= ffff9200000cd14 > [ 7.468739][ T1] R10: dffffc0000000000 R11: fffff5200000cd15 R12: f= fffea000501edc0 > [ 7.468739][ T1] R13: ffffea000501edc8 R14: 1ffffd4000a03db9 R15: 0= 000000000000000 > [ 7.468739][ T1] ? __warn_printk+0x292/0x360 > [ 7.468739][ T1] __free_pages_ok+0xc36/0xd60 > [ 7.468739][ T1] make_alloc_exact+0xc4/0x140 > [ 7.468739][ T1] vring_alloc_queue_split+0x20a/0x600 > [ 7.468739][ T1] ? __pfx_vring_alloc_queue_split+0x10/0x10 > [ 7.468739][ T1] ? vp_find_vqs+0x4c/0x4e0 > [ 7.468739][ T1] ? virtscsi_probe+0x3ea/0xf60 > [ 7.478647][ T1] ? virtio_dev_probe+0x991/0xaf0 > [ 7.478647][ T1] ? really_probe+0x29e/0xc50 > [ 7.478647][ T1] ? driver_probe_device+0x50/0x430 > [ 7.478647][ T1] vring_create_virtqueue_split+0xc6/0x310 > [ 7.478647][ T1] ? ret_from_fork+0x4b/0x80 > [ 7.478647][ T1] ? __pfx_vring_create_virtqueue_split+0x10/0x10 > [ 7.478647][ T1] vring_create_virtqueue+0xca/0x110 > [ 7.478647][ T1] ? __pfx_vp_notify+0x10/0x10 > [ 7.478647][ T1] ? __pfx_virtscsi_ctrl_done+0x10/0x10 > [ 7.478647][ T1] setup_vq+0xe9/0x2d0 > [ 7.478647][ T1] ? __pfx_vp_notify+0x10/0x10 > [ 7.478647][ T1] ? __pfx_virtscsi_ctrl_done+0x10/0x10 > [ 7.488714][ T1] ? __pfx_virtscsi_ctrl_done+0x10/0x10 > [ 7.488714][ T1] ? __pfx_virtscsi_ctrl_done+0x10/0x10 > [ 7.488714][ T1] vp_setup_vq+0xbf/0x330 > [ 7.488714][ T1] ? __pfx_vp_config_changed+0x10/0x10 > [ 7.488714][ T1] ? ioread16+0x2f/0x90 > [ 7.488714][ T1] ? __pfx_virtscsi_ctrl_done+0x10/0x10 > [ 7.488714][ T1] vp_find_vqs_msix+0x8b2/0xc80 > [ 7.488714][ T1] vp_find_vqs+0x4c/0x4e0 > [ 7.488714][ T1] virtscsi_init+0x8db/0xd00 > [ 7.488714][ T1] ? __pfx_virtscsi_init+0x10/0x10 > [ 7.488714][ T1] ? __pfx_default_calc_sets+0x10/0x10 > [ 7.498614][ T1] ? scsi_host_alloc+0xa57/0xea0 > [ 7.498614][ T1] ? vp_get+0xfd/0x140 > [ 7.498614][ T1] virtscsi_probe+0x3ea/0xf60 > [ 7.498614][ T1] ? __pfx_virtscsi_probe+0x10/0x10 > [ 7.498614][ T1] ? kernfs_add_one+0x159/0x8b0 > [ 7.498614][ T1] ? virtio_no_restricted_mem_acc+0x9/0x10 > [ 7.498614][ T1] ? virtio_features_ok+0x10c/0x270 > [ 7.498614][ T1] virtio_dev_probe+0x991/0xaf0 > [ 7.498614][ T1] ? __pfx_virtio_dev_probe+0x10/0x10 > [ 7.498614][ T1] really_probe+0x29e/0xc50 > [ 7.498614][ T1] __driver_probe_device+0x1a2/0x3e0 > [ 7.508689][ T1] driver_probe_device+0x50/0x430 > [ 7.508689][ T1] __driver_attach+0x45f/0x710 > [ 7.508689][ T1] ? __pfx___driver_attach+0x10/0x10 > [ 7.508689][ T1] bus_for_each_dev+0x239/0x2b0 > [ 7.508689][ T1] ? __pfx___driver_attach+0x10/0x10 > [ 7.508689][ T1] ? __pfx_bus_for_each_dev+0x10/0x10 > [ 7.508689][ T1] ? do_raw_spin_unlock+0x13b/0x8b0 > [ 7.508689][ T1] bus_add_driver+0x347/0x620 > [ 7.508689][ T1] driver_register+0x23a/0x320 > [ 7.508689][ T1] ? __pfx_virtio_scsi_init+0x10/0x10 > [ 7.508689][ T1] virtio_scsi_init+0x65/0xe0 > [ 7.518645][ T1] ? __pfx_virtio_scsi_init+0x10/0x10 > [ 7.518645][ T1] do_one_initcall+0x238/0x830 > [ 7.518645][ T1] ? __pfx_virtio_scsi_init+0x10/0x10 > [ 7.518645][ T1] ? __pfx_do_one_initcall+0x10/0x10 > [ 7.518645][ T1] ? lockdep_hardirqs_on_prepare+0x43c/0x780 > [ 7.518645][ T1] ? __pfx_parse_args+0x10/0x10 > [ 7.518645][ T1] ? do_initcalls+0x1c/0x80 > [ 7.518645][ T1] ? rcu_is_watching+0x15/0xb0 > [ 7.518645][ T1] do_initcall_level+0x157/0x210 > [ 7.518645][ T1] do_initcalls+0x3f/0x80 > [ 7.518645][ T1] kernel_init_freeable+0x42f/0x5d0 > [ 7.528806][ T1] ? __pfx_kernel_init_freeable+0x10/0x10 > [ 7.528806][ T1] ? __pfx_lockdep_hardirqs_on_prepare+0x10/0x10 > [ 7.528806][ T1] ? __pfx_kernel_init+0x10/0x10 > [ 7.528806][ T1] ? __pfx_kernel_init+0x10/0x10 > [ 7.528806][ T1] ? __pfx_kernel_init+0x10/0x10 > [ 7.528806][ T1] kernel_init+0x1d/0x2b0 > [ 7.528806][ T1] ret_from_fork+0x4b/0x80 > [ 7.528806][ T1] ? __pfx_kernel_init+0x10/0x10 > [ 7.528806][ T1] ret_from_fork_asm+0x1b/0x30 > [ 7.528806][ T1] > [ 7.528806][ T1] Kernel Offset: disabled > [ 7.528806][ T1] Rebooting in 86400 seconds.. >=20 >=20 > syzkaller build log: > go env (err=3D) > GO111MODULE=3D'auto' > GOARCH=3D'amd64' > GOBIN=3D'' > GOCACHE=3D'/syzkaller/.cache/go-build' > GOENV=3D'/syzkaller/.config/go/env' > GOEXE=3D'' > GOEXPERIMENT=3D'' > GOFLAGS=3D'' > GOHOSTARCH=3D'amd64' > GOHOSTOS=3D'linux' > GOINSECURE=3D'' > GOMODCACHE=3D'/syzkaller/jobs/linux/gopath/pkg/mod' > GONOPROXY=3D'' > GONOSUMDB=3D'' > GOOS=3D'linux' > GOPATH=3D'/syzkaller/jobs/linux/gopath' > GOPRIVATE=3D'' > GOPROXY=3D'https://proxy.golang.org,direct' > GOROOT=3D'/usr/local/go' > GOSUMDB=3D'sum.golang.org' > GOTMPDIR=3D'' > GOTOOLCHAIN=3D'auto' > GOTOOLDIR=3D'/usr/local/go/pkg/tool/linux_amd64' > GOVCS=3D'' > GOVERSION=3D'go1.21.4' > GCCGO=3D'gccgo' > GOAMD64=3D'v1' > AR=3D'ar' > CC=3D'gcc' > CXX=3D'g++' > CGO_ENABLED=3D'1' > GOMOD=3D'/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/go.= mod' > GOWORK=3D'' > CGO_CFLAGS=3D'-O2 -g' > CGO_CPPFLAGS=3D'' > CGO_CXXFLAGS=3D'-O2 -g' > CGO_FFLAGS=3D'-O2 -g' > CGO_LDFLAGS=3D'-O2 -g' > PKG_CONFIG=3D'pkg-config' > GOGCCFLAGS=3D'-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length= =3D0 -ffile-prefix-map=3D/tmp/go-build2530895313=3D/tmp/go-build -gno-recor= d-gcc-switches' >=20 > git status (err=3D) > HEAD detached at 6753db5cd > nothing to commit, working tree clean >=20 >=20 > tput: No value for $TERM and no -T specified > tput: No value for $TERM and no -T specified > Makefile:31: run command via tools/syz-env for best compatibility, see: > Makefile:32: https://github.com/google/syzkaller/blob/master/docs/contrib= uting.md#using-syz-env > go list -f '{{.Stale}}' ./sys/syz-sysgen | grep -q false || go install ./= sys/syz-sysgen > make .descriptions > tput: No value for $TERM and no -T specified > tput: No value for $TERM and no -T specified > Makefile:31: run command via tools/syz-env for best compatibility, see: > Makefile:32: https://github.com/google/syzkaller/blob/master/docs/contrib= uting.md#using-syz-env > bin/syz-sysgen > touch .descriptions > GOOS=3Dlinux GOARCH=3Damd64 go build "-ldflags=3D-s -w -X github.com/goog= le/syzkaller/prog.GitRevision=3D6753db5cdc04330ec9d1a5116b890c19481d69b3 -X= 'github.com/google/syzkaller/prog.gitRevisionDate=3D20240320-145051'" "-ta= gs=3Dsyz_target syz_os_linux syz_arch_amd64 " -o ./bin/linux_amd64/syz-fuzz= er github.com/google/syzkaller/syz-fuzzer > GOOS=3Dlinux GOARCH=3Damd64 go build "-ldflags=3D-s -w -X github.com/goog= le/syzkaller/prog.GitRevision=3D6753db5cdc04330ec9d1a5116b890c19481d69b3 -X= 'github.com/google/syzkaller/prog.gitRevisionDate=3D20240320-145051'" "-ta= gs=3Dsyz_target syz_os_linux syz_arch_amd64 " -o ./bin/linux_amd64/syz-exec= prog github.com/google/syzkaller/tools/syz-execprog > GOOS=3Dlinux GOARCH=3Damd64 go build "-ldflags=3D-s -w -X github.com/goog= le/syzkaller/prog.GitRevision=3D6753db5cdc04330ec9d1a5116b890c19481d69b3 -X= 'github.com/google/syzkaller/prog.gitRevisionDate=3D20240320-145051'" "-ta= gs=3Dsyz_target syz_os_linux syz_arch_amd64 " -o ./bin/linux_amd64/syz-stre= ss github.com/google/syzkaller/tools/syz-stress > mkdir -p ./bin/linux_amd64 > gcc -o ./bin/linux_amd64/syz-executor executor/executor.cc \ > -m64 -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -W= frame-larger-than=3D16384 -Wno-stringop-overflow -Wno-array-bounds -Wno-for= mat-overflow -Wno-unused-but-set-variable -Wno-unused-command-line-argument= -static-pie -fpermissive -w -DGOOS_linux=3D1 -DGOARCH_amd64=3D1 \ > -DHOSTGOOS_linux=3D1 -DGIT_REVISION=3D\"6753db5cdc04330ec9d1a5116b890c19= 481d69b3\" >=20 >=20 > Error text is too large and was truncated, full error text is at: > https://syzkaller.appspot.com/x/error.txt?x=3D1254e231180000 >=20 >=20 > Tested on: >=20 > commit: 217b2119 mm,page_owner: implement the tracking of the .. > git tree: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/li= nux.git > kernel config: https://syzkaller.appspot.com/x/.config?x=3D527195e149aa3= 091 > dashboard link: https://syzkaller.appspot.com/bug?extid=3D70f57d8a3ae8493= 4c003 > compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Deb= ian) 2.40 >=20 > Note: no patches were applied. >=20 --iICuSwrClyv9HSfg Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEhpWov9P5fNqsNXdanKSrs4Grc8gFAmX8asYACgkQnKSrs4Gr c8j7LAf9Ew/dZwx68lTZxgFGT9p+81rNd0EVqAoXdP0nkwplmfwpOCm0l4kKk9BI 5SfklFRptO0eUz4NgyPnbwFVLPuo4fp+4tow5WoE931TwORBiUS3//lWO5CqnbKQ 81cxytrsoNU8idRA12e1fk0dgtOEmhC0B7UeT98Twrp3X88mqygq1DC1r6KuHCFi cgu/V+Oi9S7WxbkSwi4w/QYgasXOUI1MmSkJCvWpBfO/bmP/LeKqDDaQrTDAsovf SBRYYxWu2wMVmU+lx2//9b3dAEBYsz+qRvD9GuJLkE6Dz+oPbx7X11Lv8J2PggVY Bd42YfiX2csI1RNU7d/6k3VFKB6V6w== =N7D5 -----END PGP SIGNATURE----- --iICuSwrClyv9HSfg--