From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.7 required=3.0 tests=BAYES_00,FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EB969C4361B for ; Thu, 17 Dec 2020 16:05:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C0755239D0 for ; Thu, 17 Dec 2020 16:05:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729179AbgLQQEv (ORCPT ); Thu, 17 Dec 2020 11:04:51 -0500 Received: from mail-io1-f70.google.com ([209.85.166.70]:35973 "EHLO mail-io1-f70.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729150AbgLQQEu (ORCPT ); Thu, 17 Dec 2020 11:04:50 -0500 Received: by mail-io1-f70.google.com with SMTP id y197so27663264iof.3 for ; Thu, 17 Dec 2020 08:04:34 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=Bx0HRWFRcZe5lrMjAgb4IwCvDobOWDjbEUCGTH45PGk=; b=l2VC/wWjqOiM8McK6o1+5evwnewLxWKm9v8DFjwWn1x/NIU5PzDPqMyZyKkqO/ju5z mMz2EW17AC1gAQntP9+IUaMdvlsyVnI6kbR4kHwELja7iWReF0J4UfLopd3vNkQ5bP56 9BEXtxIwx42TAuMEFnb939boIrvSs7LB0vBWbe6Vp8+k1XaxtEOudheyBKkI0THVTC+m sfUj04In95RGgoa5cl59gSBW4amOFolGK6Vz0CvyxsQpv8WwQBEqHUdoYLKvh29tGscP se7O324JZtVbLfzCiPYRS+Lr1fgY29fPx5OWpM4nusCtz3SP4INOyHhwmYoyz1Q1Su61 puLA== X-Gm-Message-State: AOAM532q9LthXN8+VgLW3VV5MAP6TKuYEjmiOdPjHKPf4zm7UCmOGUl+ xaT6SplwWuCMS1yUflLcENNEOQV/xupSsPBgKIv3KTFP/V/g X-Google-Smtp-Source: ABdhPJyp/5Drh3dlyyEcPxJc1TMbunJzvt5KzsHRI7686FzG+R1mGBV/6E1PG3vUOC2XRi/lJ027bqFvorEo0rL97mw19mxlLP1b MIME-Version: 1.0 X-Received: by 2002:a05:6e02:102f:: with SMTP id o15mr20796548ilj.142.1608221049468; Thu, 17 Dec 2020 08:04:09 -0800 (PST) Date: Thu, 17 Dec 2020 08:04:09 -0800 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000005fbe5e05b6ab2440@google.com> Subject: UBSAN: invalid-load in param_get_bool From: syzbot To: christian.koenig@amd.com, gustavoars@kernel.org, linux-kernel@vger.kernel.org, pmenzel@molgen.mpg.de, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, syzbot found the following issue on: HEAD commit: accefff5 Merge tag 'arm-soc-omap-genpd-5.11' of git://git... git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=12385613500000 kernel config: https://syzkaller.appspot.com/x/.config?x=5d42216b510180e3 dashboard link: https://syzkaller.appspot.com/bug?extid=438cc6c21c384f9efa5e compiler: gcc (GCC) 10.1.0-syz 20200507 Unfortunately, I don't have any reproducer for this issue yet. IMPORTANT: if you fix the issue, please add the following tag to the commit: Reported-by: syzbot+438cc6c21c384f9efa5e@syzkaller.appspotmail.com ================================================================================ UBSAN: invalid-load in kernel/params.c:302:33 load of value 255 is not a valid value for type '_Bool' CPU: 0 PID: 8488 Comm: syz-fuzzer Not tainted 5.10.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:79 [inline] dump_stack+0x107/0x163 lib/dump_stack.c:120 ubsan_epilogue+0xb/0x5a lib/ubsan.c:148 __ubsan_handle_load_invalid_value.cold+0x62/0x6c lib/ubsan.c:427 param_get_bool.cold+0x14/0x19 kernel/params.c:302 param_attr_show+0x14a/0x220 kernel/params.c:549 module_attr_show+0x48/0x70 kernel/params.c:884 sysfs_kf_seq_show+0x1f8/0x400 fs/sysfs/file.c:61 seq_read_iter+0x4d3/0x1220 fs/seq_file.c:227 seq_read+0x3dd/0x5b0 fs/seq_file.c:159 kernfs_fop_read+0xe9/0x590 fs/kernfs/file.c:251 vfs_read+0x1b5/0x570 fs/read_write.c:494 ksys_read+0x12d/0x250 fs/read_write.c:634 do_syscall_64+0x2d/0x70 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x4b3d8b Code: ff e9 69 ff ff ff cc cc cc cc cc cc cc cc cc e8 db a1 f8 ff 48 8b 7c 24 10 48 8b 74 24 18 48 8b 54 24 20 48 8b 44 24 08 0f 05 <48> 3d 01 f0 ff ff 76 20 48 c7 44 24 28 ff ff ff ff 48 c7 44 24 30 RSP: 002b:000000c0000a3740 EFLAGS: 00000202 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 000000c00002c000 RCX: 00000000004b3d8b RDX: 0000000000001200 RSI: 000000c000341300 RDI: 0000000000000006 RBP: 000000c0000a3790 R08: 0000000000000001 R09: 0000000000000002 R10: 0000000000001200 R11: 0000000000000202 R12: ffffffffffffffff R13: 0000000000000002 R14: 0000000000000001 R15: 0000000000000005 ================================================================================ --- This report is generated by a bot. It may contain errors. See https://goo.gl/tpsmEJ for more information about syzbot. syzbot engineers can be reached at syzkaller@googlegroups.com. syzbot will keep track of this issue. See: https://goo.gl/tpsmEJ#status for how to communicate with syzbot.