device nr0 entered promiscuous mode INFO: trying to register non-static key. the code is fine but needs lockdep annotation. turning off the locking correctness validator. CPU: 1 PID: 19466 Comm: syz-executor0 Not tainted 4.19.0-rc5+ #109 kobject: 'loop2' (00000000d61c4b2f): kobject_uevent_env Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1c4/0x2b4 lib/dump_stack.c:113 kobject: 'loop2' (00000000d61c4b2f): fill_kobj_path: path = '/devices/virtual/block/loop2' assign_lock_key kernel/locking/lockdep.c:727 [inline] register_lock_class+0x21a7/0x29b0 kernel/locking/lockdep.c:753 kobject: 'nr0' (00000000042e03a2): kobject_add_internal: parent: 'net', set: 'devices' kobject: 'nr0' (00000000042e03a2): kobject_uevent_env kobject: 'nr0' (00000000042e03a2): fill_kobj_path: path = '/devices/virtual/net/nr0' kobject: 'queues' (00000000c9bd8f5a): kobject_add_internal: parent: 'nr0', set: '' __lock_acquire+0x1c1/0x4ec0 kernel/locking/lockdep.c:3299 lock_acquire+0x1ed/0x520 kernel/locking/lockdep.c:3900 __mutex_lock_common kernel/locking/mutex.c:925 [inline] __mutex_lock+0x166/0x1700 kernel/locking/mutex.c:1072 mutex_lock_nested+0x16/0x20 kernel/locking/mutex.c:1087 tun_get_user+0x1e02/0x42a0 drivers/net/tun.c:1826 tun_chr_write_iter+0xb9/0x160 drivers/net/tun.c:2001 call_write_iter include/linux/fs.h:1808 [inline] new_sync_write fs/read_write.c:474 [inline] __vfs_write+0x6b8/0x9f0 fs/read_write.c:487 vfs_write+0x1fc/0x560 fs/read_write.c:549 ksys_write+0x101/0x260 fs/read_write.c:598 __do_sys_write fs/read_write.c:610 [inline] __se_sys_write fs/read_write.c:607 [inline] __x64_sys_write+0x73/0xb0 fs/read_write.c:607 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457579 Code: 1d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 eb b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f5e8bea4c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457579 RDX: 0000000000000012 RSI: 0000000020000000 RDI: 0000000000000008 RBP: 000000000072bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f5e8bea56d4 R13: 00000000004c5574 R14: 00000000004d8e98 R15: 00000000ffffffff kobject: 'queues' (00000000c9bd8f5a): kobject_uevent_env kobject: 'loop4' (00000000fac9fa04): kobject_uevent_env kobject: 'queues' (00000000c9bd8f5a): kobject_uevent_env: filter function caused the event to drop! WARNING: CPU: 0 PID: 19466 at net/core/flow_dissector.c:764 __skb_flow_dissect+0xdc5/0x5c10 net/core/flow_dissector.c:764 kobject: 'rx-0' (00000000cd35f45a): kobject_add_internal: parent: 'queues', set: 'queues'