syzbot


INFO: trying to register non-static key in free_ipcs

Status: closed as invalid on 2018/02/13 20:00
Subsystems: kernel
[Documentation on labels]
Reported-by: syzbot+020b386f35de269c77e893a32aa07ab2b7c981ab@syzkaller.appspotmail.com
First crash: 2704d, last: 2704d

Sample crash report:
9pnet_virtio: no channels available for device ./file0
Buffer I/O error on dev loop0, logical block 0, async page read
INFO: trying to register non-static key.
the code is fine but needs lockdep annotation.
turning off the locking correctness validator.
CPU: 1 PID: 21631 Comm: syz-executor2 Not tainted 4.15.0-rc3-next-20171214+ #67
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0xe9/0x14b lib/dump_stack.c:53
 register_lock_class+0x164/0x5d0 kernel/locking/lockdep.c:752
 __lock_acquire+0xb4/0x1430 kernel/locking/lockdep.c:3314
 lock_acquire+0xbf/0x220 kernel/locking/lockdep.c:3914
 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline]
 _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:144
 spin_lock include/linux/spinlock.h:310 [inline]
 ipc_lock_object ipc/util.h:171 [inline]
 free_ipcs+0xc5/0x140 ipc/namespace.c:123
 sem_exit_ns+0x20/0x40 ipc/sem.c:200
 free_ipc_ns ipc/namespace.c:132 [inline]
 put_ipc_ns+0x55/0xd0 ipc/namespace.c:164
 free_nsproxy+0x63/0x100 kernel/nsproxy.c:180
 switch_task_namespaces+0x80/0x90 kernel/nsproxy.c:229
 exit_task_namespaces+0x17/0x20 kernel/nsproxy.c:234
 do_exit+0x3e1/0x1050 kernel/exit.c:868
 do_group_exit+0x60/0x100 kernel/exit.c:972
 get_signal+0x36c/0xad0 kernel/signal.c:2337
 do_signal+0x23/0x670 arch/x86/kernel/signal.c:809
 exit_to_usermode_loop+0x13c/0x160 arch/x86/entry/common.c:161
 prepare_exit_to_usermode arch/x86/entry/common.c:195 [inline]
 syscall_return_slowpath+0x1b4/0x1e0 arch/x86/entry/common.c:264
 entry_SYSCALL_64_fastpath+0x94/0x96
RIP: 0033:0x452a39
RSP: 002b:00007f0c9c350c58 EFLAGS: 00000212 ORIG_RAX: 000000000000011d
RAX: fffffffffffffffb RBX: 00000000007580d8 RCX: 0000000000452a39
RDX: 0000000000000000 RSI: 0000000000000011 RDI: 000000000000001c
RBP: 000000000000006c R08: 0000000000000000 R09: 0000000000000000
R10: 0000000044400004 R11: 0000000000000212 R12: 00000000006eeac0
R13: 00000000ffffffff R14: 00007f0c9c3516d4 R15: 000000000000000c
audit: type=1400 audit(1513383346.376:11455): avc:  denied  { sys_ptrace } for  pid=21695 comm="ps" capability=19  scontext=system_u:system_r:kernel_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=cap_userns permissive=1
QAT: Invalid ioctl
QAT: Invalid ioctl
QAT: Invalid ioctl
QAT: Invalid ioctl

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2017/12/16 00:15 linux-next 6084b576dca2 ac20b98c .config console log report ci-upstream-next-kasan-gce
2017/12/15 09:46 linux-next 6084b576dca2 ac20b98c .config console log report ci-upstream-next-kasan-gce
* Struck through repros no longer work on HEAD.