syzbot


WARNING in print_bfs_bug

Status: upstream: reported C repro on 2023/04/30 07:54
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+8e8da32faf31462f2486@syzkaller.appspotmail.com
First crash: 530d, last: 16d
Bug presence (1)
Date Name Commit Repro Result
2024/02/26 upstream (ToT) d206a76d7d27 C [report] WARNING in print_bfs_bug
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in print_bfs_bug missing-backport origin:upstream C error 4 231d 530d 0/3 upstream: reported C repro on 2023/04/30 23:10
upstream WARNING in print_bfs_bug (2) kernel C done 285 10d 652d 0/28 upstream: reported C repro on 2022/12/29 15:51
upstream WARNING in print_bfs_bug C done 14759 1457d 1809d 15/28 fixed on 2020/11/16 12:12
Fix bisection attempts (13)
Created Duration User Patch Repo Result
2024/09/25 20:16 3h37m bisect fix linux-6.1.y OK (0) job log log
2024/08/19 13:57 1h43m bisect fix linux-6.1.y OK (0) job log log
2024/07/08 14:45 1h52m bisect fix linux-6.1.y OK (0) job log log
2024/05/31 20:08 1h35m bisect fix linux-6.1.y OK (0) job log log
2024/04/28 03:47 1h34m bisect fix linux-6.1.y OK (0) job log log
2024/03/27 12:16 2h06m bisect fix linux-6.1.y OK (0) job log log
2024/02/25 14:26 1h19m bisect fix linux-6.1.y OK (0) job log log
2024/01/18 02:34 1h14m bisect fix linux-6.1.y OK (0) job log log
2023/12/18 06:26 1h47m bisect fix linux-6.1.y OK (0) job log log
2023/11/18 03:57 2h22m bisect fix linux-6.1.y OK (0) job log log
2023/10/16 22:42 1h30m bisect fix linux-6.1.y OK (0) job log log
2023/09/13 01:07 2h04m bisect fix linux-6.1.y OK (0) job log log
2023/06/29 04:54 1h07m bisect fix linux-6.1.y OK (0) job log log

Sample crash report:
team3843: Mode changed to "activebackup"
------------[ cut here ]------------
lockdep bfs error:-1
WARNING: CPU: 1 PID: 7451 at kernel/locking/lockdep.c:2059 print_bfs_bug+0x22/0x30 kernel/locking/lockdep.c:2059
Modules linked in:
CPU: 1 PID: 7451 Comm: syz-executor915 Not tainted 6.1.79-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
RIP: 0010:print_bfs_bug+0x22/0x30 kernel/locking/lockdep.c:2059
Code: ff ff e8 01 af 1f 09 90 55 53 89 fb e8 07 b9 c9 02 89 c5 e8 b0 1d ff ff 85 ed 74 10 48 c7 c7 a0 04 ec 8a 89 de e8 8e 92 e7 ff <0f> 0b 5b 5d c3 66 0f 1f 84 00 00 00 00 00 55 41 57 41 56 41 55 41
RSP: 0018:ffffc9000dc46688 EFLAGS: 00010046
RAX: ce97253775635900 RBX: 00000000ffffffff RCX: ffff888015713b80
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000001 R08: ffffffff81527e8e R09: ffffed1017324f1c
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff91a95138
R13: 000000000002d301 R14: ffffffff90288510 R15: ffffffff91a95058
FS:  000055555753d380(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055d69e2a51c8 CR3: 00000000393be000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 check_irq_usage kernel/locking/lockdep.c:2784 [inline]
 check_prev_add kernel/locking/lockdep.c:3094 [inline]
 check_prevs_add kernel/locking/lockdep.c:3209 [inline]
 validate_chain+0x4101/0x5950 kernel/locking/lockdep.c:3825
 __lock_acquire+0x125b/0x1f80 kernel/locking/lockdep.c:5049
 lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662
 do_write_seqcount_begin_nested include/linux/seqlock.h:515 [inline]
 do_write_seqcount_begin include/linux/seqlock.h:541 [inline]
 psi_account_irqtime+0x18c/0x5f0 kernel/sched/psi.c:1025
 update_rq_clock_task kernel/sched/core.c:704 [inline]
 update_rq_clock+0x228/0x870 kernel/sched/core.c:747
 __schedule+0x42b/0x4550 kernel/sched/core.c:6480
 preempt_schedule_common+0x83/0xd0 kernel/sched/core.c:6727
 preempt_schedule+0xd9/0xe0 kernel/sched/core.c:6751
 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:34
 vprintk_emit+0x683/0x740 kernel/printk/printk.c:2269
 _printk+0xd1/0x111 kernel/printk/printk.c:2293
 netdev_info+0x11e/0x165 net/core/dev.c:11309
 team_change_mode drivers/net/team/team.c:621 [inline]
 team_mode_option_set+0x356/0x3a0 drivers/net/team/team.c:1390
 team_option_set drivers/net/team/team.c:376 [inline]
 team_nl_cmd_options_set+0x9d6/0x1050 drivers/net/team/team.c:2684
 genl_family_rcv_msg_doit net/netlink/genetlink.c:756 [inline]
 genl_family_rcv_msg net/netlink/genetlink.c:833 [inline]
 genl_rcv_msg+0xc1a/0xf70 net/netlink/genetlink.c:850
 netlink_rcv_skb+0x1cd/0x410 net/netlink/af_netlink.c:2508
 genl_rcv+0x24/0x40 net/netlink/genetlink.c:861
 netlink_unicast_kernel net/netlink/af_netlink.c:1326 [inline]
 netlink_unicast+0x7d8/0x970 net/netlink/af_netlink.c:1352
 netlink_sendmsg+0xa26/0xd60 net/netlink/af_netlink.c:1874
 sock_sendmsg_nosec net/socket.c:718 [inline]
 __sock_sendmsg net/socket.c:730 [inline]
 ____sys_sendmsg+0x5a5/0x8f0 net/socket.c:2514
 ___sys_sendmsg net/socket.c:2568 [inline]
 __sys_sendmsg+0x2a9/0x390 net/socket.c:2597
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fcf0335fd49
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 71 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:00007ffc66d23938 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fcf0335fd49
RDX: 0000000000000000 RSI: 0000000020000080 RDI: 0000000000000005
RBP: 0000000000000000 R08: 0000000000000000 R09: 00000000000000a0
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/02/26 08:31 linux-6.1.y 81e1dc2f7001 8d446f15 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in print_bfs_bug
2023/04/30 07:54 linux-6.1.y ca1c9012c941 62df2017 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in print_bfs_bug
2023/05/29 09:41 linux-6.1.y a343b0dd87b4 cf184559 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in print_bfs_bug
* Struck through repros no longer work on HEAD.