netlink: 24 bytes leftover after parsing attributes in process `syz-executor.1'. kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 14 Comm: kworker/0:1 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events netlink_sock_destruct_work RIP: 0010:klist_iter_exit+0x21/0x80 lib/klist.c:314 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.1'. Code: 66 0f 1f 84 00 00 00 00 00 41 54 55 53 48 89 fb e8 34 69 74 f9 48 8d 6b 08 48 b8 00 00 00 00 00 fc ff df 48 89 ea 48 c1 ea 03 <80> 3c 02 00 75 40 4c 8b 63 08 4d 85 e4 74 2e e8 0b 69 74 f9 31 f6 RSP: 0018:ffff8880b5a97c48 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000001 RSI: ffffffff87ee1c3c RDI: 0000000000000000 FAULT_INJECTION: forcing a failure. name failslab, interval 1, probability 0, space 0, times 0 RBP: 0000000000000008 R08: 0000000000000000 R09: fffffbfff15cf8ac R10: ffffffff8ae7c567 R11: 0000000000000000 R12: 0000000000000000 R13: ffffffff896f11a0 R14: ffff8880ba02a8c0 R15: ffff8880ba02f000 FS: 0000000000000000(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f2f0f9fff78 CR3: 0000000091598000 CR4: 00000000003426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nfc_device_iter_exit net/nfc/nfc.h:133 [inline] nfc_genl_dump_devices_done+0x31/0x50 net/nfc/netlink.c:658 genl_lock_done+0x82/0xc0 net/netlink/genetlink.c:495 netlink_sock_destruct+0x96/0x280 net/netlink/af_netlink.c:398 CPU: 1 PID: 21860 Comm: syz-executor.3 Not tainted 4.19.211-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 __sk_destruct+0x4b/0x8a0 net/core/sock.c:1576 Call Trace: sk_destruct net/core/sock.c:1617 [inline] __sk_free+0x165/0x3b0 net/core/sock.c:1628 __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 sk_free+0x3b/0x50 net/core/sock.c:1639 fail_dump lib/fault-inject.c:51 [inline] should_fail.cold+0xa/0xf lib/fault-inject.c:149 process_one_work+0x864/0x1570 kernel/workqueue.c:2153 worker_thread+0x64c/0x1130 kernel/workqueue.c:2296 __should_failslab+0x115/0x180 mm/failslab.c:32 should_failslab+0x5/0x10 mm/slab_common.c:1590 kthread+0x33f/0x460 kernel/kthread.c:259 slab_pre_alloc_hook mm/slab.h:424 [inline] slab_alloc mm/slab.c:3383 [inline] kmem_cache_alloc_trace+0x46/0x380 mm/slab.c:3623 kmalloc include/linux/slab.h:515 [inline] __hw_addr_create_ex+0x5b/0x310 net/core/dev_addr_lists.c:34 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 __hw_addr_add_ex+0x1ed/0x2b0 net/core/dev_addr_lists.c:80 Modules linked in: __hw_addr_add net/core/dev_addr_lists.c:88 [inline] dev_addr_init+0x10b/0x1f0 net/core/dev_addr_lists.c:371 ---[ end trace b84ebc661dba588b ]--- alloc_netdev_mqs+0x13d/0xd50 net/core/dev.c:9163 ip6gre_tunnel_locate+0x333/0x7e0 net/ipv6/ip6_gre.c:372 RIP: 0010:klist_iter_exit+0x21/0x80 lib/klist.c:314 ip6gre_tunnel_ioctl+0x48e/0xa20 net/ipv6/ip6_gre.c:1304 Code: 66 0f 1f 84 00 00 00 00 00 41 54 55 53 48 89 fb e8 34 69 74 f9 48 8d 6b 08 48 b8 00 00 00 00 00 fc ff df 48 89 ea 48 c1 ea 03 <80> 3c 02 00 75 40 4c 8b 63 08 4d 85 e4 74 2e e8 0b 69 74 f9 31 f6 RSP: 0018:ffff8880b5a97c48 EFLAGS: 00010202 dev_ifsioc+0x256/0x8c0 net/core/dev_ioctl.c:322 dev_ioctl+0x279/0xc50 net/core/dev_ioctl.c:513 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 sock_ioctl+0x448/0x5d0 net/socket.c:1069 RDX: 0000000000000001 RSI: ffffffff87ee1c3c RDI: 0000000000000000 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0xcdb/0x12e0 fs/ioctl.c:688 RBP: 0000000000000008 R08: 0000000000000000 R09: fffffbfff15cf8ac R10: ffffffff8ae7c567 R11: 0000000000000000 R12: 0000000000000000 ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705 R13: ffffffff896f11a0 R14: ffff8880ba02a8c0 R15: ffff8880ba02f000 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f8769957ae9 FS: 0000000000000000(0000) GS:ffff8880ba000000(0000) knlGS:0000000000000000 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f87688cd188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f8769a6af60 RCX: 00007f8769957ae9 RDX: 0000000020000000 RSI: 00000000000089f1 RDI: 0000000000000003 RBP: 00007f87688cd1d0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 R13: 00007fff627a455f R14: 00007f87688cd300 R15: 0000000000022000 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.1'. CR2: 00007ffc2cbccc20 CR3: 000000009e47e000 CR4: 00000000003426f0 netlink: 24 bytes leftover after parsing attributes in process `syz-executor.1'. DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 66 0f 1f 84 00 00 00 nopw 0x0(%rax,%rax,1) 7: 00 00 9: 41 54 push %r12 b: 55 push %rbp c: 53 push %rbx d: 48 89 fb mov %rdi,%rbx 10: e8 34 69 74 f9 callq 0xf9746949 15: 48 8d 6b 08 lea 0x8(%rbx),%rbp 19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 20: fc ff df 23: 48 89 ea mov %rbp,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 75 40 jne 0x70 30: 4c 8b 63 08 mov 0x8(%rbx),%r12 34: 4d 85 e4 test %r12,%r12 37: 74 2e je 0x67 39: e8 0b 69 74 f9 callq 0xf9746949 3e: 31 f6 xor %esi,%esi