syzbot


WARNING in validate_chain

Status: auto-obsoleted due to no activity on 2024/07/17 20:43
Reported-by: syzbot+6315b870b87a3d2fa0c7@syzkaller.appspotmail.com
First crash: 229d, last: 228d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in validate_chain mm C error error 19 211d 240d 0/28 auto-obsoleted due to no activity on 2024/07/19 07:52

Sample crash report:
------------[ cut here ]------------
DEBUG_LOCKS_WARN_ON(!irqs_disabled())
WARNING: CPU: 1 PID: 4169 at kernel/locking/lockdep.c:150 lockdep_unlock+0x1e2/0x300 kernel/locking/lockdep.c:150
Modules linked in:
CPU: 1 PID: 4169 Comm: syz-executor.1 Not tainted 6.1.84-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:lockdep_unlock+0x1e2/0x300 kernel/locking/lockdep.c:150
Code: 04 30 84 c0 0f 85 e5 00 00 00 83 3d 8f 8f 09 0d 00 0f 85 ef fe ff ff 48 c7 c7 60 ed eb 8a 48 c7 c6 a0 ed eb 8a e8 ae 6c e8 ff <0f> 0b e9 d5 fe ff ff e8 b2 ab ca 02 85 c0 0f 84 76 ff ff ff 48 c7
RSP: 0018:ffffc900039eee60 EFLAGS: 00010246
RAX: b98644277dff3a00 RBX: 1ffff9200073ddd0 RCX: 0000000000040000
RDX: ffffc90005881000 RSI: 00000000000065d0 RDI: 00000000000065d1
RBP: ffffc900039eeef0 R08: ffffffff81527eae R09: ffffed1017324f1c
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff9200073ddcc
R13: ffff88807a002901 R14: dffffc0000000000 R15: ffffc900039eee80
FS:  00007f04caf346c0(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa1833a8000 CR3: 000000007789b000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 graph_unlock kernel/locking/lockdep.c:186 [inline]
 validate_chain+0x13ce/0x5950 kernel/locking/lockdep.c:3829
 __lock_acquire+0x125b/0x1f80 kernel/locking/lockdep.c:5049
 lock_acquire+0x1f8/0x5a0 kernel/locking/lockdep.c:5662
 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline]
 _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154
 __queue_work+0x58c/0xf90
 queue_work_on+0x14b/0x250 kernel/workqueue.c:1548
 queue_work include/linux/workqueue.h:512 [inline]
 synchronize_rcu_expedited_queue_work kernel/rcu/tree_exp.h:527 [inline]
 synchronize_rcu_expedited+0x69d/0x930 kernel/rcu/tree_exp.h:972
 synchronize_rcu+0x11c/0x3f0 kernel/rcu/tree.c:3575
 rcu_sync_enter+0x1f6/0x340 kernel/rcu/sync.c:149
 percpu_down_write+0x69/0x2f0 kernel/locking/percpu-rwsem.c:231
 bp_constraints_lock+0xdd/0x1b0 kernel/events/hw_breakpoint.c:133
 reserve_bp_slot kernel/events/hw_breakpoint.c:625 [inline]
 register_perf_hw_breakpoint+0x8c/0x260 kernel/events/hw_breakpoint.c:746
 hw_breakpoint_event_init+0x89/0x110 kernel/events/hw_breakpoint.c:986
 perf_try_init_event+0x135/0x3e0 kernel/events/core.c:11498
 perf_init_event kernel/events/core.c:11562 [inline]
 perf_event_alloc+0xf66/0x2120 kernel/events/core.c:11853
 __do_sys_perf_event_open kernel/events/core.c:12389 [inline]
 __se_sys_perf_event_open+0x7d2/0x4960 kernel/events/core.c:12281
 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:0x7f04ca27de69
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 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 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f04caf340c8 EFLAGS: 00000246 ORIG_RAX: 000000000000012a
RAX: ffffffffffffffda RBX: 00007f04ca3abf80 RCX: 00007f04ca27de69
RDX: 0000000000000000 RSI: ffffffffffffffff RDI: 0000000020000000
RBP: 00007f04ca2ca47a R08: 0000000000000000 R09: 0000000000000000
R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f04ca3abf80 R15: 00007ffdc93210c8
 </TASK>

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/08 20:42 linux-6.1.y 347385861c50 53df08b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in validate_chain
2024/04/08 10:38 linux-6.1.y 347385861c50 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in validate_chain
2024/04/07 21:18 linux-6.1.y 347385861c50 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING in validate_chain
* Struck through repros no longer work on HEAD.