bridge0: port 1(bridge_slave_0) entered blocking state bridge0: port 1(bridge_slave_0) entered listening state device bridge0 entered promiscuous mode IPv6: ADDRCONF(NETDEV_UP): bridge0: link is not ready ================================================================== BUG: KASAN: use-after-free in tcp_orphan_retries net/ipv4/tcp_timer.c:127 [inline] BUG: KASAN: use-after-free in tcp_probe_timer net/ipv4/tcp_timer.c:362 [inline] BUG: KASAN: use-after-free in tcp_write_timer_handler+0x90f/0x930 net/ipv4/tcp_timer.c:591 Read of size 4 at addr ffff8880a8944aa8 by task syz-executor1/11988 CPU: 1 PID: 11988 Comm: syz-executor1 Not tainted 5.0.0-rc2+ #12 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+0x1db/0x2d0 lib/dump_stack.c:113 print_address_description.cold+0x7c/0x20d mm/kasan/report.c:187 kasan_report.cold+0x1b/0x40 mm/kasan/report.c:317 __asan_report_load4_noabort+0x14/0x20 mm/kasan/generic_report.c:134 tcp_orphan_retries net/ipv4/tcp_timer.c:127 [inline] tcp_probe_timer net/ipv4/tcp_timer.c:362 [inline] tcp_write_timer_handler+0x90f/0x930 net/ipv4/tcp_timer.c:591 tcp_write_timer+0x10e/0x1d0 net/ipv4/tcp_timer.c:607 call_timer_fn+0x254/0x900 kernel/time/timer.c:1325 expire_timers kernel/time/timer.c:1362 [inline] __run_timers+0x6fc/0xd50 kernel/time/timer.c:1681 run_timer_softirq+0x52/0xb0 kernel/time/timer.c:1694 __do_softirq+0x30b/0xb11 kernel/softirq.c:292 do_softirq_own_stack+0x2a/0x40 arch/x86/entry/entry_64.S:1027 do_softirq.part.0+0x11a/0x170 kernel/softirq.c:337 do_softirq kernel/softirq.c:329 [inline] __local_bh_enable_ip+0x211/0x270 kernel/softirq.c:189 __raw_spin_unlock_bh include/linux/spinlock_api_smp.h:176 [inline] _raw_spin_unlock_bh+0x31/0x40 kernel/locking/spinlock.c:200 spin_unlock_bh include/linux/spinlock.h:374 [inline] tcp_metrics_flush_all+0x305/0x430 net/ipv4/tcp_metrics.c:903 tcp_net_metrics_exit_batch+0x10/0x20 net/ipv4/tcp_metrics.c:1021 ops_exit_list.isra.0+0x105/0x160 net/core/net_namespace.c:156 setup_net+0x4b2/0x8c0 net/core/net_namespace.c:331 copy_net_ns+0x2ae/0x4b0 net/core/net_namespace.c:437 create_new_namespaces+0x4ce/0x930 kernel/nsproxy.c:107 unshare_nsproxy_namespaces+0xc2/0x200 kernel/nsproxy.c:206 ksys_unshare+0x6d7/0xfb0 kernel/fork.c:2550 __do_sys_unshare kernel/fork.c:2618 [inline] __se_sys_unshare kernel/fork.c:2616 [inline] __x64_sys_unshare+0x31/0x40 kernel/fork.c:2616 do_syscall_64+0x1a3/0x800 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x458099 Code: 6d b7 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 3b b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f6ed414fc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000110 RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 0000000000458099 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000060000000 RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f6ed41506d4 R13: 00000000004c6d60 R14: 00000000004dc280 R15: 00000000ffffffff Allocated by task 99: save_stack+0x45/0xd0 mm/kasan/common.c:73 set_track mm/kasan/common.c:85 [inline] __kasan_kmalloc mm/kasan/common.c:496 [inline] __kasan_kmalloc.constprop.0+0xcf/0xe0 mm/kasan/common.c:469 kasan_kmalloc mm/kasan/common.c:504 [inline] kasan_slab_alloc+0xf/0x20 mm/kasan/common.c:411 kmem_cache_alloc_node+0x144/0x710 mm/slab.c:3633 alloc_task_struct_node kernel/fork.c:158 [inline] dup_task_struct kernel/fork.c:845 [inline] copy_process+0x405b/0x8710 kernel/fork.c:1753 _do_fork+0x1a9/0x1170 kernel/fork.c:2227 kernel_thread+0x34/0x40 kernel/fork.c:2286 call_usermodehelper_exec_sync kernel/umh.c:134 [inline] call_usermodehelper_exec_work+0xcb/0x2f0 kernel/umh.c:186 process_one_work+0xd0c/0x1ce0 kernel/workqueue.c:2153 worker_thread+0x143/0x14a0 kernel/workqueue.c:2296 kthread+0x357/0x430 kernel/kthread.c:246 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:352 Freed by task 11180: save_stack+0x45/0xd0 mm/kasan/common.c:73 set_track mm/kasan/common.c:85 [inline] __kasan_slab_free+0x102/0x150 mm/kasan/common.c:458 kasan_slab_free+0xe/0x10 mm/kasan/common.c:466 __cache_free mm/slab.c:3487 [inline] kmem_cache_free+0x86/0x260 mm/slab.c:3749 free_task_struct kernel/fork.c:163 [inline] free_task+0x170/0x1f0 kernel/fork.c:458 __put_task_struct+0x2e0/0x630 kernel/fork.c:731 put_task_struct include/linux/sched/task.h:98 [inline] delayed_put_task_struct+0x2fd/0x4d0 kernel/exit.c:181 __rcu_reclaim kernel/rcu/rcu.h:240 [inline] rcu_do_batch kernel/rcu/tree.c:2452 [inline] invoke_rcu_callbacks kernel/rcu/tree.c:2773 [inline] rcu_process_callbacks+0xc4a/0x1680 kernel/rcu/tree.c:2754 __do_softirq+0x30b/0xb11 kernel/softirq.c:292 The buggy address belongs to the object at ffff8880a8944700 which belongs to the cache task_struct of size 6080 The buggy address is located 936 bytes inside of 6080-byte region [ffff8880a8944700, ffff8880a8945ec0) The buggy address belongs to the page: page:ffffea0002a25100 count:1 mapcount:0 mapping:ffff88821bc407c0 index:0x0 compound_mapcount: 0 flags: 0x1fffc0000010200(slab|head) raw: 01fffc0000010200 ffffea00019daf88 ffffea00023d9f88 ffff88821bc407c0 raw: 0000000000000000 ffff8880a8944700 0000000100000001 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8880a8944980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff8880a8944a00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb >ffff8880a8944a80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff8880a8944b00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff8880a8944b80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ==================================================================