syzbot


WARNING in validate_chain

Status: upstream: reported C repro on 2024/03/28 02:29
Subsystems: net block
[Documentation on labels]
Reported-by: syzbot+6647fcd6542faf3abd06@syzkaller.appspotmail.com
First crash: 23d, last: 15h07m
Cause bisection: failed (error log, bisect log)
  
Discussions (2)
Title Replies (including bot) Last reply
[syzbot] Monthly block report (Apr 2024) 0 (1) 2024/04/12 13:18
[syzbot] [net?] WARNING in validate_chain 0 (1) 2024/03/28 02:29
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 WARNING in validate_chain 3 8d01h 9d00h 0/3 upstream: reported on 2024/04/07 21:18

Sample crash report:
------------[ cut here ]------------
DEBUG_LOCKS_WARN_ON(!irqs_disabled())
WARNING: CPU: 0 PID: 5080 at kernel/locking/lockdep.c:150 lockdep_unlock+0x1e6/0x300 kernel/locking/lockdep.c:150
Modules linked in:
CPU: 0 PID: 5080 Comm: kworker/0:4 Not tainted 6.8.0-syzkaller-05271-gf99c5f563c17 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Workqueue: events free_ipc
RIP: 0010:lockdep_unlock+0x1e6/0x300 kernel/locking/lockdep.c:150
Code: 0f b6 04 30 84 c0 0f 85 e4 00 00 00 83 3d 61 90 15 0e 00 75 19 90 48 c7 c7 c0 c0 aa 8b 48 c7 c6 00 c1 aa 8b e8 2b 78 e6 ff 90 <0f> 0b 90 90 90 e9 d2 fe ff ff 90 e8 0a a4 2f 03 85 c0 74 3a 48 c7
RSP: 0018:ffffc90003b5e920 EFLAGS: 00010246
RAX: ab5fdba0f6c0b900 RBX: 1ffff9200076bd28 RCX: ffff888019f03c00
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90003b5e9b0 R08: ffffffff8157cc12 R09: 1ffff110172851a2
R10: dffffc0000000000 R11: ffffed10172851a3 R12: 1ffff9200076bd24
R13: ffff888019f04798 R14: dffffc0000000000 R15: ffffc90003b5e940
FS:  0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f6fef6492d0 CR3: 0000000077a50000 CR4: 00000000003506f0
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+0x15a2/0x58e0 kernel/locking/lockdep.c:3873
 __lock_acquire+0x1346/0x1fd0 kernel/locking/lockdep.c:5137
 lock_acquire+0x1e4/0x530 kernel/locking/lockdep.c:5754
 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
 _raw_spin_lock_irqsave+0xd5/0x120 kernel/locking/spinlock.c:162
 stack_depot_save_flags+0x246/0x860 lib/stackdepot.c:681
 save_stack+0x109/0x1f0 mm/page_owner.c:130
 __reset_page_owner+0x44/0x2d0 mm/page_owner.c:150
 reset_page_owner include/linux/page_owner.h:24 [inline]
 free_pages_prepare mm/page_alloc.c:1140 [inline]
 free_unref_page_prepare+0x968/0xa90 mm/page_alloc.c:2346
 free_unref_page+0x37/0x3f0 mm/page_alloc.c:2486
 stack_depot_save_flags+0x38f/0x860 lib/stackdepot.c:714
 kasan_save_stack mm/kasan/common.c:48 [inline]
 kasan_save_track+0x51/0x80 mm/kasan/common.c:68
 unpoison_slab_object mm/kasan/common.c:312 [inline]
 __kasan_slab_alloc+0x66/0x80 mm/kasan/common.c:338
 kasan_slab_alloc include/linux/kasan.h:201 [inline]
 slab_post_alloc_hook mm/slub.c:3813 [inline]
 slab_alloc_node mm/slub.c:3860 [inline]
 kmem_cache_alloc+0x172/0x350 mm/slub.c:3867
 kmem_cache_zalloc include/linux/slab.h:701 [inline]
 fill_pool lib/debugobjects.c:168 [inline]
 debug_objects_fill_pool+0x67e/0x9b0 lib/debugobjects.c:615
 debug_object_activate+0x135/0x510 lib/debugobjects.c:704
 debug_rcu_head_queue kernel/rcu/rcu.h:227 [inline]
 __call_rcu_common kernel/rcu/tree.c:2719 [inline]
 call_rcu+0x97/0xa70 kernel/rcu/tree.c:2838
 proc_invalidate_siblings_dcache+0x452/0x6e0 fs/proc/inode.c:152
 proc_sys_invalidate_dcache fs/proc/proc_sysctl.c:283 [inline]
 start_unregistering fs/proc/proc_sysctl.c:308 [inline]
 drop_sysctl_table+0x171/0x4f0 fs/proc/proc_sysctl.c:1498
 unregister_sysctl_table+0x41/0x60 fs/proc/proc_sysctl.c:1523
 retire_ipc_sysctls+0x5e/0x80 ipc/ipc_sysctl.c:280
 free_ipc_ns ipc/namespace.c:158 [inline]
 free_ipc+0x13d/0x280 ipc/namespace.c:179
 process_one_work kernel/workqueue.c:3254 [inline]
 process_scheduled_works+0xa00/0x1770 kernel/workqueue.c:3335
 worker_thread+0x86d/0xd70 kernel/workqueue.c:3416
 kthread+0x2f0/0x390 kernel/kthread.c:388
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243
 </TASK>

Crashes (13):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/16 06:38 net f99c5f563c17 0d592ce4 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in validate_chain
2024/04/13 22:30 bpf 443574b03387 c8349e48 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in validate_chain
2024/04/13 10:06 net f99c5f563c17 c8349e48 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in validate_chain
2024/04/13 01:31 bpf 443574b03387 c8349e48 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in validate_chain
2024/04/11 18:36 net f99c5f563c17 478efa7f .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in validate_chain
2024/04/09 19:12 bpf 443574b03387 56086b24 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in validate_chain
2024/03/24 02:27 net f99c5f563c17 0ea90952 .config console log report syz C [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in validate_chain
2024/04/09 20:45 upstream fe46a7dd189e 56086b24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in validate_chain
2024/04/15 18:27 bpf 443574b03387 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in validate_chain
2024/04/13 02:14 net f99c5f563c17 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in validate_chain
2024/04/09 14:59 net f99c5f563c17 56086b24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce WARNING in validate_chain
2024/04/09 06:49 bpf 443574b03387 53df08b6 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-kasan-gce WARNING in validate_chain
2024/03/29 17:37 bpf-next 14bb1e8c8d4a c52bcb23 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-bpf-next-kasan-gce WARNING in validate_chain
* Struck through repros no longer work on HEAD.