syzbot


INFO: trying to register non-static key in clear_inode

Status: auto-closed as invalid on 2020/09/14 12:04
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+78cf4962d1cf5f23a0c9@syzkaller.appspotmail.com
First crash: 1433d, last: 1433d
Discussions (1)
Title Replies (including bot) Last reply
INFO: trying to register non-static key in clear_inode 0 (1) 2020/05/18 18:23
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: trying to register non-static key in clear_inode (2) fs 1 1292d 1292d 0/26 auto-closed as invalid on 2021/02/02 04:56

Sample crash report:
INFO: trying to register non-static key.
the code is fine but needs lockdep annotation.
turning off the locking correctness validator.
CPU: 1 PID: 235 Comm: kworker/u4:5 Not tainted 5.7.0-rc5-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: krdsd rds_tcp_accept_worker
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x188/0x20d lib/dump_stack.c:118
 assign_lock_key kernel/locking/lockdep.c:913 [inline]
 register_lock_class+0x1664/0x1760 kernel/locking/lockdep.c:1225
 __lock_acquire+0x104/0x4c50 kernel/locking/lockdep.c:4234
 lock_acquire+0x1f2/0x8f0 kernel/locking/lockdep.c:4934
 __raw_spin_lock_irq include/linux/spinlock_api_smp.h:128 [inline]
 _raw_spin_lock_irq+0x5b/0x80 kernel/locking/spinlock.c:167
 spin_lock_irq include/linux/spinlock.h:378 [inline]
 clear_inode+0x1b/0x1e0 fs/inode.c:529
 evict+0x4ee/0x650 fs/inode.c:579
 iput_final fs/inode.c:1572 [inline]
 iput+0x536/0x8c0 fs/inode.c:1598
 __sock_release+0x20c/0x280 net/socket.c:617
 rds_tcp_accept_one+0x582/0xb70 net/rds/tcp_listen.c:251
 rds_tcp_accept_worker+0x50/0x80 net/rds/tcp.c:525
 process_one_work+0x965/0x16a0 kernel/workqueue.c:2268
 worker_thread+0x96/0xe20 kernel/workqueue.c:2414
 kthread+0x388/0x470 kernel/kthread.c:268
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:351

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/05/17 12:03 upstream 5a9ffb954a39 37bccd4e .config console log report ci-upstream-kasan-gce
* Struck through repros no longer work on HEAD.