syzbot


WARNING in print_bfs_bug (2)

Status: upstream: reported on 2022/12/29 15:51
Subsystems: net (incorrect?)
Reported-by: syzbot+630f83b42d801d922b8b@syzkaller.appspotmail.com
First crash: 91d, last: 5d09h
similar bugs (1):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in print_bfs_bug C done 14759 892d 1244d 17/24 fixed on 2020/11/16 12:12

Sample crash report:
------------[ cut here ]------------
lockdep bfs error:-1
WARNING: CPU: 0 PID: 2969 at kernel/locking/lockdep.c:2067 print_bfs_bug+0x22/0x30 kernel/locking/lockdep.c:2067
Modules linked in:
CPU: 0 PID: 2969 Comm: syz-executor.5 Not tainted 6.3.0-rc3-syzkaller-00012-g17214b70a159 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
RIP: 0010:print_bfs_bug+0x22/0x30 kernel/locking/lockdep.c:2067
Code: 84 00 00 00 00 00 66 90 55 89 fd 53 e8 37 14 a9 02 89 c3 e8 60 fd ff ff 85 db 74 10 89 ee 48 c7 c7 e0 5d 4c 8a e8 5e cb e7 ff <0f> 0b 5b 5d c3 66 0f 1f 84 00 00 00 00 00 53 31 c9 31 d2 31 f6 48
RSP: 0018:ffffc90016c3e8f8 EFLAGS: 00010086
RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffc9000eb5d000
RDX: 0000000000040000 RSI: ffffffff814b6037 RDI: 0000000000000001
RBP: 00000000ffffffff R08: 0000000000000001 R09: 0000000000000000
R10: 0000000000000000 R11: 207065646b636f6c R12: ffff88803b730ab0
R13: 0000000000000000 R14: ffffc90016c3ea20 R15: 0000000000000000
FS:  00007efd39748700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f078e61e300 CR3: 000000005ab9a000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 check_irq_usage+0x56c/0x1a40 kernel/locking/lockdep.c:2835
 check_prev_add kernel/locking/lockdep.c:3102 [inline]
 check_prevs_add kernel/locking/lockdep.c:3217 [inline]
 validate_chain kernel/locking/lockdep.c:3832 [inline]
 __lock_acquire+0x2edf/0x5d40 kernel/locking/lockdep.c:5056
 lock_acquire kernel/locking/lockdep.c:5669 [inline]
 lock_acquire+0x1af/0x520 kernel/locking/lockdep.c:5634
 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
 _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154
 alloc_object lib/debugobjects.c:237 [inline]
 __debug_object_init+0x5e6/0xf10 lib/debugobjects.c:577
 __init_work+0x4c/0x60 kernel/workqueue.c:526
 ipv6_add_addr+0x5b7/0x1e30 net/ipv6/addrconf.c:1119
 add_addr+0xe1/0x350 net/ipv6/addrconf.c:3102
 add_v4_addrs+0x66b/0x930 net/ipv6/addrconf.c:3167
 addrconf_gre_config net/ipv6/addrconf.c:3443 [inline]
 addrconf_init_auto_addrs+0x18f/0x8a0 net/ipv6/addrconf.c:3461
 addrconf_notify+0x10a7/0x19f0 net/ipv6/addrconf.c:3642
 notifier_call_chain+0xb5/0x200 kernel/notifier.c:87
 call_netdevice_notifiers_info+0xb5/0x130 net/core/dev.c:1937
 call_netdevice_notifiers_extack net/core/dev.c:1975 [inline]
 call_netdevice_notifiers net/core/dev.c:1989 [inline]
 dev_open net/core/dev.c:1458 [inline]
 dev_open+0x13c/0x150 net/core/dev.c:1446
 team_port_add drivers/net/team/team.c:1215 [inline]
 team_add_slave+0xa92/0x2130 drivers/net/team/team.c:1984
 do_set_master+0x1c8/0x220 net/core/rtnetlink.c:2623
 rtnl_newlink_create net/core/rtnetlink.c:3457 [inline]
 __rtnl_newlink+0x13f2/0x1840 net/core/rtnetlink.c:3657
 rtnl_newlink+0x68/0xa0 net/core/rtnetlink.c:3670
 rtnetlink_rcv_msg+0x43d/0xd50 net/core/rtnetlink.c:6174
 netlink_rcv_skb+0x165/0x440 net/netlink/af_netlink.c:2574
 netlink_unicast_kernel net/netlink/af_netlink.c:1339 [inline]
 netlink_unicast+0x547/0x7f0 net/netlink/af_netlink.c:1365
 netlink_sendmsg+0x925/0xe30 net/netlink/af_netlink.c:1942
 sock_sendmsg_nosec net/socket.c:724 [inline]
 sock_sendmsg+0xde/0x190 net/socket.c:747
 ____sys_sendmsg+0x71c/0x900 net/socket.c:2501
 ___sys_sendmsg+0x110/0x1b0 net/socket.c:2555
 __sys_sendmsg+0xf7/0x1c0 net/socket.c:2584
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7efd38a8c0f9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007efd39748168 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007efd38bac120 RCX: 00007efd38a8c0f9
RDX: 0000000000000000 RSI: 0000000020000300 RDI: 0000000000000004
RBP: 00007efd38ae7b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007efd38ccfb1f R14: 00007efd39748300 R15: 0000000000022000
 </TASK>

Crashes (11):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-upstream-kasan-gce 2023/03/21 19:32 upstream 17214b70a159 03fb9538 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in print_bfs_bug
ci-upstream-kasan-gce-selinux-root 2022/12/25 15:43 upstream 72a85e2b0a1e 9da18ae8 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in print_bfs_bug
ci-upstream-net-this-kasan-gce 2023/02/16 05:46 net fda6c89fe3d9 6be0f1f5 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in print_bfs_bug
ci-upstream-net-this-kasan-gce 2023/02/09 15:12 net b963d9d5b943 14a312c8 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in print_bfs_bug
ci-upstream-net-this-kasan-gce 2023/02/01 15:32 net 8f35ae17ef56 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] WARNING in print_bfs_bug
ci-upstream-net-kasan-gce 2023/02/24 22:29 net-next 5b7c4cabbb65 ee50e71c .config console log report info [disk image] [vmlinux] [kernel image] WARNING in print_bfs_bug
ci-upstream-net-kasan-gce 2023/02/17 18:38 net-next 675f176b4dcc 3e7039f4 .config console log report info [disk image] [vmlinux] [kernel image] WARNING in print_bfs_bug
ci-upstream-net-kasan-gce 2023/01/28 17:06 net-next 70eb3911d80f 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] WARNING in print_bfs_bug
ci-upstream-net-kasan-gce 2023/01/21 18:53 net-next a7b87d2a31dc 559a440a .config console log report info [disk image] [vmlinux] [kernel image] WARNING in print_bfs_bug
ci-upstream-net-kasan-gce 2023/01/21 06:48 net-next c7ef8221ca7d 559a440a .config console log report info [disk image] [vmlinux] [kernel image] WARNING in print_bfs_bug
ci-upstream-net-kasan-gce 2023/01/18 11:36 net-next c4791b3196bf 42660d9e .config console log report info [disk image] [vmlinux] [kernel image] WARNING in print_bfs_bug
* Struck through repros no longer work on HEAD.