A link change request failed with some changes committed already. Interface caif0 may have been left with an inconsistent configuration, please check. netlink: 4 bytes leftover after parsing attributes in process `syz-executor.5'. ================================================================== BUG: KASAN: use-after-free in __read_once_size include/linux/compiler.h:263 [inline] BUG: KASAN: use-after-free in dev_queue_xmit_nit+0x87e/0xa20 net/core/dev.c:2004 Read of size 8 at addr ffff888098a84e70 by task syz-executor.0/1045 IPv6: RTM_NEWROUTE with no NLM_F_CREATE or NLM_F_REPLACE CPU: 0 PID: 1045 Comm: syz-executor.0 Not tainted 4.19.211-syzkaller #0 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+0x1fc/0x2ef lib/dump_stack.c:118 print_address_description.cold+0x54/0x219 mm/kasan/report.c:256 kasan_report_error.cold+0x8a/0x1b9 mm/kasan/report.c:354 kasan_report mm/kasan/report.c:412 [inline] __asan_report_load8_noabort+0x88/0x90 mm/kasan/report.c:433 __read_once_size include/linux/compiler.h:263 [inline] dev_queue_xmit_nit+0x87e/0xa20 net/core/dev.c:2004 xmit_one net/core/dev.c:3252 [inline] dev_hard_start_xmit+0xaa/0x920 net/core/dev.c:3272 __dev_queue_xmit+0x269d/0x2e00 net/core/dev.c:3838 neigh_output include/net/neighbour.h:501 [inline] ip6_finish_output2+0x113d/0x2290 net/ipv6/ip6_output.c:120 ip6_finish_output+0x89b/0x10f0 net/ipv6/ip6_output.c:192 NF_HOOK_COND include/linux/netfilter.h:278 [inline] ip6_output+0x205/0x770 net/ipv6/ip6_output.c:209 dst_output include/net/dst.h:455 [inline] NF_HOOK include/linux/netfilter.h:289 [inline] mld_sendpack+0x674/0x1060 net/ipv6/mcast.c:1681 mld_send_cr net/ipv6/mcast.c:1977 [inline] mld_ifc_timer_expire+0x616/0xdf0 net/ipv6/mcast.c:2476 call_timer_fn+0x177/0x700 kernel/time/timer.c:1338 expire_timers+0x243/0x4e0 kernel/time/timer.c:1375 __run_timers kernel/time/timer.c:1696 [inline] run_timer_softirq+0x21c/0x670 kernel/time/timer.c:1709 __do_softirq+0x265/0x980 kernel/softirq.c:292 invoke_softirq kernel/softirq.c:372 [inline] irq_exit+0x215/0x260 kernel/softirq.c:412 exiting_irq arch/x86/include/asm/apic.h:536 [inline] smp_apic_timer_interrupt+0x136/0x550 arch/x86/kernel/apic/apic.c:1098 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894 RIP: 0010:preempt_schedule_irq+0xa6/0x140 kernel/sched/core.c:3744 Code: 00 00 e8 3d 04 29 f9 e8 58 3f 4f f9 4c 89 e8 48 c1 e8 03 80 3c 18 00 75 69 48 83 3d 9b 18 d9 01 00 74 5b fb 66 0f 1f 44 00 00 01 00 00 00 e8 40 d1 ff ff 48 c7 c0 90 82 f1 89 48 c1 e8 03 80 RSP: 0018:ffff88808bf8f700 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: 1ffffffff13e3053 RBX: dffffc0000000000 RCX: 1ffff110092701da RDX: 0000000000000000 RSI: ffff888049380ed8 RDI: ffff888049380e84 RBP: ffffed10092700c0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff888049380600 R13: ffffffff89f18298 R14: 0000000000000000 R15: 0000000000000000 retint_kernel+0x1b/0x2d RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:789 [inline] RIP: 0010:rcu_read_unlock_special+0x456/0xfc0 kernel/rcu/tree_plugin.h:601 Code: 00 00 00 00 00 fc ff df 48 c1 e8 03 80 3c 10 00 0f 85 bd 09 00 00 48 83 3d ee 24 a0 08 00 0f 84 37 06 00 00 48 8b 3c 24 57 9d <0f> 1f 44 00 00 48 83 c4 40 5b 5d 41 5c 41 5d 41 5e 41 5f c3 c3 48 RSP: 0018:ffff88808bf8f7d0 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff02 RAX: 1ffffffff13e3051 RBX: 0000000000000000 RCX: 1ffff110092701da RDX: dffffc0000000000 RSI: ffff888049380ed8 RDI: 0000000000000286 RBP: ffff888049380974 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff888049380600 R13: ffff888049380976 R14: ffff888049380975 R15: ffffffff89f88280 __rcu_read_unlock+0x158/0x160 kernel/rcu/tree_plugin.h:428 rcu_read_unlock include/linux/rcupdate.h:680 [inline] ext4_get_group_desc+0x1d6/0x4e0 fs/ext4/balloc.c:284 __ext4_get_inode_loc+0x19a/0x10f0 fs/ext4/inode.c:4608 ext4_get_inode_loc fs/ext4/inode.c:4734 [inline] ext4_reserve_inode_write+0xeb/0x260 fs/ext4/inode.c:5938 ext4_mark_inode_dirty+0x160/0x870 fs/ext4/inode.c:6105 ext4_dirty_inode+0x88/0xb0 fs/ext4/inode.c:6144 __mark_inode_dirty+0x16b/0x1140 fs/fs-writeback.c:2164 generic_update_time+0x21c/0x370 fs/inode.c:1659 update_time fs/inode.c:1675 [inline] touch_atime+0x23c/0x2a0 fs/inode.c:1746 file_accessed include/linux/fs.h:2123 [inline] ext4_file_mmap+0x2ef/0x420 fs/ext4/file.c:387 call_mmap include/linux/fs.h:1826 [inline] mmap_region+0xc94/0x16b0 mm/mmap.c:1757 do_mmap+0x8e8/0x1080 mm/mmap.c:1530 do_mmap_pgoff include/linux/mm.h:2329 [inline] vm_mmap_pgoff+0x197/0x200 mm/util.c:357 ksys_mmap_pgoff+0x298/0x5a0 mm/mmap.c:1580 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f090c124049 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f090aa99168 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007f090c236f60 RCX: 00007f090c124049 RDX: 0000000000000000 RSI: 0000000000b36000 RDI: 0000000020000000 RBP: 00007f090c17e08d R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000028011 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc9e28e56f R14: 00007f090aa99300 R15: 0000000000022000 Allocated by task 973: __do_kmalloc mm/slab.c:3727 [inline] __kmalloc+0x15a/0x3c0 mm/slab.c:3736 kmalloc include/linux/slab.h:520 [inline] sk_prot_alloc+0x1e2/0x2d0 net/core/sock.c:1483 sk_alloc+0x36/0xec0 net/core/sock.c:1537 packet_create+0x117/0x850 net/packet/af_packet.c:3259 __sock_create+0x3d8/0x740 net/socket.c:1365 sock_create net/socket.c:1416 [inline] __sys_socket+0xef/0x200 net/socket.c:1458 __do_sys_socket net/socket.c:1467 [inline] __se_sys_socket net/socket.c:1465 [inline] __x64_sys_socket+0x6f/0xb0 net/socket.c:1465 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe Freed by task 968: __cache_free mm/slab.c:3503 [inline] kfree+0xcc/0x210 mm/slab.c:3822 sk_prot_free net/core/sock.c:1520 [inline] __sk_destruct+0x684/0x8a0 net/core/sock.c:1602 sk_destruct net/core/sock.c:1617 [inline] __sk_free+0x165/0x3b0 net/core/sock.c:1628 sk_free+0x3b/0x50 net/core/sock.c:1639 sock_put include/net/sock.h:1713 [inline] packet_release+0x890/0xb70 net/packet/af_packet.c:3088 __sock_release+0xcd/0x2a0 net/socket.c:599 sock_close+0x15/0x20 net/socket.c:1214 __fput+0x2ce/0x890 fs/file_table.c:278 task_work_run+0x148/0x1c0 kernel/task_work.c:113 exit_task_work include/linux/task_work.h:22 [inline] do_exit+0xbf3/0x2be0 kernel/exit.c:870 do_group_exit+0x125/0x310 kernel/exit.c:967 get_signal+0x3f2/0x1f70 kernel/signal.c:2589 do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:799 exit_to_usermode_loop+0x204/0x2a0 arch/x86/entry/common.c:163 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe The buggy address belongs to the object at ffff888098a84640 which belongs to the cache kmalloc-4096 of size 4096 The buggy address is located 2096 bytes inside of 4096-byte region [ffff888098a84640, ffff888098a85640) The buggy address belongs to the page: page:ffffea000262a100 count:1 mapcount:0 mapping:ffff88813bff0dc0 index:0x0 compound_mapcount: 0 flags: 0xfff00000008100(slab|head) raw: 00fff00000008100 ffffea0002d34388 ffffea00027c2988 ffff88813bff0dc0 raw: 0000000000000000 ffff888098a84640 0000000100000001 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff888098a84d00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff888098a84d80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb >ffff888098a84e00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff888098a84e80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff888098a84f00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ================================================================== ---------------- Code disassembly (best guess): 0: 00 00 add %al,(%rax) 2: e8 3d 04 29 f9 callq 0xf9290444 7: e8 58 3f 4f f9 callq 0xf94f3f64 c: 4c 89 e8 mov %r13,%rax f: 48 c1 e8 03 shr $0x3,%rax 13: 80 3c 18 00 cmpb $0x0,(%rax,%rbx,1) 17: 75 69 jne 0x82 19: 48 83 3d 9b 18 d9 01 cmpq $0x0,0x1d9189b(%rip) # 0x1d918bc 20: 00 21: 74 5b je 0x7e 23: fb sti 24: 66 0f 1f 44 00 00 nopw 0x0(%rax,%rax,1) * 2a: bf 01 00 00 00 mov $0x1,%edi <-- trapping instruction 2f: e8 40 d1 ff ff callq 0xffffd174 34: 48 c7 c0 90 82 f1 89 mov $0xffffffff89f18290,%rax 3b: 48 c1 e8 03 shr $0x3,%rax 3f: 80 .byte 0x80