------------[ cut here ]------------ RTNL: assertion failed at ./include/net/netdev_lock.h (72) WARNING: ./include/net/netdev_lock.h:72 at netdev_assert_locked_ops_compat include/net/netdev_lock.h:72 [inline], CPU#0: syz.4.651/7463 WARNING: ./include/net/netdev_lock.h:72 at netdev_queue_get_dma_dev+0x52e/0x660 net/core/netdev_queues.c:43, CPU#0: syz.4.651/7463 Modules linked in: CPU: 0 UID: 0 PID: 7463 Comm: syz.4.651 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:netdev_assert_locked_ops_compat include/net/netdev_lock.h:72 [inline] RIP: 0010:netdev_queue_get_dma_dev+0x53a/0x660 net/core/netdev_queues.c:43 Code: 89 c5 89 c6 e8 77 c9 68 f8 45 85 ed 0f 85 be fb ff ff e8 f9 ce 68 f8 48 8d 3d 02 e5 8f 07 ba 48 00 00 00 48 c7 c6 e0 8c 18 8d <67> 48 0f b9 3a e9 9c fb ff ff e8 d7 ce 68 f8 48 8d bd 00 08 00 00 RSP: 0018:ffffc900027dfa80 EFLAGS: 00010287 RAX: 0000000000000453 RBX: ffff88803d9fa000 RCX: ffffc900303e2000 RDX: 0000000000000048 RSI: ffffffff8d188ce0 RDI: ffffffff91317af0 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000 R13: 0000000000000000 R14: ffff888022f8a568 R15: ffffc900027dfbe0 FS: 00007f4ac1bf66c0(0000) GS:ffff8880d5dd8000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000002000 CR3: 000000006065e000 CR4: 0000000000352ef0 Call Trace: zcrx_register_netdev io_uring/zcrx.c:831 [inline] io_register_zcrx+0xe94/0x1d30 io_uring/zcrx.c:983 __io_uring_register io_uring/register.c:942 [inline] __do_sys_io_uring_register+0x1193/0x1bc0 io_uring/register.c:1040 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f4ac399e0d9 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f4ac1bf6028 EFLAGS: 00000246 ORIG_RAX: 00000000000001ab RAX: ffffffffffffffda RBX: 00007f4ac3c25fa0 RCX: 00007f4ac399e0d9 RDX: 0000200000000100 RSI: 0000000000000020 RDI: 0000000000000005 RBP: 00007f4ac3a35024 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f4ac3c26038 R14: 00007f4ac3c25fa0 R15: 00007ffed198c238 ---------------- Code disassembly (best guess): 0: 89 c5 mov %eax,%ebp 2: 89 c6 mov %eax,%esi 4: e8 77 c9 68 f8 call 0xf868c980 9: 45 85 ed test %r13d,%r13d c: 0f 85 be fb ff ff jne 0xfffffbd0 12: e8 f9 ce 68 f8 call 0xf868cf10 17: 48 8d 3d 02 e5 8f 07 lea 0x78fe502(%rip),%rdi # 0x78fe520 1e: ba 48 00 00 00 mov $0x48,%edx 23: 48 c7 c6 e0 8c 18 8d mov $0xffffffff8d188ce0,%rsi * 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2f: e9 9c fb ff ff jmp 0xfffffbd0 34: e8 d7 ce 68 f8 call 0xf868cf10 39: 48 8d bd 00 08 00 00 lea 0x800(%rbp),%rdi