Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp5662208pxb; Mon, 28 Mar 2022 15:40:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyLeqiE/s2f7zf0EQdRj8V5F51tosdwyzeepkDnzOLf5lP0Us9a8QscWqD3XXRZ78vk42el X-Received: by 2002:a05:6808:2117:b0:2da:5906:22c3 with SMTP id r23-20020a056808211700b002da590622c3mr778143oiw.80.1648507230553; Mon, 28 Mar 2022 15:40:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648507230; cv=none; d=google.com; s=arc-20160816; b=WhQWrwAMDu8aMkFWxR6k9/zpypuvoeEfWdFKli4YDFdnzQWluArnI5fjlUYWHR/6tT BpcY/GcLPUC5vZdgVkToX75eLJhUu7iguZWta3ENNt0htegFgxsJQ6qcaL9TmM+VIGBs cpgrFE1eXSAqKi6aZ96YC/rBAucvqStRd8xhllFGOCyPLsafO3NcPkqM0bAzlC9yDlne GG3n01Y6ToU/mgkigpgu3IPGw3SXl1UYxvdX3D90Igsm2Dnsqc5Q3rw8udNgV6k1skNu dg3LJarXRN/rXEAC7vYRPz9NrOpwmIrA9KK4D/hExg6ZVHDkke66vSHvZd3FlAdUp5k/ uGJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:mime-version :dkim-signature; bh=l4bBZsDWoAPexYYwbdt3BLR+EaGwhwqPTDWC9ZzBIok=; b=htfG3/zl/izgBnL8K5kZKScKT4gEXj9nJd5nGmgISuNpEezUT1RJanITo+KyDYZx7P BVaViBH6gtvTwTPTJwYbu+lZAQHDoGtHE8lUS1qh3gweGj4O07X1so3F5ppbpC0XO4OT mlvWFlL3nml0b1uWVYn1t3cAsgONH4NoBzmpkB37ZXwwi+AS0JUDMBBg87UYJqS+Dfsn RWI0bL616/H19bZAYTcYFsKIW/NB76i0/YKikl+8q9LtsyMbhxKtlBVpIV2Sae8Esq66 opBM8OntR065YGBMTKeVl5ZplQENMmaWviB0U+Y7cPT5J62viDEx1Y8Hu4d33j3K5vhV KSrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=EfwA5zRt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id x16-20020a9d6d90000000b005cb2fc13807si11359331otp.131.2022.03.28.15.40.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Mar 2022 15:40:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=EfwA5zRt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E31562102BA; Mon, 28 Mar 2022 14:48:50 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243668AbiC1OLw (ORCPT + 99 others); Mon, 28 Mar 2022 10:11:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239195AbiC1OLu (ORCPT ); Mon, 28 Mar 2022 10:11:50 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 35C933B3F7 for ; Mon, 28 Mar 2022 07:10:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1648476608; 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; bh=l4bBZsDWoAPexYYwbdt3BLR+EaGwhwqPTDWC9ZzBIok=; b=EfwA5zRtVWksi88ukCqv7sw/v6HB3DV4w5j+lcgCOibYyk3VyGfioyZucjwPyIRLsW4mR8 P6ctXG1K5lk17+u8gWDboXoZCgnqTUclXztCytrsM3zumlyaPzrVrv8ucWutkpnjt0ycoJ SEPmU0JC4OtlJq39coRa76rPb1ipYVE= Received: from mail-lf1-f71.google.com (mail-lf1-f71.google.com [209.85.167.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-56-Q4zsnM3VNOOJoQ0iRdqRWQ-1; Mon, 28 Mar 2022 10:10:06 -0400 X-MC-Unique: Q4zsnM3VNOOJoQ0iRdqRWQ-1 Received: by mail-lf1-f71.google.com with SMTP id x26-20020a056512131a00b00448708fa822so4468970lfu.6 for ; Mon, 28 Mar 2022 07:10:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=l4bBZsDWoAPexYYwbdt3BLR+EaGwhwqPTDWC9ZzBIok=; b=3CBFQV56md58HguL59I6fUl1pXI2KIsrd/4MWGr8FKf4T0UE/4/tTwrfXm/wQTlr3p y1dZHqcuiayz/bI1fVKXrxMbmDWXD2mZU9TFE6d5nP5U2HrSsV3zXJXoblLpdj3s+mz+ ud5A9BhDLupW/vA6TZ9j2fRyUcJYYhOYKjhXG/CYKET+ZO5kFQ6VqLR4CcHSFgw05uAA fOaKm4Z+M5cG8ex4WcLhnve1483ERLIiYyLvBpXsShW7W9tsCBxOy+xnH4g9kkYaepqh sR89tRFITMe0HqYlRjtLkFPxSldM5IGL6bZ/2nAM6qjmn42LllhMkUYAdgH5nLdK7/B8 29dg== X-Gm-Message-State: AOAM532GjV3DWa8sCJCyQbMkacK0N5IzXpzegqa/RpwHKv8YqDJxz5Dl /cCVoA9nUQfLnpnAJuMOEtjqSTw6zM7BEa4tFJU8sik5fMaHJu1M3q2rnm7KAwZkA1MqjZmlxPk xUM5FwI1MOmXUsqHoFvw03I7RvnGP95Gzf4dQHt7v X-Received: by 2002:a2e:7a17:0:b0:24a:c226:4f75 with SMTP id v23-20020a2e7a17000000b0024ac2264f75mr11336583ljc.4.1648476604208; Mon, 28 Mar 2022 07:10:04 -0700 (PDT) X-Received: by 2002:a2e:7a17:0:b0:24a:c226:4f75 with SMTP id v23-20020a2e7a17000000b0024ac2264f75mr11336565ljc.4.1648476603958; Mon, 28 Mar 2022 07:10:03 -0700 (PDT) MIME-Version: 1.0 From: Bruno Goncalves Date: Mon, 28 Mar 2022 16:09:52 +0200 Message-ID: Subject: RIP: 0010:param_get_bool.cold+0x0/0x2 - LTP read_all_sys - 5.17.0 To: linux-kernel@vger.kernel.org Cc: CKI Project , Li Wang , Jan Stancek Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, We've observed the panic below when testing mainline kernel. More logs can be found on [1] and CKI tracker [2]. [12057.972471] LTP: starting read_all_sys (read_all -d /sys -q -r 3) [12062.975732] zram: Added device: zram1 [12062.980426] zram: Added device: zram2 [12062.983235] zram: Added device: zram3 [12063.510331] WARNING! power/level is deprecated; use power/control instead [12064.466740] bdi 1:2: the stable_pages_required attribute has been removed. Use the stable_writes queue attribute instead. [12066.625736] invalid opcode: 0000 [#1] PREEMPT SMP PTI [12066.626556] CPU: 0 PID: 128980 Comm: read_all Tainted: G OE 5.17.0 #1 [12066.627745] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2011 [12066.628608] RIP: 0010:param_get_bool.cold+0x0/0x2 [12066.629356] Code: 3b ff e9 55 f8 3d ff 48 8b 75 00 8d 51 ff 48 c7 c7 60 47 84 af e8 2a 69 00 00 b8 e4 ff ff ff e9 89 fb 3d ff 0f 0b 0f 0b 0f 0b <0f> 0b 0f 0b 48 8b 33 48 c7 c7 88 47 84 af e8 07 69 00 00 b8 e4 ff [12066.632133] RSP: 0018:ffffa97d4114fd18 EFLAGS: 00010282 [12066.632929] RAX: ffffffffb04806ec RBX: ffff98d640277eb8 RCX: 0000000000000000 [12066.634051] RDX: 0000000000000000 RSI: ffffffffafa11810 RDI: ffff98d67b1df000 [12066.635108] RBP: ffff98d6403e6d80 R08: ffff98d668d48e50 R09: 00000000473bf681 [12066.636188] R10: ffffa97d4114fd20 R11: 000000001473bf68 R12: ffff98d67b1df000 [12066.637229] R13: ffffffffb008b5e0 R14: 0000000000000001 R15: 0000000000000001 [12066.638296] FS: 00007f26a5fcb740(0000) GS:ffff98d67bc00000(0000) knlGS:0000000000000000 [12066.639533] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [12066.640371] CR2: 0000000002290008 CR3: 0000000103a46005 CR4: 00000000003706f0 [12066.641403] DR0: 000000000042c9f0 DR1: 0000000000000000 DR2: 0000000000000000 [12066.642467] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 [12066.643712] Call Trace: [12066.644114] [12066.644433] param_attr_show+0x57/0x90 [12066.645036] module_attr_show+0x1c/0x30 [12066.645599] sysfs_kf_seq_show+0xac/0xf0 [12066.646221] seq_read_iter+0x126/0x460 [12066.646819] new_sync_read+0x112/0x1a0 [12066.647418] vfs_read+0x169/0x1c0 [12066.647951] ksys_read+0x6c/0xf0 [12066.648460] do_syscall_64+0x5b/0x80 [12066.649055] ? do_syscall_64+0x67/0x80 [12066.649605] ? do_syscall_64+0x67/0x80 [12066.650190] ? do_syscall_64+0x67/0x80 [12066.650777] ? lockdep_hardirqs_on+0x7d/0x100 [12066.651453] ? do_syscall_64+0x67/0x80 [12066.652041] ? asm_sysvec_apic_timer_interrupt+0x12/0x20 [12066.652852] ? asm_sysvec_apic_timer_interrupt+0xa/0x20 [12066.653640] ? lockdep_hardirqs_on+0x7d/0x100 [12066.654315] entry_SYSCALL_64_after_hwframe+0x44/0xae [12066.655088] RIP: 0033:0x7f26a5d05742 [12066.655828] Code: c0 e9 b2 fe ff ff 50 48 8d 3d 1a cf 0b 00 e8 f5 f5 01 00 0f 1f 44 00 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 0f 05 <48> 3d 00 f0 ff ff 77 56 c3 0f 1f 44 00 00 48 83 ec 28 48 89 54 24 [12066.658663] RSP: 002b:00007ffc0c869f08 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 [12066.662974] RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f26a5d05742 [12066.664041] RDX: 00000000000003ff RSI: 00007ffc0c86a3b0 RDI: 0000000000000003 [12066.665101] RBP: 00007f26a5fd3000 R08: 0000000000000000 R09: 00007ffc0c8696a0 [12066.666167] R10: 0000000000000000 R11: 0000000000000246 R12: 000000000042d790 [12066.667208] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 [12066.668278] [12066.668611] Modules linked in: vfio_iommu_type1 vfio vhost_net tap vhost_vsock vhost vhost_iotlb snd_seq_dummy minix binfmt_misc vcan can_raw nfsv3 nfs_acl nfs lockd grace fscache netfs rds btrfs raid6_pq zstd_compress tun brd exfat vfat fat vsock_loopback vmw_vsock_virtio_transport_common vmw_vsock_vmci_transport vsock vmw_vmci can_bcm can n_gsm pps_ldisc ppp_synctty mkiss ax25 ppp_async ppp_generic serport slcan slip slhc snd_hrtimer snd_seq snd_seq_device sctp pcrypt crypto_user algif_hash n_hdlc tls rfkill intel_rapl_msr sunrpc snd_hda_codec_generic ledtrig_audio intel_rapl_common snd_hda_intel snd_intel_dspcfg snd_intel_sdw_acpi snd_hda_codec snd_hda_core 8139too snd_hwdep snd_pcm joydev virtio_balloon pcspkr snd_timer snd 8139cp soundcore mii i2c_piix4 fuse zram xfs crct10dif_pclmul crc32_pclmul crc32c_intel qxl drm_ttm_helper ghash_clmulni_intel ttm drm_kms_helper drm virtio_console virtio_blk serio_raw ata_generic pata_acpi floppy qemu_fw_cfg [last unloaded: ltp_insmod01] [12066.681725] ---[ end trace 0000000000000000 ]--- [12066.682447] RIP: 0010:param_get_bool.cold+0x0/0x2 [12066.683197] Code: 3b ff e9 55 f8 3d ff 48 8b 75 00 8d 51 ff 48 c7 c7 60 47 84 af e8 2a 69 00 00 b8 e4 ff ff ff e9 89 fb 3d ff 0f 0b 0f 0b 0f 0b <0f> 0b 0f 0b 48 8b 33 48 c7 c7 88 47 84 af e8 07 69 00 00 b8 e4 ff [12066.685965] RSP: 0018:ffffa97d4114fd18 EFLAGS: 00010282 [12066.686804] RAX: ffffffffb04806ec RBX: ffff98d640277eb8 RCX: 0000000000000000 [12066.687885] RDX: 0000000000000000 RSI: ffffffffafa11810 RDI: ffff98d67b1df000 [12066.688958] RBP: ffff98d6403e6d80 R08: ffff98d668d48e50 R09: 00000000473bf681 [12066.690037] R10: ffffa97d4114fd20 R11: 000000001473bf68 R12: ffff98d67b1df000 [12066.691165] R13: ffffffffb008b5e0 R14: 0000000000000001 R15: 0000000000000001 [12066.692288] FS: 00007f26a5fcb740(0000) GS:ffff98d67bc00000(0000) knlGS:0000000000000000 [12066.693506] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [12066.694349] CR2: 0000000002290008 CR3: 0000000103a46005 CR4: 00000000003706f0 [12066.695417] DR0: 000000000042c9f0 DR1: 0000000000000000 DR2: 0000000000000000 [12066.696486] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600 [12066.697557] Kernel panic - not syncing: Fatal exception [12066.699020] Kernel Offset: 0x2d000000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) [12066.700938] ---[ end Kernel panic - not syncing: Fatal exception ]--- [1] https://datawarehouse.cki-project.org/kcidb/tests/2924662 [2] https://datawarehouse.cki-project.org/issue/1078 Thanks, Bruno Goncalves