kvm [14647]: vcpu0, guest rIP: 0x145 Hyper-V unhandled rdmsr: 0x40000040 kvm [14647]: vcpu0, guest rIP: 0x145 Hyper-V unhandled rdmsr: 0x4000000d EXT4-fs (sda1): Unrecognized mount option "xt" or missing value ================================================================== BUG: KASAN: use-after-free in tcp_retransmit_timer+0x305e/0x3470 net/ipv4/tcp_timer.c:485 Read of size 8 at addr ffff88805c470378 by task systemd-udevd/4698 CPU: 1 PID: 4698 Comm: systemd-udevd Not tainted 4.19.178-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 tcp_retransmit_timer+0x305e/0x3470 net/ipv4/tcp_timer.c:485 tcp_write_timer_handler+0x5e6/0xa60 net/ipv4/tcp_timer.c:598 tcp_write_timer+0x103/0x1b0 net/ipv4/tcp_timer.c:618 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:535 [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:arch_local_irq_restore arch/x86/include/asm/paravirt.h:789 [inline] RIP: 0010:kmem_cache_free+0x11c/0x260 mm/slab.c:3766 Code: 11 48 63 75 74 48 89 df e8 01 00 de 01 e9 68 ff ff ff e8 b7 a1 cf ff 48 83 3d a7 9a 59 08 00 0f 84 f8 00 00 00 4c 89 e7 57 9d <0f> 1f 44 00 00 eb 86 65 8b 05 b6 99 69 7e 83 f8 07 0f 87 e7 00 00 RSP: 0018:ffff88809b9dfb40 EFLAGS: 00000286 ORIG_RAX: ffffffffffffff13 RAX: 0000000000000007 RBX: ffff888056054200 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000286 RBP: ffff88813be83e40 R08: 0000000000400000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000286 R13: ffffffff81a673c1 R14: ffff888056054200 R15: ffff88809b9dfc18 putname+0xe1/0x120 fs/namei.c:261 filename_lookup+0x3d0/0x5a0 fs/namei.c:2358 user_path_at include/linux/namei.h:57 [inline] vfs_statx+0x113/0x210 fs/stat.c:185 vfs_lstat include/linux/fs.h:3137 [inline] __do_sys_newlstat fs/stat.c:350 [inline] __se_sys_newlstat+0x96/0x120 fs/stat.c:344 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x7f5ad7b9e335 Code: 69 db 2b 00 64 c7 00 16 00 00 00 b8 ff ff ff ff c3 0f 1f 40 00 83 ff 01 48 89 f0 77 30 48 89 c7 48 89 d6 b8 06 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 03 f3 c3 90 48 8b 15 31 db 2b 00 f7 d8 64 89 RSP: 002b:00007ffd160143c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000006 RAX: ffffffffffffffda RBX: 00005633516f5130 RCX: 00007f5ad7b9e335 RDX: 00007ffd16014400 RSI: 00007ffd16014400 RDI: 00005633516f4130 RBP: 00007ffd160144c0 R08: 00007f5ad7e5d178 R09: 0000000000001010 R10: 00007f5ad7e5cb58 R11: 0000000000000246 R12: 00005633516f4130 R13: 00005633516f4144 R14: 000056335170163d R15: 0000563351701644 Allocated by task 8138: kmem_cache_alloc+0x122/0x370 mm/slab.c:3559 kmem_cache_zalloc include/linux/slab.h:699 [inline] net_alloc net/core/net_namespace.c:385 [inline] copy_net_ns+0x106/0x340 net/core/net_namespace.c:425 create_new_namespaces+0x3f6/0x7b0 kernel/nsproxy.c:107 unshare_nsproxy_namespaces+0xbd/0x1f0 kernel/nsproxy.c:206 ksys_unshare+0x36c/0x9a0 kernel/fork.c:2541 __do_sys_unshare kernel/fork.c:2609 [inline] __se_sys_unshare kernel/fork.c:2607 [inline] __x64_sys_unshare+0x2d/0x40 kernel/fork.c:2607 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe Freed by task 364: __cache_free mm/slab.c:3503 [inline] kmem_cache_free+0x7f/0x260 mm/slab.c:3765 net_free net/core/net_namespace.c:401 [inline] net_drop_ns+0x73/0x90 net/core/net_namespace.c:408 cleanup_net+0x64c/0x8b0 net/core/net_namespace.c:571 process_one_work+0x864/0x1570 kernel/workqueue.c:2152 worker_thread+0x64c/0x1130 kernel/workqueue.c:2295 kthread+0x33f/0x460 kernel/kthread.c:259 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415 The buggy address belongs to the object at ffff88805c470140 which belongs to the cache net_namespace of size 8640 The buggy address is located 568 bytes inside of 8640-byte region [ffff88805c470140, ffff88805c472300) The buggy address belongs to the page: page:ffffea0001711c00 count:1 mapcount:0 mapping:ffff8880b5bbed80 index:0x0 compound_mapcount: 0 flags: 0xfff00000008100(slab|head) raw: 00fff00000008100 ffffea0002447708 ffffea000171b708 ffff8880b5bbed80 raw: 0000000000000000 ffff88805c470140 0000000100000001 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff88805c470200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88805c470280: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb >ffff88805c470300: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff88805c470380: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88805c470400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ==================================================================