syzbot


general protection fault in br_multicast_rcv

Status: closed as invalid on 2021/10/06 01:19
Subsystems: bridge
[Documentation on labels]
First crash: 1010d, last: 1009d
Cause bisection: failed (error log, bisect log)
  
Fix bisection: fixed by (bisect log) [no-op commit]:
commit 3efe180d5105d367ae1dfadb97892ab93a89a783
Author: Christian KΓΆnig <christian.koenig@amd.com>
Date: Tue Jul 6 06:51:25 2021 +0000

  drm/qxl: add NULL check for bo->resource

  

Sample crash report:
netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0
netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0
netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0
netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0
general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 1 PID: 8444 Comm: syz-executor078 Tainted: G        W         5.14.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:br_ip6_multicast_query_received net/bridge/br_multicast.c:3094 [inline]
RIP: 0010:br_ip6_multicast_query net/bridge/br_multicast.c:3237 [inline]
RIP: 0010:br_multicast_ipv6_rcv net/bridge/br_multicast.c:3598 [inline]
RIP: 0010:br_multicast_rcv+0x1a88/0x61a0 net/bridge/br_multicast.c:3653
Code: 8b 53 10 48 8b 43 08 48 89 95 68 ff ff ff 48 8b 95 d8 fe ff ff 48 89 85 60 ff ff ff 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 92 41 00 00 48 8b 85 d8 fe ff ff 48 8b 18 48 8b
RSP: 0018:ffffc9000103f158 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffff88802750c818 RCX: 0000000000000001
RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff88802750c820
RBP: ffffc9000103f318 R08: 0000000000000000 R09: 0000000000000001
R10: ffffffff87f98b83 R11: 0000000000000002 R12: 0000000000000001
R13: ffff888036a1f000 R14: 0000000000000000 R15: ffff888036a1f0b4
FS:  0000000000c74300(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3903acb6c0 CR3: 0000000024d1d000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 br_dev_xmit+0x6f6/0x1760 net/bridge/br_device.c:89
 __netdev_start_xmit include/linux/netdevice.h:4946 [inline]
 netdev_start_xmit include/linux/netdevice.h:4960 [inline]
 xmit_one net/core/dev.c:3658 [inline]
 dev_hard_start_xmit+0x1eb/0x920 net/core/dev.c:3674
 __dev_queue_xmit+0x29ee/0x36c0 net/core/dev.c:4273
 neigh_resolve_output net/core/neighbour.c:1496 [inline]
 neigh_resolve_output+0x50e/0x820 net/core/neighbour.c:1476
 neigh_output include/net/neighbour.h:510 [inline]
 ip6_finish_output2+0x764/0x19d0 net/ipv6/ip6_output.c:145
 __ip6_finish_output net/ipv6/ip6_output.c:210 [inline]
 __ip6_finish_output+0x4c1/0x1050 net/ipv6/ip6_output.c:189
 ip6_finish_output+0x32/0x200 net/ipv6/ip6_output.c:220
 NF_HOOK_COND include/linux/netfilter.h:296 [inline]
 ip6_output+0x1e4/0x530 net/ipv6/ip6_output.c:243
 dst_output include/net/dst.h:448 [inline]
 ip6_local_out+0xaf/0x1a0 net/ipv6/output_core.c:161
 ip6_send_skb+0xb7/0x340 net/ipv6/ip6_output.c:1934
 ip6_push_pending_frames+0xdd/0x100 net/ipv6/ip6_output.c:1954
 rawv6_push_pending_frames net/ipv6/raw.c:613 [inline]
 rawv6_sendmsg+0x2a87/0x3990 net/ipv6/raw.c:956
 inet_sendmsg+0x99/0xe0 net/ipv4/af_inet.c:821
 sock_sendmsg_nosec net/socket.c:703 [inline]
 sock_sendmsg+0xcf/0x120 net/socket.c:723
 sock_write_iter+0x289/0x3c0 net/socket.c:1056
 call_write_iter include/linux/fs.h:2114 [inline]
 new_sync_write+0x426/0x650 fs/read_write.c:518
 vfs_write+0x75a/0xa40 fs/read_write.c:605
 ksys_write+0x1ee/0x250 fs/read_write.c:658
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x443229
Code: 28 c3 e8 4a 15 00 00 66 2e 0f 1f 84 00 00 00 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd3c0040e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007ffd3c0040f8 RCX: 0000000000443229
RDX: 0000000000000035 RSI: 00000000200001c0 RDI: 0000000000000003
RBP: 0000000000000003 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffd3c004100
R13: 00007ffd3c004120 R14: 00000000004b8018 R15: 00000000004004b8
Modules linked in:
---[ end trace 09ff5fbb81fa2fac ]---
RIP: 0010:br_ip6_multicast_query_received net/bridge/br_multicast.c:3094 [inline]
RIP: 0010:br_ip6_multicast_query net/bridge/br_multicast.c:3237 [inline]
RIP: 0010:br_multicast_ipv6_rcv net/bridge/br_multicast.c:3598 [inline]
RIP: 0010:br_multicast_rcv+0x1a88/0x61a0 net/bridge/br_multicast.c:3653
Code: 8b 53 10 48 8b 43 08 48 89 95 68 ff ff ff 48 8b 95 d8 fe ff ff 48 89 85 60 ff ff ff 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 92 41 00 00 48 8b 85 d8 fe ff ff 48 8b 18 48 8b
RSP: 0018:ffffc9000103f158 EFLAGS: 00010246
RAX: dffffc0000000000 RBX: ffff88802750c818 RCX: 0000000000000001
RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff88802750c820
RBP: ffffc9000103f318 R08: 0000000000000000 R09: 0000000000000001
R10: ffffffff87f98b83 R11: 0000000000000002 R12: 0000000000000001
R13: ffff888036a1f000 R14: 0000000000000000 R15: ffff888036a1f0b4
FS:  0000000000c74300(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3903acb6c0 CR3: 0000000024d1d000 CR4: 00000000001506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (23):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/07/21 07:28 net-next-old 3389d3027fec 1b201b48 .config console log report syz C ci-upstream-net-kasan-gce general protection fault in br_multicast_rcv
2021/07/21 09:55 net-next-old 3389d3027fec 1b201b48 .config console log report info ci-upstream-net-kasan-gce general protection fault in br_multicast_rcv
2021/07/21 09:53 net-next-old 3389d3027fec 1b201b48 .config console log report info ci-upstream-net-kasan-gce general protection fault in br_multicast_rcv
2021/07/21 06:56 net-next-old 3389d3027fec 1b201b48 .config console log report info ci-upstream-net-kasan-gce general protection fault in br_multicast_rcv
2021/07/21 06:54 net-next-old 3389d3027fec 1b201b48 .config console log report info ci-upstream-net-kasan-gce general protection fault in br_multicast_rcv
2021/07/21 06:42 net-next-old 3389d3027fec 1b201b48 .config console log report info ci-upstream-net-kasan-gce general protection fault in br_multicast_rcv
2021/07/21 06:25 net-next-old 3389d3027fec 1b201b48 .config console log report info ci-upstream-net-kasan-gce general protection fault in br_multicast_rcv
2021/07/21 06:22 net-next-old 3389d3027fec 1b201b48 .config console log report info ci-upstream-net-kasan-gce general protection fault in br_multicast_rcv
2021/07/22 06:30 linux-next b1347210b01d 29c3f20f .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in br_multicast_rcv
2021/07/22 06:24 linux-next b1347210b01d 29c3f20f .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in br_multicast_rcv
2021/07/21 17:37 linux-next b1347210b01d 29c3f20f .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in br_multicast_rcv
2021/07/21 12:10 linux-next b1347210b01d 1b201b48 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in br_multicast_rcv
2021/07/21 12:10 linux-next b1347210b01d 1b201b48 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in br_multicast_rcv
2021/07/21 12:06 linux-next b1347210b01d 1b201b48 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in br_multicast_rcv
2021/07/21 11:42 linux-next b1347210b01d 1b201b48 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in br_multicast_rcv
2021/07/21 11:19 linux-next b1347210b01d 1b201b48 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in br_multicast_rcv
2021/07/21 11:03 linux-next b1347210b01d 1b201b48 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in br_multicast_rcv
2021/07/21 10:49 linux-next b1347210b01d 1b201b48 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in br_multicast_rcv
2021/07/21 09:43 linux-next b1347210b01d 1b201b48 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in br_multicast_rcv
2021/07/21 09:06 linux-next b1347210b01d 1b201b48 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in br_multicast_rcv
2021/07/21 08:37 linux-next b1347210b01d 1b201b48 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in br_multicast_rcv
2021/07/21 08:28 linux-next b1347210b01d 1b201b48 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in br_multicast_rcv
2021/07/21 08:20 linux-next b1347210b01d 1b201b48 .config console log report info ci-upstream-linux-next-kasan-gce-root general protection fault in br_multicast_rcv
* Struck through repros no longer work on HEAD.