Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp618344rwb; Tue, 27 Sep 2022 02:11:36 -0700 (PDT) X-Google-Smtp-Source: AMsMyM69cKBEpLZn/mWA69eBv0FsypohuShqW+x1q5TJvo2bCEfRA9g7N+vl5Hi3Gu2EVtGRtS9I X-Received: by 2002:a17:907:3d9f:b0:77a:21d4:7310 with SMTP id he31-20020a1709073d9f00b0077a21d47310mr21292702ejc.279.1664269896355; Tue, 27 Sep 2022 02:11:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664269896; cv=none; d=google.com; s=arc-20160816; b=CDgQeYUMxPX8WO4v9S3zC1GV95wODslkLI6LOjargybZxXcHqYU/3cHn0EUPz/Lzf7 IAymHGBOl4WCIri3IQUxFmM4ikWMV8Jzo1wUWbKwH2/59VFHXGcpSXHrfPcNkxGQxmYq 4MgTXHFVV6AuscdPWfktzqnXmnm6Yd3qf0QadaL7f4dEFYNZWlbhR0DjgXOEaqauUoMf HACXwNXCmayt3CrmoRoQ7e5CssmTDVzzXbBu5Au9Dk25ojDRnA/lMN7p5xDo1pyeWovl Lv+CskJgb3Kofy++9AflEuwj4JddQBuHeZnMH3BhJMuR8xVn+G63GsZA99oT1PMnjzvv f+JQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:from:subject:message-id:date:mime-version; bh=VcrBPx8xfJ9lVz+FClYVuo7si9Glw5I9QGikXlKH2Ug=; b=wO/ptmRNCj4Ulm+PZUxM/rY4jHLfTpZjB0GBVHbYVnyTO7DkhJnt1LheaE2qOlvImI J6rU8KWA+If1pOruzfm7QOHwxESEXoUkzrLjNMWCW8LnAQ7oZuFNqGhendKkglsTDWpn EKxAc98CavikG8RgstmWkH7s+R80pWOsBxOUbBoVRvHRpaKE2WtUspsAUCgJInJeSEgS +vvxsdv/Uizp2yl5o2TejIpoZDkbELglg+A8uNbfy2fGWIZGuykJfL2gaCHdB8At8zHc 3jQuYD4c12Lnco89d0Ipl0b9q/eRq3JXpSyHIcic1QGEcKOVFWWbhmAQzB47pOfFqwug MdZg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f9-20020a056402354900b0044876848617si1153603edd.287.2022.09.27.02.11.10; Tue, 27 Sep 2022 02:11:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=appspotmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231321AbiI0Itq (ORCPT + 99 others); Tue, 27 Sep 2022 04:49:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51458 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230202AbiI0Itk (ORCPT ); Tue, 27 Sep 2022 04:49:40 -0400 Received: from mail-io1-f69.google.com (mail-io1-f69.google.com [209.85.166.69]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12E071EC54 for ; Tue, 27 Sep 2022 01:49:39 -0700 (PDT) Received: by mail-io1-f69.google.com with SMTP id h205-20020a6bb7d6000000b006a1e6bef9c7so5367806iof.17 for ; Tue, 27 Sep 2022 01:49:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:from:subject:message-id:date:mime-version:x-gm-message-state :from:to:cc:subject:date; bh=VcrBPx8xfJ9lVz+FClYVuo7si9Glw5I9QGikXlKH2Ug=; b=TLj1rCnqJHWAEBP1c/L8fpiL/HjcjIw+qsvagBrLCbT36gY/P/0fZk9DYvIxM5B46c y2D6KFCZXnBwGkFto951kAXcANNhdPiVTbmmhK72srKTqdVP+yjVqSUp08Z3tgN0Cj3A uImjN/A4WELThtghtIHUT1rBNz95A2Gar6nKMU4xIF/7WsiVZSPo9MAfTrP8Ek9cmSKf 4RcxSoDiLThNBFT0WlPdHScemv6D86SVI0JjS8/SSxeocXPElDc3NJTWteEjAMFopbPO HVTSRXL8d4tKFsRwo/BDrxIuUHwy429eHXHoyLgfTdVo01cu1KiN7uNIYSsh/vC+konB 2D5g== X-Gm-Message-State: ACrzQf2XOyp0/E/jaV5LPyGaZL0bVhlAXUuUnJYm/KsPf+nn/FV3CIzt xeyWAfFhA7lb6Q95B0jvQjgjomirRaD8Enb5svhCmgdWP1yq MIME-Version: 1.0 X-Received: by 2002:a05:6e02:b45:b0:2f8:ab79:fc70 with SMTP id f5-20020a056e020b4500b002f8ab79fc70mr2146818ilu.214.1664268578426; Tue, 27 Sep 2022 01:49:38 -0700 (PDT) Date: Tue, 27 Sep 2022 01:49:38 -0700 X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <0000000000006d989105e9a4b916@google.com> Subject: [syzbot] general protection fault in kernel_accept (5) From: syzbot To: bpf@vger.kernel.org, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, pabeni@redhat.com, syzkaller-bugs@googlegroups.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=0.9 required=5.0 tests=BAYES_00,FROM_LOCAL_HEX, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SORTED_RECIPS,SPF_HELO_NONE,SPF_PASS 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, syzbot found the following issue on: HEAD commit: bf682942cd26 Merge tag 'scsi-fixes' of git://git.kernel.or.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=117fc3ac880000 kernel config: https://syzkaller.appspot.com/x/.config?x=7db7ad17eb14cb7 dashboard link: https://syzkaller.appspot.com/bug?extid=c5ce866a8d30f4be0651 compiler: gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2 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+c5ce866a8d30f4be0651@syzkaller.appspotmail.com general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 3 PID: 12841 Comm: kworker/u16:2 Not tainted 6.0.0-rc6-syzkaller-00210-gbf682942cd26 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 Workqueue: tipc_rcv tipc_topsrv_accept RIP: 0010:kernel_accept+0x22d/0x350 net/socket.c:3487 Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 e3 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 5b 20 48 8d 7b 08 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 ee 00 00 00 48 8b 7b 08 e8 a0 36 1c fa e8 8b ff RSP: 0018:ffffc9000494fc28 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000001 RSI: ffffffff874c37b2 RDI: 0000000000000008 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000449 R12: 0000000000000000 R13: ffff888027a7b980 R14: ffff888028bc08e0 R15: 1ffff92000929f90 FS: 0000000000000000(0000) GS:ffff88802cb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa6e1a8c920 CR3: 000000004bba0000 CR4: 0000000000150ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: tipc_topsrv_accept+0x197/0x280 net/tipc/topsrv.c:460 process_one_work+0x991/0x1610 kernel/workqueue.c:2289 worker_thread+0x665/0x1080 kernel/workqueue.c:2436 kthread+0x2e4/0x3a0 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:kernel_accept+0x22d/0x350 net/socket.c:3487 Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 e3 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 5b 20 48 8d 7b 08 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 ee 00 00 00 48 8b 7b 08 e8 a0 36 1c fa e8 8b ff RSP: 0018:ffffc9000494fc28 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000001 RSI: ffffffff874c37b2 RDI: 0000000000000008 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000449 R12: 0000000000000000 R13: ffff888027a7b980 R14: ffff888028bc08e0 R15: 1ffff92000929f90 FS: 0000000000000000(0000) GS:ffff88802ca00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c0154d8000 CR3: 000000006fb4b000 CR4: 0000000000150ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 48 89 fa mov %rdi,%rdx 3: 48 c1 ea 03 shr $0x3,%rdx 7: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) b: 0f 85 e3 00 00 00 jne 0xf4 11: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 18: fc ff df 1b: 48 8b 5b 20 mov 0x20(%rbx),%rbx 1f: 48 8d 7b 08 lea 0x8(%rbx),%rdi 23: 48 89 fa mov %rdi,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 0f 85 ee 00 00 00 jne 0x122 34: 48 8b 7b 08 mov 0x8(%rbx),%rdi 38: e8 a0 36 1c fa callq 0xfa1c36dd 3d: e8 .byte 0xe8 3e: 8b ff mov %edi,%edi --- 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.